From e2fd7ca74819ba4db334430582c163a3efeaada4 Mon Sep 17 00:00:00 2001 From: Sofiane Naci Date: Fri, 2 Aug 2013 13:15:05 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/arm/cortex-a53.md | 4 ++-- gcc/config/arm/types.md | 4 ++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ec0d3135d9..489e0c7a445 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-08-02 Sofiane Naci + + * 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 * 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 2f9107994c9..39a95286e08 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 f6bcd14edda..51dbc7c37d7 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,\ -- 2.30.2