glibc/sysdeps/powerpc
Joseph Myers 78b7adbaea Fix cmpli usage in power6 memset.
Building glibc for powerpc64 with recent (2.27.51.20161012) binutils,
with multi-arch enabled, I get the error:

../sysdeps/powerpc/powerpc64/power6/memset.S: Assembler messages:
../sysdeps/powerpc/powerpc64/power6/memset.S:254: Error: operand out of range (5 is not between 0 and 1)
../sysdeps/powerpc/powerpc64/power6/memset.S:254: Error: operand out of range (128 is not between 0 and 31)
../sysdeps/powerpc/powerpc64/power6/memset.S:254: Error: missing operand

Indeed, cmpli is documented as a four-operand instruction, and looking
at nearby code it seems likely cmpldi was intended.  This patch fixes
this powerpc64 code accordingly, and makes a corresponding change to
the powerpc32 code.

Tested for powerpc, powerpc64 and powerpc64le by Tulio Magno Quites
Machado Filho

	* sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
	instead of cmpli.
	* sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
	instead of cmpli.
2016-10-25 15:54:16 +00:00
..
bits Add femode_t functions. 2016-09-07 16:40:09 +00:00
fpu powerpc: Cleanup fenv_private.h 2016-10-21 16:40:03 -02:00
nofpu Add femode_t functions: powerpc. 2016-09-07 16:46:47 +00:00
nptl elf: Consolidate machine-agnostic DTV definitions in <dl-dtv.h> 2016-06-20 14:31:40 +02:00
power4
power5+/fpu
power6
power7/fpu
powerpc32 Fix cmpli usage in power6 memset. 2016-10-25 15:54:16 +00:00
powerpc64 Fix cmpli usage in power6 memset. 2016-10-25 15:54:16 +00:00
soft-fp
sys/platform powerpc: Installed-header hygiene 2016-10-04 10:54:40 -03:00
Implies
Makefile
Versions Add femode_t functions. 2016-09-07 16:40:09 +00:00
abort-instr.h
atomic-machine.h Remove atomic_compare_and_exchange_bool_rel. 2016-06-24 23:04:40 +03:00
dl-procinfo.c powerpc: Fix dl-procinfo HWCAP 2016-03-08 15:30:06 -03:00
dl-procinfo.h powerpc: Fix dl-procinfo HWCAP 2016-03-08 15:30:06 -03:00
dl-tls.c
dl-tls.h elf: Consolidate machine-agnostic DTV definitions in <dl-dtv.h> 2016-06-20 14:31:40 +02:00
ffs.c
fpu_control.h
gccframe.h
hwcapinfo.c
hwcapinfo.h
ifunc-sel.h powerpc: fix ifunc-sel.h fix asm constraints and clobber list 2016-08-03 00:22:44 +02:00
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
locale-defines.sym powerpc: strcasestr optmization for power8 2016-04-22 19:23:13 +05:30
longjmp.c
machine-gmon.h
math-tests.h Add tests for fegetexceptflag, fesetexceptflag. 2016-08-10 21:01:08 +00:00
memusage.h
mp_clz_tab.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
rtld-global-offsets.sym
sched_cpucount.c
sigjmp.c
sotruss-lib.c
stackinfo.h
strcat.c
sysdep.h
test-arith.c
test-arithf.c
test-get_hwcap-static.c
test-get_hwcap.c
test-gettimebase.c
tls-macros.h
tst-stack-align.h
tst-tlsopt-powerpc.c