From 376c55a077a67b8427f07c4d93324934b3eb04ae Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Wed, 13 Jun 2018 10:43:19 +0200 Subject: [PATCH] [ARC] SYNC instruction is valid on all ARC cores. gcc/ 2017-05-03 Claudiu Zissulescu * config/arc/builtins.def (SYNC): SYNC instruction is valid on all ARC cores. From-SVN: r261540 --- gcc/ChangeLog | 5 +++++ gcc/config/arc/builtins.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d3c396190b..9e3e0805e4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-06-12 Claudiu Zissulescu + + * config/arc/builtins.def (SYNC): SYNC instruction is valid on all + ARC cores. + 2018-06-12 Claudiu Zissulescu * config/arc/arc.c (atomic_exchangesi): EX instruction is default diff --git a/gcc/config/arc/builtins.def b/gcc/config/arc/builtins.def index 349f39fab23..5171ab40842 100644 --- a/gcc/config/arc/builtins.def +++ b/gcc/config/arc/builtins.def @@ -34,7 +34,7 @@ /* Special builtins. */ DEF_BUILTIN (NOP, 0, void_ftype_void, nothing, 1) DEF_BUILTIN (RTIE, 0, void_ftype_void, rtie, 1) -DEF_BUILTIN (SYNC, 0, void_ftype_void, sync, TARGET_ARC700) +DEF_BUILTIN (SYNC, 0, void_ftype_void, sync, 1) DEF_BUILTIN (BRK, 0, void_ftype_void, brk, 1) DEF_BUILTIN (SWI, 0, void_ftype_void, swi, 1) DEF_BUILTIN (UNIMP_S, 0, void_ftype_void, unimp_s, !TARGET_ARC600_FAMILY) -- 2.30.2