s390.md ("*cmpdi_cct", [...]): Use %h instead of %c to print immediate operand.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 Feb 2005 14:40:55 +0000 (14:40 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Fri, 11 Feb 2005 14:40:55 +0000 (14:40 +0000)
* 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

gcc/ChangeLog
gcc/config/s390/s390.md

index a8098864340a7c26f2a9a7fcc3b359ae69b22251..851f8bbe10d600bcaf58400c48375aac9dbbff23 100644 (file)
@@ -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:
index 4b8b58ad45c0cb0b129e92cb614dcb0e649a916f..752d2944cda4ecc9cd7bb7b5c2a6ed1d092227d5 100644 (file)
   "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")])
   "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
    #"
   "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")])
 
   "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")])
 (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")])
 
   [(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))