From: Ulrich Weigand Date: Fri, 11 Feb 2005 14:40:55 +0000 (+0000) Subject: s390.md ("*cmpdi_cct", [...]): Use %h instead of %c to print immediate operand. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4f41b4e377b196203a195837357504523da5b63;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a8098864340..851f8bbe10d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-02-11 Ulrich Weigand + + * 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 * config/rs6000/t-rtems: diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 4b8b58ad45c..752d2944cda 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))