Skip to content
Commit bc35e22b authored by H.J. Lu's avatar H.J. Lu Committed by Sunil K Pandey
Browse files

x86-64: Fix SSE2 memcmp and SSSE3 memmove for x32



Clear the upper 32 bits in RDX (memory size) for x32 to fix

FAIL: string/tst-size_t-memcmp
FAIL: string/tst-size_t-memcmp-2
FAIL: string/tst-size_t-memcpy
FAIL: wcsmbs/tst-size_t-wmemcmp

on x32 introduced by

8804157a x86: Optimize memcmp SSE2 in memcmp.S
26b24783 x86: Reduce code size of mem{move|pcpy|cpy}-ssse3

Reviewed-by: default avatarNoah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 8ea20ee5)
parent 4d1841de
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