The prefix for CLFLUSHOPT is 0x66. It was right on amd64.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2015-10-30 09:53:33 +00:00
parent b0e787276b
commit 05f1048743

View File

@ -89,7 +89,7 @@ static __inline void
clflushopt(u_long addr)
{
__asm __volatile(".byte 66;clflush %0" : : "m" (*(char *)addr));
__asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr));
}
static __inline void