x86-64: Use notl in EVEX strcmp [BZ #28646]
commit4df1fa6ddc8925a75f3da644d5da3bb16eb33f02
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 3 Dec 2021 23:29:25 +0000 (3 15:29 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 4 Dec 2021 05:14:11 +0000 (3 21:14 -0800)
treed21bb734dffee2cff4502c8d9383f31f8960d58e
parent23c77f60181eb549f11ec2f913b4270af29eee38
x86-64: Use notl in EVEX strcmp [BZ #28646]

Must use notl %edi here as lower bits are for CHAR comparisons
potentially out of range thus can be 0 without indicating mismatch.
This fixes BZ #28646.

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
string/test-strcmp.c
sysdeps/x86_64/multiarch/strcmp-evex.S