* config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
authorHans-Peter Nilsson <hp@bitrange.com>
Sat, 8 Mar 2003 17:29:31 +0000 (17:29 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sat, 8 Mar 2003 17:29:31 +0000 (17:29 +0000)
From-SVN: r63997

gcc/ChangeLog
gcc/config/mmix/mmix.md

index 31eb46dc89a7d38d2c3c5c851d144f41a85a6b97..1538848fabfe82c132108121a846b65f63e7ffbf 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
+
 2003-03-08  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
index e3623bdaed05a7153d113eb0e6ca70bc93dd7794..8878c3f692c17b967f27094403dfa0f6d724277e 100644 (file)
 ;; we treat them as signed entities; see mmix-modes.def.  The following
 ;; expanders should cover all MODE_CC modes, and expand for this pattern.
 (define_insn "*movcc_expanded"
-  [(set (match_operand 0 "nonimmediate_operand" "=r,r,m")
-       (match_operand 1 "nonimmediate_operand"  "r,m,r"))]
+  [(set (match_operand 0 "nonimmediate_operand" "=r,x,r,r,m")
+       (match_operand 1 "nonimmediate_operand"  "r,r,x,m,r"))]
   "GET_MODE_CLASS (GET_MODE (operands[0])) == MODE_CC
    && GET_MODE_CLASS (GET_MODE (operands[1])) == MODE_CC"
   "@
    SET %0,%1
+   PUT %0,%1
+   GET %0,%1
    LDT %0,%1
    STT %1,%0")