Re: [PATCH 0/2] [ARC] Define __NPS400__ properly

2017-02-08 Thread Andrew Burgess
* Claudiu Zissulescu [2017-01-30 10:35:08 +]: > Hi, > > > > > Andrew Burgess (2): > > ARC: Make arc_selected_cpu global > > ARC: Better creation of __NPS400__ define > > > > gcc/ChangeLog | 31 > >

RE: [PATCH 0/2] [ARC] Define __NPS400__ properly

2017-01-30 Thread Claudiu Zissulescu
Hi, > > Andrew Burgess (2): > ARC: Make arc_selected_cpu global > ARC: Better creation of __NPS400__ define > > gcc/ChangeLog | 31 > gcc/config/arc/arc-arch.h | 50 ++ > --- > gcc/config/arc/arc-c.def

[PATCH 0/2] [ARC] Define __NPS400__ properly

2017-01-24 Thread Andrew Burgess
I noticed that the __NPS400__ define was not being created properly, when the toolchain is configured with --with-cpu=nps400 then the define will not be created (unless --mcpu=nps400 is also used). I thought the fix would be easy, __NPS400__ was being created in the CPP_SPEC, in contrast to