Skip to content
Commit 7835d611 authored by Noah Goldstein's avatar Noah Goldstein
Browse files

x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896]



In the overflow fallback strncmp-avx2-rtm and wcsncmp-avx2-rtm would
call strcmp-avx2 and wcscmp-avx2 respectively. This would have
not checks around vzeroupper and would trigger spurious
aborts. This commit fixes that.

test-strcmp, test-strncmp, test-wcscmp, and test-wcsncmp all pass on
AVX2 machines with and without RTM.
Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent 71b108d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment