diff options
| author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-02-15 08:18:15 -0600 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-18 14:59:47 -0800 |
| commit | 38e0d2479413ccdbc02b4c9e9e246eca31e956c9 (patch) | |
| tree | 860c4f9f34971aa4b10789b15a73925a2628553d /scripts/cpp | |
| parent | 04d60ce0f21ffe2a4add148cb37a1942dbad64e2 (diff) | |
| download | glibc-38e0d2479413ccdbc02b4c9e9e246eca31e956c9.tar.xz glibc-38e0d2479413ccdbc02b4c9e9e246eca31e956c9.zip | |
x86: Fallback {str|wcs}cmp RTM in the ncmp 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.
Co-authored-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit c6272098323153db373f2986c67786ea8c85f1cf)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions
