This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r227299 - in /trunk/gcc/testsuite: ChangeLog gc...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]