aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>1999-04-26 19:05:06 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>1999-04-26 19:05:06 +0000
commitccd63d90d14a15e87224d8fba54870ab78167a25 (patch)
tree879eefe6f3b086ddb8449bb5f64a5cdab6ec9c6d /gcc
parent3caee4a8ee44a285efab9a80cf765c05f3209eb5 (diff)
downloadgcc-ccd63d90d14a15e87224d8fba54870ab78167a25.zip
gcc-ccd63d90d14a15e87224d8fba54870ab78167a25.tar.gz
gcc-ccd63d90d14a15e87224d8fba54870ab78167a25.tar.bz2
* 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. From-SVN: r26660
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/c4x/c4x.md28
2 files changed, 21 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0075916..ccb0196 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md
index 0769556..a4cb7b0 100644
--- a/gcc/config/c4x/c4x.md
+++ b/gcc/config/c4x/c4x.md
@@ -2106,12 +2106,12 @@
(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")])
@@ -2147,12 +2147,12 @@
(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")])
@@ -2711,24 +2711,24 @@
(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"
@@ -3689,7 +3689,7 @@
(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)"
"@
@@ -3700,7 +3700,7 @@
(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)"
"@