Fix sparc so that reload doesn't try to load non-trivial vector consts directly.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 21:51:16 +0000 (21:51 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 21:51:16 +0000 (21:51 +0000)
commite76144f9de9fa236980d6e36a9e3c04b9fe2ce7d
tree6e88fe0134950aa4cc047f5a9e5be02f13167fdf
parent308d5709c3a9965b7cc7c17c7d5ac81c59f0d3a1
Fix sparc so that reload doesn't try to load non-trivial vector consts directly.

* config/sparc/predicates.md (input_operand): Disallow vector
constants other than 0 and -1.
* config/sparc/sparc.c (sparc_preferred_reload_class): Return
NO_REGS for vector constants other than 0 and -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180351 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/predicates.md
gcc/config/sparc/sparc.c