r181760 - in /trunk/gcc: ChangeLog config/mips/...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Sun Nov 27 10:09:00 GMT 2011
Author: rsandifo
Date: Sun Nov 27 10:09:15 2011
New Revision: 181760
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181760
Log:
gcc/
* hard-reg-set.h (target_hard_regs): Add x_accessible_reg_set
and x_operand_reg_set.
(accessible_reg_set, operand_reg_set): New macros.
* reginfo.c (init_reg_sets): Initialize accessible_reg_set and
operand_reg_set.
(saved_accessible_reg_set, saved_operand_reg_set): New variables.
(save_register_info): Save them.
(restore_register_info): Restore them.
(init_reg_sets_1): Limit operand_reg_set to accessible_reg_set.
Remove NO_REGS registers from operand_reg_set. Treat members
of operand_reg_set as fixed.
* recog.c (general_operand): Check operand_reg_set rather than
NO_REGS.
(register_operand, nonmemory_operand): Likewise.
* varasm.c (make_decl_rtl): Always use DECL_MODE as the mode of
register variables. Check accessible_reg_set and operand_reg_set.
* config/mips/mips.c (mips_conditional_register_usage): Remove
inaccessible register from accessible_reg_set, rather than just
making them fixed.
gcc/testsuite/
* gcc.target/mips/mips.exp (mips-dg-options): Make -mno-dsp
imply -mno-dspr2.
* gcc.target/mips/no-dsp-1.c: New test.
* gcc.target/mips/soft-float-1.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.target/mips/no-dsp-1.c
trunk/gcc/testsuite/gcc.target/mips/soft-float-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/mips.c
trunk/gcc/hard-reg-set.h
trunk/gcc/recog.c
trunk/gcc/reginfo.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/mips/mips.exp
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list