]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[ARC] Allow EX instruction unconditionally
authorclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jun 2018 08:42:57 +0000 (08:42 +0000)
committerclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jun 2018 08:42:57 +0000 (08:42 +0000)
gcc/
2017-05-02  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (atomic_exchangesi): EX instruction is default
for ARC700 and ARCv2.

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

gcc/ChangeLog
gcc/config/arc/atomic.md

index 93e02df51b816809811db63787b1bd16750a115d..5d3c396190bc6c5e3b8e26f342b482a900768436 100644 (file)
@@ -1,3 +1,8 @@
+2018-06-12  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/arc/arc.c (atomic_exchangesi): EX instruction is default
+       for ARC700 and ARCv2.
+
 2018-06-13  Chenghua Xu <paul.hua.gm@gmail.com>
 
        PR target/86076
index 13a2e34549c04661a298ef471d1900aaf5cbcbfc..4a56ca229cc5e1c0204983f924e7ac2e71eea067 100644 (file)
    (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]);