summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/features.c b/features.c
index b7f39c1..c02cf86 100644
--- a/features.c
+++ b/features.c
@@ -469,7 +469,7 @@ static void test_longnop(void)
died = sigsetjmp(out, 1);
if (!died)
- asm volatile("nopl 0(%eax)");
+ asm volatile(".byte 0x0f,0x1f,0x00 /* nopl 0(%eax) */");
printf("Long NOPs supported: %s\n", died ? "no" : "yes");
}