spe.md (movv4hi_internal): Add alternative for easy vector constant loads.
* config/rs6000/spe.md (movv4hi_internal): Add alternative for easy vector constant loads. From-SVN: r118964
This commit is contained in:
parent
8609875306
commit
b9bb3235fe
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-11-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* config/rs6000/spe.md (movv4hi_internal): Add alternative for
|
||||
easy vector constant loads.
|
||||
|
||||
2006-11-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* config/rs6000/rs6000.h (TARGET_NO_LWSYNC): Define.
|
||||
|
|
|
@ -2392,15 +2392,16 @@
|
|||
"{ rs6000_emit_move (operands[0], operands[1], V4HImode); DONE; }")
|
||||
|
||||
(define_insn "*movv4hi_internal"
|
||||
[(set (match_operand:V4HI 0 "nonimmediate_operand" "=m,r,r")
|
||||
(match_operand:V4HI 1 "input_operand" "r,m,r"))]
|
||||
[(set (match_operand:V4HI 0 "nonimmediate_operand" "=m,r,r,r")
|
||||
(match_operand:V4HI 1 "input_operand" "r,m,r,W"))]
|
||||
"TARGET_SPE
|
||||
&& (gpc_reg_operand (operands[0], V4HImode)
|
||||
|| gpc_reg_operand (operands[1], V4HImode))"
|
||||
"@
|
||||
evstdd%X0 %1,%y0
|
||||
evldd%X1 %0,%y1
|
||||
evor %0,%1,%1"
|
||||
evor %0,%1,%1
|
||||
evxor %0,%0,%0"
|
||||
[(set_attr "type" "vecload")])
|
||||
|
||||
(define_expand "movv2sf"
|
||||
|
|
Loading…
Add table
Reference in a new issue