This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos)


One inconsistency was found in this patch (in _ZGVdN4v_cos
implementation), here is diff for fix:

diff --git a/0001-x86-64-vector-cos.patch b/0001-x86-64-vector-cos.patch_fixed
index b6d29fe..62fbc2b 100755
--- a/0001-x86-64-vector-cos.patch
+++ b/0001-x86-64-vector-cos.patch_fixed
@@ -435,7 +435,7 @@ index 0000000..b1725f7
 +        jne     1f
 +        call    __init_cpu_features
 +1:      leaq    _ZGVdN4v_cos_avx2(%rip), %rax
-+        testl   $bit_AVX2, __cpu_features+CPUID_OFFSET+index_AVX2(%rip)
++        testl   $bit_AVX2_Usable,
__cpu_features+FEATURE_OFFSET+index_AVX2_Usable(%rip)
 +        jz      2f
 +        ret
 +2:      leaq    _ZGVdN4v_cos_sse_wrapper(%rip), %rax


--
WBR,
Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]