diff options
author | Richard Henderson <rth@redhat.com> | 2002-06-10 14:04:29 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-06-10 14:04:29 -0700 |
commit | 135fd2d8604aa7c1cdaee281d420a922e1234aef (patch) | |
tree | 3b85492c9a1163d7ff67a7d58b74291e9cb30e6e /gcc/config | |
parent | 21442990fd351ab015ee7a5efba9d6f7e83af2c5 (diff) | |
download | gcc-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/config')
-rw-r--r-- | gcc/config/alpha/alpha.md | 8 |
1 files changed, 4 insertions, 4 deletions
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; |