* config/rs6000/spe.md ("*nabssf2_gpr"): New.

From-SVN: r70545
This commit is contained in:
Aldy Hernandez 2003-08-18 16:54:15 +00:00 committed by Aldy Hernandez
parent 0da021f5cc
commit fe9c3a97b8
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-08-18 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md ("*nabssf2_gpr"): New.
2003-08-18 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.md: Quote C code in braces. Remove use of

View File

@ -37,6 +37,13 @@
"efsabs %0,%1"
[(set_attr "type" "fpsimple")])
(define_insn "*nabssf2_gpr"
[(set (match_operand:SF 0 "gpc_reg_operand" "=r")
(neg:SF (abs:SF (match_operand:SF 1 "gpc_reg_operand" "r"))))]
"TARGET_HARD_FLOAT && !TARGET_FPRS"
"efsnabs %0,%1"
[(set_attr "type" "fpsimple")])
(define_insn "*addsf3_gpr"
[(set (match_operand:SF 0 "gpc_reg_operand" "=r")
(plus:SF (match_operand:SF 1 "gpc_reg_operand" "%r")