r227299 - in /trunk/gcc/testsuite: ChangeLog gc...
abennett@gcc.gnu.org
abennett@gcc.gnu.org
Fri Aug 28 13:35:00 GMT 2015
Author: abennett
Date: Fri Aug 28 13:35:01 2015
New Revision: 227299
URL: https://gcc.gnu.org/viewcvs?rev=227299&root=gcc&view=rev
Log:
MIPS: Add the lo register to the clobber list in the madd-8.c and msub-8.c testcases.
The lo register is not listed in the clobber list in the inline asm statement
for the madd-8.c and msub-8.c testcases. This means that when building for the
n64 ABI GCC is free to use the lo register instead of the stack when
saving/restoring the clobbered registers. Then then means that it decides to
use the msub/madd instruction to perform the "x - y * z" operation rather than
using mul; addu/subu which the test is looking for.
testsuite/
* gcc.target/mips/madd-8.c: Add lo register to clobber list.
* gcc.target/mips/msub-8.c: Ditto.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/mips/madd-8.c
trunk/gcc/testsuite/gcc.target/mips/msub-8.c
More information about the Gcc-cvs
mailing list