aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn F. Carr <jfc@mit.edu>1998-02-10 07:25:50 -0800
committerDavid S. Miller <davem@gcc.gnu.org>1998-02-10 07:25:50 -0800
commit74ccf2c2589dc13cb6b9f492c7f569f3d9f7ffc7 (patch)
tree98f365de8995c13b02fd76732a7006b498811c58
parented22c95e1a0bd5a19c8ee2e65de936f0d1daeec9 (diff)
downloadgcc-74ccf2c2589dc13cb6b9f492c7f569f3d9f7ffc7.zip
gcc-74ccf2c2589dc13cb6b9f492c7f569f3d9f7ffc7.tar.gz
gcc-74ccf2c2589dc13cb6b9f492c7f569f3d9f7ffc7.tar.bz2
For movdi_v8plus pattern, output stx on alternative 1 and fzero on alternative 8.
For movdi_v8plus pattern, output stx on alternative 1 and fzero on alternative 8. Fix from John Carr (jfc@mit.edu) From-SVN: r17834
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c664060..8e151a0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+1998-02-10 John F Carr <jfc@mit.edu>
+
+ * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
+ 1, fzero on alternative 8.
+
Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index cf3c6c5..55d9b50 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -2153,9 +2153,9 @@
|| operands[1] == const0_rtx)"
"*
{
- if (which_alternative == 0)
+ if (which_alternative == 1)
return \"stx %%g0,%0\";
- if (which_alternative == 7)
+ if (which_alternative == 8)
return \"fzero %0\";
if (FP_REG_P (operands[0]) || FP_REG_P (operands[1]))
return output_fp_move_double (operands);