S/390: z13 lcbb fix address operand.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 19 Feb 2016 10:28:45 +0000 (10:28 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 19 Feb 2016 10:28:45 +0000 (10:28 +0000)
gcc/ChangeLog:

2016-02-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.md: Add missing output modifier for operand 1
to print it as address properly.

From-SVN: r233549

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

index e9a0ee3..b2f2c15 100644 (file)
@@ -1,5 +1,10 @@
 2016-02-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
 
+       * config/s390/s390.md: Add missing output modifier for operand 1
+       to print it as address properly.
+
+2016-02-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
        * config/s390/2827.md: Rename ooo_* insn attributes to zEC12_*.
        * config/s390/2964.md: New file.
        * config/s390/s390.c (s390_get_sched_attrmask): Use the right set
index 9d76e61..55ae705 100644 (file)
 
 (define_insn "lcbb"
   [(set (match_operand:SI             0 "register_operand"  "=d")
-       (unspec:SI [(match_operand:SI 1 "address_operand" "ZQZR")
+       (unspec:SI [(match_operand    1 "address_operand" "ZQZR")
                    (match_operand:SI 2 "immediate_operand"  "C")] UNSPEC_LCBB))
    (clobber (reg:CC CC_REGNUM))]
   "TARGET_Z13"
-  "lcbb\t%0,%1,%b2"
+  "lcbb\t%0,%a1,%b2"
   [(set_attr "op_type" "VRX")])
 
 ; Handle -fsplit-stack.