diff options
author | Sofiane Naci <sofiane.naci@arm.com> | 2013-08-02 13:15:05 +0000 |
---|---|---|
committer | Sofiane Naci <sofiane@gcc.gnu.org> | 2013-08-02 13:15:05 +0000 |
commit | e2fd7ca74819ba4db334430582c163a3efeaada4 (patch) | |
tree | a2f91def79eb5fdecd9956dddfcf76464a4d5e40 /gcc | |
parent | f43b3c4b224a90fc7ee8dc6f52fa56307f1e8454 (diff) | |
download | gcc-e2fd7ca74819ba4db334430582c163a3efeaada4.zip gcc-e2fd7ca74819ba4db334430582c163a3efeaada4.tar.gz gcc-e2fd7ca74819ba4db334430582c163a3efeaada4.tar.bz2 |
types.md (define_attr "type"): Add "load_acq" and "store_rel".
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/arm/cortex-a53.md | 4 | ||||
-rw-r--r-- | gcc/config/arm/types.md | 4 |
3 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ec0d31..489e0c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/arm/cortex-a53.md b/gcc/config/arm/cortex-a53.md index 2f91079..39a9528 100644 --- a/gcc/config/arm/cortex-a53.md +++ b/gcc/config/arm/cortex-a53.md @@ -130,12 +130,12 @@ (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 diff --git a/gcc/config/arm/types.md b/gcc/config/arm/types.md index f6bcd14..51dbc7c 100644 --- a/gcc/config/arm/types.md +++ b/gcc/config/arm/types.md @@ -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. @@ -105,6 +106,7 @@ ; 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. @@ -221,6 +223,7 @@ fmacs,\ fmuld,\ fmuls,\ + load_acq,\ load_byte,\ load1,\ load2,\ @@ -265,6 +268,7 @@ smulxy,\ smusd,\ smusdx,\ + store_rel,\ store1,\ store2,\ store3,\ |