]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2013-06-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 14:50:56 +0000 (14:50 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 14:50:56 +0000 (14:50 +0000)
* config/s390/s390.md (cpu_facility): Add cpu_zarch.
("*movmem_short", "*clrmem_short", "*cmpmem_short): Use cpu_zarch
for last alternative in the cpu_facility attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199819 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 39775f966f6a9f277356fd778a5aa58b3893e756..64dea90a0cbd69dbafcf8c140c9ae5b2a7f88816 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.md (cpu_facility): Add cpu_zarch.
+       ("*movmem_short", "*clrmem_short", "*cmpmem_short): Use cpu_zarch
+       for last alternative in the cpu_facility attribute.
+
 2013-06-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        PR target/56315
index 9279dfa971d1d05ee7a7949ed7d3dfc15938a6b9..0141b9813ef1e2b34cd142cfa53111f63f7726d1 100644 (file)
 (define_attr "cpu" "g5,g6,z900,z990,z9_109,z9_ec,z10,z196,zEC12"
   (const (symbol_ref "s390_tune_attr")))
 
-(define_attr "cpu_facility" "standard,ieee,zarch,longdisp,extimm,dfp,z10,z196,zEC12"
+(define_attr "cpu_facility"
+  "standard,ieee,zarch,cpu_zarch,longdisp,extimm,dfp,z10,z196,zEC12"
   (const_string "standard"))
 
 (define_attr "enabled" ""
              (match_test "TARGET_DFP"))
         (const_int 1)
 
+         (and (eq_attr "cpu_facility" "cpu_zarch")
+              (match_test "TARGET_CPU_ZARCH"))
+        (const_int 1)
+
          (and (eq_attr "cpu_facility" "z10")
               (match_test "TARGET_Z10"))
         (const_int 1)
   "(GET_MODE (operands[2]) == Pmode || GET_MODE (operands[2]) == VOIDmode)"
   "#"
   [(set_attr "type"         "cs")
-   (set_attr "cpu_facility" "*,*,z10,zarch")])
+   (set_attr "cpu_facility" "*,*,z10,cpu_zarch")])
 
 (define_split
   [(set (match_operand:BLK 0 "memory_operand" "")
   "(GET_MODE (operands[1]) == Pmode || GET_MODE (operands[1]) == VOIDmode)"
   "#"
   [(set_attr "type" "cs")
-   (set_attr "cpu_facility" "*,*,z10,zarch")])
+   (set_attr "cpu_facility" "*,*,z10,cpu_zarch")])
 
 (define_split
   [(set (match_operand:BLK 0 "memory_operand" "")
   "(GET_MODE (operands[2]) == Pmode || GET_MODE (operands[2]) == VOIDmode)"
   "#"
   [(set_attr "type" "cs")
-   (set_attr "cpu_facility" "*,*,z10,zarch")])
+   (set_attr "cpu_facility" "*,*,z10,cpu_zarch")])
 
 (define_split
   [(set (reg:CCU CC_REGNUM)