aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-02-18 14:19:15 -0600
committerH.J. Lu <hjl.tools@gmail.com>2022-02-18 14:59:54 -0800
commitd093b677c36ef4b360bf30483b68b95d9f0ad1d2 (patch)
treec2c2e309e8f7808c126dee5f8ac88753dc42748a /scripts/cpp
parent38e0d2479413ccdbc02b4c9e9e246eca31e956c9 (diff)
downloadglibc-d093b677c36ef4b360bf30483b68b95d9f0ad1d2.tar.xz
glibc-d093b677c36ef4b360bf30483b68b95d9f0ad1d2.zip
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: H.J. Lu <hjl.tools@gmail.com> (cherry picked from commit 7835d611af0854e69a0c71e3806f8fe379282d6f)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions