mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
One more change to XSAVE patch
This commit is contained in:
parent
8e2045f555
commit
1aae088a8a
@ -1,5 +1,9 @@
|
||||
2011-07-22 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
|
||||
OSXSAVE.
|
||||
(_dl_x86_64_save_sse): Likewise.
|
||||
|
||||
* crypt/crypt_util.c (__init_des_r): Optimize memset calls.
|
||||
|
||||
* crypt/crypt_util.c (__init_des_r): Add read barrier as well.
|
||||
|
@ -141,7 +141,8 @@ L(have_avx):
|
||||
movq %r11,%rbx # Restore rbx
|
||||
xorl %eax, %eax
|
||||
// AVX and XSAVE supported?
|
||||
testl $((1 << 28) | (1 << 27)), %ecx
|
||||
andl $((1 << 28) | (1 << 27)), %ecx
|
||||
cmpl $((1 << 28) | (1 << 27)), %ecx
|
||||
je 2f
|
||||
xorl %ecx, %ecx
|
||||
// Get XFEATURE_ENABLED_MASK
|
||||
@ -186,7 +187,8 @@ _dl_x86_64_save_sse:
|
||||
movq %r11,%rbx # Restore rbx
|
||||
xorl %eax, %eax
|
||||
// AVX and XSAVE supported?
|
||||
testl $((1 << 28) | (1 << 27)), %ecx
|
||||
andl $((1 << 28) | (1 << 27)), %ecx
|
||||
cmpl $((1 << 28) | (1 << 27)), %ecx
|
||||
je 2f
|
||||
xorl %ecx, %ecx
|
||||
// Get XFEATURE_ENABLED_MASK
|
||||
|
Loading…
Reference in New Issue
Block a user