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 3/6] [ARC] SYNC instruction is valid on all ARC cores.
* Claudiu Zissulescu <claz...@gmail.com> [2018-05-21 13:18:36 +0300]: > From: claziss <claz...@synopsys.com> > > The sync instruction is part of all ARC architectures. Fix this in the > compiler. > > Ok to apply? Looks good. Thanks, Andrew > Claudiu > > gcc/ > 2017-05-03 Claudiu Zissulescu <claz...@synopsys.com> > > * config/arc/builtins.def (SYNC): SYNC instruction is valid on all > ARC cores. > --- > gcc/config/arc/builtins.def | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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.14.3 >