sparc.md (negtf2_notv9 split): Give NEG SFmode.
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Wed, 19 Aug 1998 09:02:26 +0000 (09:02 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Wed, 19 Aug 1998 09:02:26 +0000 (02:02 -0700)
* config/sparc/sparc.md (negtf2_notv9 split): Give NEG
SFmode.
(negsf2): Fix insn output string.

From-SVN: r21844

gcc/ChangeLog
gcc/config/sparc/sparc.md

index 35cc396..3958b85 100644 (file)
@@ -8,7 +8,9 @@ Wed Aug 19 07:08:15 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
        nonlocal_goto_receiver UNSPEC number.
        * config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
        making note of this dependency existing in sparc.c
-
+       (negtf2_notv9 split): Give NEG SFmode.
+       (negsf2): Fix insn output string.
+       
 Tue Aug 18 12:40:27 1998  Richard Henderson  <rth@cygnus.com>
 
        * c-common.c (decl_attributes): Issue an error if the argument
index 37c93d4..728da82 100644 (file)
    && GET_CODE (operands[1]) == REG
    && REGNO (operands[0]) != REGNO (operands[1])
    && reload_completed"
-  [(set (match_dup 2) (neg (match_dup 3)))
+  [(set (match_dup 2) (neg:SF (match_dup 3)))
    (set (match_dup 4) (match_dup 5))
    (set (match_dup 6) (match_dup 7))]
   "operands[2] = gen_rtx_raw_REG (SFmode, REGNO (operands[0]));
   [(set (match_operand:DF 0 "register_operand" "=e")
        (neg:DF (match_operand:DF 1 "register_operand" "e")))]
   "TARGET_FPU && TARGET_V9"
-  "fnegd\\t%0, %0"
+  "fnegd\\t%1, %0"
   [(set_attr "type" "fpmove")
    (set_attr "length" "1")])