* config/c4x/c4x.md (*cmpqf, *cmpqf_noov, *cmpqi_test,
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Mon, 26 Apr 1999 19:05:06 +0000 (19:05 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Mon, 26 Apr 1999 19:05:06 +0000 (19:05 +0000)
*cmpqi_test_noov): Remove ? modifier from constraints list.
(*smulqi3_highpart_clobber, *umulqi3_highpart_clobber): Swap
output strings to match new constraint ordering.

From-SVN: r26660

gcc/ChangeLog
gcc/config/c4x/c4x.md

index 007591615f17522662e7a35b567e21af525d2840..ccb0196c2d8c122ca949044b8da77507233adaa8 100644 (file)
@@ -1,3 +1,10 @@
+Tue Apr 27 13:58:23 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.md (*cmpqf, *cmpqf_noov, *cmpqi_test, 
+       *cmpqi_test_noov): Remove ? modifier from constraints list.
+       (*smulqi3_highpart_clobber, *umulqi3_highpart_clobber): Swap
+       output strings to match new constraint ordering.
+
 1999-04-26 19:16 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
 
        * cpphash.c (dump_definition): New function.
index 0769556ced832c68b5d292cb7bda7728646c860d..a4cb7b0900af9652a1f203dd17076143630af8bb 100644 (file)
    (clobber (reg:CC_NOOV 21))]
   "! TARGET_C3X && valid_operands (MULT, operands, QImode)"
   "@
+   mpyshi\\t%2,%0
    mpyshi3\\t%2,%1,%0
    mpyshi3\\t%2,%1,%0
    mpyshi\\t%2,%0
    mpyshi3\\t%2,%1,%0
-   mpyshi3\\t%2,%1,%0
-   mpyshi\\t%2,%0"
+   mpyshi3\\t%2,%1,%0"
   [(set_attr "type" "binarycc,binarycc,binarycc,binary,binary,binary")
    (set_attr "data" "int16,int16,int16,int16,int16,int16")])
 
    (clobber (reg:CC_NOOV 21))]
   "! TARGET_C3X && valid_operands (MULT, operands, QImode)"
   "@
+   mpyuhi\\t%2,%0
    mpyuhi3\\t%2,%1,%0
    mpyuhi3\\t%2,%1,%0
    mpyuhi\\t%2,%0
    mpyuhi3\\t%2,%1,%0
-   mpyuhi3\\t%2,%1,%0
-   mpyuhi\\t%2,%0"
+   mpyuhi3\\t%2,%1,%0"
   [(set_attr "type" "binarycc,binarycc,binarycc,binary,binary,binary")
    (set_attr "data" "uint16,uint16,uint16,uint16,uint16,uint16")])
 
 
 (define_insn "*cmpqi_test"
   [(set (reg:CC 21)
-        (compare:CC (match_operand:QI 0 "src_operand" "rR,?rS<>,r")
-                    (match_operand:QI 1 "src_operand" "JR,rS<>,rIm")))]
+        (compare:CC (match_operand:QI 0 "src_operand" "r,rR,rS<>")
+                    (match_operand:QI 1 "src_operand" "rIm,JR,rS<>")))]
   "valid_operands (COMPARE, operands, QImode)"
   "@
+   cmpi\\t%1,%0
    cmpi3\\t%1,%0
-   cmpi3\\t%1,%0
-   cmpi\\t%1,%0"
+   cmpi3\\t%1,%0"
   [(set_attr "type" "compare,compare,compare")])
 
 (define_insn "*cmpqi_test_noov"
   [(set (reg:CC_NOOV 21)
-        (compare:CC_NOOV (match_operand:QI 0 "src_operand" "rR,?rS<>,r")
-                         (match_operand:QI 1 "src_operand" "JR,rS<>,rIm")))]
+        (compare:CC_NOOV (match_operand:QI 0 "src_operand" "r,rR,rS<>")
+                         (match_operand:QI 1 "src_operand" "rIm,JR,rS<>")))]
   "valid_operands (COMPARE, operands, QImode)"
   "@
+   cmpi\\t%1,%0
    cmpi3\\t%1,%0
-   cmpi3\\t%1,%0
-   cmpi\\t%1,%0"
+   cmpi3\\t%1,%0"
   [(set_attr "type" "compare,compare,compare")])
 
 (define_expand "udivqi3"
 
 (define_insn "*cmpqf"
   [(set (reg:CC 21)
-        (compare:CC (match_operand:QF 0 "src_operand" "fR,?fS<>,f")
+        (compare:CC (match_operand:QF 0 "src_operand" "f,fR,fS<>")
                     (match_operand:QF 1 "src_operand" "fHm,R,fS<>")))]
   "valid_operands (COMPARE, operands, QFmode)"
   "@
 
 (define_insn "*cmpqf_noov"
   [(set (reg:CC_NOOV 21)
-        (compare:CC_NOOV (match_operand:QF 0 "src_operand" "fR,?fS<>,f")
+        (compare:CC_NOOV (match_operand:QF 0 "src_operand" "f,fR,fS<>")
                          (match_operand:QF 1 "src_operand" "fHm,R,fS<>")))]
   "valid_operands (COMPARE, operands, QFmode)"
   "@