types.md (define_attr "type"): Add "load_acq" and "store_rel".
authorSofiane Naci <sofiane.naci@arm.com>
Fri, 2 Aug 2013 13:15:05 +0000 (13:15 +0000)
committerSofiane Naci <sofiane@gcc.gnu.org>
Fri, 2 Aug 2013 13:15:05 +0000 (13:15 +0000)
* config/arm/types.md (define_attr "type"): Add "load_acq" and "store_rel".
* config/arm/cortex-a53.md (cortex_a53_load1): Update for attribute
changes.
(cortex_a53_store1): Likewise.

From-SVN: r201436

gcc/ChangeLog
gcc/config/arm/cortex-a53.md
gcc/config/arm/types.md

index 7ec0d31..489e0c7 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-02  Sofiane Naci  <sofiane.naci@arm.com>
+
+       * config/arm/types.md (define_attr "type"): Add "load_acq" and "store_rel".
+       * config/arm/cortex-a53.md (cortex_a53_load1): Update for attribute
+       changes.
+       (cortex_a53_store1): Likewise.
+
 2013-08-01  Jan Hubicka  <jh@suse.cz>
 
        * ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are
index 2f91079..39a9528 100644 (file)
 
 (define_insn_reservation "cortex_a53_load1" 3
   (and (eq_attr "tune" "cortexa53")
-       (eq_attr "type" "load_byte,load1"))
+       (eq_attr "type" "load_byte,load1,load_acq"))
   "cortex_a53_slot_any+cortex_a53_ls")
 
 (define_insn_reservation "cortex_a53_store1" 2
   (and (eq_attr "tune" "cortexa53")
-       (eq_attr "type" "store1"))
+       (eq_attr "type" "store1,store_rel"))
   "cortex_a53_slot_any+cortex_a53_ls+cortex_a53_store")
 
 (define_insn_reservation "cortex_a53_load2" 3
index f6bcd14..51dbc7c 100644 (file)
@@ -57,6 +57,7 @@
 ; float              floating point arithmetic operation.
 ; fmac[d,s]          double/single floating point multiply-accumulate.
 ; fmul[d,s]          double/single floating point multiply.
+; load_acq           load-acquire.
 ; load_byte          load byte(s) from memory to arm registers.
 ; load1              load 1 word from memory to arm registers.
 ; load2              load 2 words from memory to arm registers.
 ; smulxy             signed multiply, 16x16-bit, 32-bit accumulate.
 ; smusd              signed dual multiply subtract.
 ; smusdx             signed dual multiply subtract reverse.
+; store_rel          store-release.
 ; store1             store 1 word to memory from arm registers.
 ; store2             store 2 words to memory from arm registers.
 ; store3             store 3 words to memory from arm registers.
   fmacs,\
   fmuld,\
   fmuls,\
+  load_acq,\
   load_byte,\
   load1,\
   load2,\
   smulxy,\
   smusd,\
   smusdx,\
+  store_rel,\
   store1,\
   store2,\
   store3,\