alpha.md (builtin_zap): Fix thinkos expanding mask.
authorRichard Henderson <rth@redhat.com>
Mon, 10 Jun 2002 21:04:29 +0000 (14:04 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 10 Jun 2002 21:04:29 +0000 (14:04 -0700)
        * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask.
        (builtin_zapnot): Likewise.

From-SVN: r54454

gcc/ChangeLog
gcc/config/alpha/alpha.md

index 66b9e1a6d68aff4c4b9f1569e9584e3ea8f5c97f..4d085336386f7058c392079d0e2f323aa57c2ab5 100644 (file)
@@ -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
index 39bdd24533ed4dfab9817614c35033294075e1e2..b42f639e307abe89bdc6884b5baa6ff287732bb0 100644 (file)
@@ -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;