PATCH: Fix a typo in AVX check
H.J. Lu
hongjiu.lu@intel.com
Sat Jul 23 17:53:00 GMT 2011
2011-07-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix a
typo in AVX check.
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 4aa63ee..45a2dc2 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -143,7 +143,7 @@ L(have_avx):
// AVX and XSAVE supported?
andl $((1 << 28) | (1 << 27)), %ecx
cmpl $((1 << 28) | (1 << 27)), %ecx
- je 2f
+ jne 2f
xorl %ecx, %ecx
// Get XFEATURE_ENABLED_MASK
xgetbv
@@ -189,7 +189,7 @@ _dl_x86_64_save_sse:
// AVX and XSAVE supported?
andl $((1 << 28) | (1 << 27)), %ecx
cmpl $((1 << 28) | (1 << 27)), %ecx
- je 2f
+ jne 2f
xorl %ecx, %ecx
// Get XFEATURE_ENABLED_MASK
xgetbv
More information about the Libc-alpha
mailing list