From 135fd2d8604aa7c1cdaee281d420a922e1234aef Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 10 Jun 2002 14:04:29 -0700 Subject: [PATCH] alpha.md (builtin_zap): Fix thinkos expanding mask. * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask. (builtin_zapnot): Likewise. From-SVN: r54454 --- gcc/ChangeLog | 8 ++++++++ gcc/config/alpha/alpha.md | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66b9e1a6d68..4d085336386 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-06-10 Richard Henderson + + * 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 * 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 39bdd24533e..b42f639e307 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; -- 2.30.2