glibc/sysdeps/powerpc/powerpc64/le/power9
Matheus Castanho 0218463dd8 powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197]
__strncpy_power9 initializes VR 18 with zeroes to be used throughout the
code, including when zero-padding the destination string. However, the
v18 reference was mistakenly being used for stxv and stxvl, which take a
VSX vector as operand. The code ended up using the uninitialized VSR 18
register by mistake.

Both occurrences have been changed to use the proper VSX number for VR 18
(i.e. VSR 50).

Tested on powerpc, powerpc64 and powerpc64le.

Signed-off-by: Kewen Lin <linkw@gcc.gnu.org>
2022-06-07 15:07:25 -03:00
..
fpu powerpc64le: refactor e_sqrtf128.c 2020-06-16 13:50:44 -05:00
multiarch
Implies
Makeconfig powerpc64le: ifunc select *f128 routines in multiarch mode 2020-11-30 09:56:14 -06:00
rawmemchr.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
rtld-strcmp.S powerpc64le/power9: guard power9 strcmp against rtld usage [BZ# 25905] 2020-05-04 13:27:31 -05:00
rtld-strlen.S powerpc64le: add optimized strlen for P9 2020-06-05 15:30:00 -05:00
stpcpy.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
stpncpy.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strcmp.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strcpy.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strlen.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strncmp.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strncpy.S powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] 2022-06-07 15:07:25 -03:00