r179214 - in /trunk/gcc: ChangeLog config/sparc...
davem@gcc.gnu.org
davem@gcc.gnu.org
Mon Sep 26 20:21:00 GMT 2011
Author: davem
Date: Mon Sep 26 20:21:19 2011
New Revision: 179214
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179214
Log:
Fix sparc %gsr write elimination and add a testcase.
gcc/
* config/sparc/sparc.c (sparc_conditional_register_usage): When VIS
is enabled, mark %gsr as global.
* config/sparc/sparc.md (UNSPEC_WRGSR): Delete.
(wrgsr_vis, *wrgsr_sp64, wrgsr_v8plus): Don't wrap in an unspec.
gcc/testsuite/
* gcc.target/sparc/wrgsr.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/sparc/wrgsr.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/sparc.c
trunk/gcc/config/sparc/sparc.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list