Committed. Thank you for your review,
Claudiu
From: Andrew Burgess [andrew.burg...@embecosm.com]
Sent: Tuesday, June 12, 2018 9:31 PM
To: Claudiu Zissulescu
Cc: gcc-patches@gcc.gnu.org; francois.bed...@synopsys.com;
claz...@synopsys.comq; claziss
Subject: Re: [PATCH 2/6] [ARC] Allow EX instruction for ARC700 and ARCv2.
* Claudiu Zissulescu [2018-05-21 13:18:35 +0300]:
> From: claziss
>
> The EX instruction is base line for both architectures. Reflect this in the
> compiler.
>
> OK to apply?
Looks good.
Thanks,
Andrew
> Claudiu
>
> gcc/
> 2017-05-02 Claudiu Zissulescu
>
> * config/arc/arc.c (atomic_exchangesi): EX instruction is default
> for ARC700 and ARCv2.
> ---
> gcc/config/arc/atomic.md | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/arc/atomic.md b/gcc/config/arc/atomic.md
> index 13a2e34549c..4a56ca229cc 100644
> --- a/gcc/config/arc/atomic.md
> +++ b/gcc/config/arc/atomic.md
> @@ -120,7 +120,7 @@
> (match_operand:SI 1 "mem_noofs_operand" "")
> (match_operand:SI 2 "register_operand" "")
> (match_operand:SI 3 "const_int_operand" "")]
> - "TARGET_ATOMIC"
> + "TARGET_ARC700 || TARGET_V2"
> {
>enum memmodel model = (enum memmodel) INTVAL (operands[3]);
>
> --
> 2.14.3
>