aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>1998-08-19 09:02:26 +0000
committerDavid S. Miller <davem@gcc.gnu.org>1998-08-19 02:02:26 -0700
commit031fec007065aa597c47b5e251cf2ed9a69d83aa (patch)
treec44546aa14cb21e00c2e6c26ea646c646748d641 /gcc/config/sparc
parentb4b68717b6142a0cd7b5794ace408f5cd92e9b87 (diff)
downloadgcc-031fec007065aa597c47b5e251cf2ed9a69d83aa.zip
gcc-031fec007065aa597c47b5e251cf2ed9a69d83aa.tar.gz
gcc-031fec007065aa597c47b5e251cf2ed9a69d83aa.tar.bz2
sparc.md (negtf2_notv9 split): Give NEG SFmode.
* config/sparc/sparc.md (negtf2_notv9 split): Give NEG SFmode. (negsf2): Fix insn output string. From-SVN: r21844
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index 37c93d4..728da82 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -6424,7 +6424,7 @@
&& 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]));
@@ -6497,7 +6497,7 @@
[(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")])