diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-05-14 03:41:22 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-05-14 03:41:35 -0700 |
commit | e322ec3282648e9f05265d4636719ded754a1c3c (patch) | |
tree | 9b6a1c1eb2000569609a7e2a68d387f98f74edea /sysdeps/x86_64 | |
parent | 0937e209a7080d52cf7e5a6605532ea081a542ff (diff) | |
download | glibc-e322ec3282648e9f05265d4636719ded754a1c3c.tar.gz glibc-e322ec3282648e9f05265d4636719ded754a1c3c.tar.xz glibc-e322ec3282648e9f05265d4636719ded754a1c3c.zip |
x86-64: Remove the unnecessary testl in strlen-avx2.S
Since the result of testl is never used, this patch removes it. Tested on 64-bit AVX2 machine. * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the unnecessary testl.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/multiarch/strlen-avx2.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strlen-avx2.S b/sysdeps/x86_64/multiarch/strlen-avx2.S index 85d7259746..fb2418cddc 100644 --- a/sysdeps/x86_64/multiarch/strlen-avx2.S +++ b/sysdeps/x86_64/multiarch/strlen-avx2.S @@ -378,7 +378,6 @@ L(4x_vec_end): jnz L(first_vec_x2) VPCMPEQ %ymm4, %ymm0, %ymm4 vpmovmskb %ymm4, %eax - testl %eax, %eax L(first_vec_x3): tzcntl %eax, %eax addq $(VEC_SIZE * 3), %rax |