This patch adds 2 tests to the testsuite to make sure the -mupper-regs-df and -mupper-regs-sf options work, and you can generate add, subtract, multiply, divide, and compare instructions on scalars living in the Altivec registers. I also fixed the p8vector-ldst.c test, which has been broken for some time (this test was a preliminary test for the upper regs support). Assuming the previous patches are checked in, is this patch ok to install? 2014-11-11 Michael Meissner * gcc.target/powerpc/p8vector-ldst.c: Rewrite to use 40 live floating point variables instead of using asm to test allocating values to the Altivec registers. * gcc.target/powerpc/upper-regs-sf.c: New -mupper-regs-sf and -mupper-regs-df tests. * gcc.target/powerpc/upper-regs-df.c: Likewise. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797