aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/s390/s390.md12
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))