From 74ccf2c2589dc13cb6b9f492c7f569f3d9f7ffc7 Mon Sep 17 00:00:00 2001 From: "John F. Carr" Date: Tue, 10 Feb 1998 07:25:50 -0800 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6640604fad..8e151a0a051 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-02-10 John F Carr + + * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative + 1, fzero on alternative 8. + Tue Feb 10 09:02:19 1998 Richard Kenner * 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 cf3c6c524f9..55d9b50c42e 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); -- 2.30.2