]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/rs6000/spe.md ("*nabssf2_gpr"): New.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Aug 2003 16:54:15 +0000 (16:54 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Aug 2003 16:54:15 +0000 (16:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70545 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/spe.md

index aa20ad37bfe56447c034c909666e90f4c025c3a5..43892408976ee1d549eda9c61738f6cd8e96615d 100644 (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
index 82ab17be1275035e4fd4e9c65230bcc4a2808487..becdaa42bb28227c40d78e4c813a1aff948794f8 100644 (file)
   "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")