diff options
Diffstat (limited to 'src/hwfeatures.c')
-rw-r--r-- | src/hwfeatures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwfeatures.c b/src/hwfeatures.c index 2b3bb2cb..c3567989 100644 --- a/src/hwfeatures.c +++ b/src/hwfeatures.c @@ -149,7 +149,7 @@ detect_ia32_gnuc (void) "movl $1, %%eax\n\t" /* Get CPU info and feature flags. */ "cpuid\n" "popl %%ebx\n\t" /* Restore GOT register. */ - "cmpl $0x02000000, %%ecx\n\t" /* Test bit 25. */ + "testl $0x02000000, %%ecx\n\t" /* Test bit 25. */ "jz .Lno_aes%=\n\t" /* No AES support. */ "orl $256, %0\n" /* Set our HWF_INTEL_AES bit. */ |