diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2011-09-07 21:38:23 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-07 21:38:23 -0400 |
commit | 08a300c956feeca7ccb9081f88701229da8e25c5 (patch) | |
tree | 084bcb8e963474d8d36583e0be671fefefc1f0f4 /sysdeps | |
parent | 9e5c9dcd57e80cd56c47fd2bf11de8d167176a0e (diff) | |
download | glibc-08a300c956feeca7ccb9081f88701229da8e25c5.zip glibc-08a300c956feeca7ccb9081f88701229da8e25c5.tar.gz glibc-08a300c956feeca7ccb9081f88701229da8e25c5.tar.bz2 |
Simplify AVX check
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/dl-trampoline.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S index 258c609..6523c92 100644 --- a/sysdeps/x86_64/dl-trampoline.S +++ b/sysdeps/x86_64/dl-trampoline.S @@ -149,10 +149,7 @@ L(have_avx): // Get XFEATURE_ENABLED_MASK xgetbv andl $0x6, %eax - cmpl $0x6, %eax - // Nonzero if SSE and AVX state saving is enabled. - sete %al -2: leal -1(%eax,%eax), %eax +2: subl $0x5, %eax movl %eax, L(have_avx)(%rip) cmpl $0, %eax |