aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-06-10 14:04:29 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-06-10 14:04:29 -0700
commit135fd2d8604aa7c1cdaee281d420a922e1234aef (patch)
tree3b85492c9a1163d7ff67a7d58b74291e9cb30e6e /gcc
parent21442990fd351ab015ee7a5efba9d6f7e83af2c5 (diff)
downloadgcc-135fd2d8604aa7c1cdaee281d420a922e1234aef.zip
gcc-135fd2d8604aa7c1cdaee281d420a922e1234aef.tar.gz
gcc-135fd2d8604aa7c1cdaee281d420a922e1234aef.tar.bz2
alpha.md (builtin_zap): Fix thinkos expanding mask.
* config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask. (builtin_zapnot): Likewise. From-SVN: r54454
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/alpha/alpha.md8
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66b9e1a..4d085336 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2002-06-10 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask.
+ (builtin_zapnot): Likewise.
+
+ * config/alpha/ev5.md: Don't combine shift and mvi insns in one
+ reservation.
+
2002-06-10 Eric Christopher <echristo@redhat.com>
* config/i386/i386.c (ix86_osf_output_function_prologue): Remove
diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md
index 39bdd24..b42f639 100644
--- a/gcc/config/alpha/alpha.md
+++ b/gcc/config/alpha/alpha.md
@@ -7301,12 +7301,12 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi,none"
{
rtx mask = alpha_expand_zap_mask (INTVAL (operands[2]));
- if (operands[1] == const0_rtx)
+ if (mask == const0_rtx)
{
emit_move_insn (operands[0], const0_rtx);
DONE;
}
- if (operands[1] == constm1_rtx)
+ if (mask == constm1_rtx)
{
emit_move_insn (operands[0], operands[1]);
DONE;
@@ -7394,12 +7394,12 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi,none"
{
rtx mask = alpha_expand_zap_mask (~ INTVAL (operands[2]));
- if (operands[1] == const0_rtx)
+ if (mask == const0_rtx)
{
emit_move_insn (operands[0], const0_rtx);
DONE;
}
- if (operands[1] == constm1_rtx)
+ if (mask == constm1_rtx)
{
emit_move_insn (operands[0], operands[1]);
DONE;