diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2005-02-11 14:40:55 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2005-02-11 14:40:55 +0000 |
commit | f4f41b4e377b196203a195837357504523da5b63 (patch) | |
tree | ea111993004952202c2567a41d618136a67e516c /gcc | |
parent | f203217e35af2dfe0eaacfef212f44546ff0ae89 (diff) | |
download | gcc-f4f41b4e377b196203a195837357504523da5b63.zip gcc-f4f41b4e377b196203a195837357504523da5b63.tar.gz gcc-f4f41b4e377b196203a195837357504523da5b63.tar.bz2 |
s390.md ("*cmpdi_cct", [...]): Use %h instead of %c to print immediate operand.
* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs",
"*cmpsi_ccs"): Use %h instead of %c to print immediate operand.
("*zero_extendhisi2_64", "*zero_extendhisi2_31"): Choose based on
TARGET_ZARCH instead of TARGET_64BIT.
From-SVN: r94877
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/s390/s390.md | 12 |
2 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a809886..851f8bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-02-11 Ulrich Weigand <uweigand@de.ibm.com> + + * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", + "*cmpsi_ccs"): Use %h instead of %c to print immediate operand. + ("*zero_extendhisi2_64", "*zero_extendhisi2_31"): Choose based on + TARGET_ZARCH instead of TARGET_64BIT. + 2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org> * config/rs6000/t-rtems: diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 4b8b58a..752d294 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -514,7 +514,7 @@ "s390_match_ccmode (insn, CCTmode) && TARGET_64BIT" "@ cgr\t%0,%1 - cghi\t%0,%c1 + cghi\t%0,%h1 cg\t%0,%1 #" [(set_attr "op_type" "RRE,RI,RXY,SS")]) @@ -526,7 +526,7 @@ "s390_match_ccmode (insn, CCTmode)" "@ cr\t%0,%1 - chi\t%0,%c1 + chi\t%0,%h1 c\t%0,%1 cy\t%0,%1 #" @@ -552,7 +552,7 @@ "s390_match_ccmode(insn, CCSmode) && TARGET_64BIT" "@ cgr\t%0,%1 - cghi\t%0,%c1 + cghi\t%0,%h1 cg\t%0,%1" [(set_attr "op_type" "RRE,RI,RXY")]) @@ -573,7 +573,7 @@ "s390_match_ccmode(insn, CCSmode)" "@ cr\t%0,%1 - chi\t%0,%c1 + chi\t%0,%h1 c\t%0,%1 cy\t%0,%1" [(set_attr "op_type" "RR,RI,RX,RXY")]) @@ -2776,7 +2776,7 @@ (define_insn "*zero_extendhisi2_64" [(set (match_operand:SI 0 "register_operand" "=d") (zero_extend:SI (match_operand:HI 1 "memory_operand" "m")))] - "TARGET_64BIT" + "TARGET_ZARCH" "llgh\t%0,%1" [(set_attr "op_type" "RXY")]) @@ -2784,7 +2784,7 @@ [(set (match_operand:SI 0 "register_operand" "=&d") (zero_extend:SI (match_operand:HI 1 "s_operand" "QS"))) (clobber (reg:CC 33))] - "!TARGET_64BIT" + "!TARGET_ZARCH" "#" "&& reload_completed" [(set (match_dup 0) (const_int 0)) |