Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Andrew Pinski
On Thu, Feb 9, 2017 at 10:00 AM, Daniel Walker wrote: > > Hi, > > > It looks like -mcpu=common (on the powerpc architecture) was removed. My > group is struggling to find a way to compile generic binaries for PowerPC. > We have been getting an LWSYNC instruction included in

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Arseny Solokha
> On 02/09/2017 11:06 AM, Jakub Jelinek wrote: >> On Thu, Feb 09, 2017 at 01:47:33PM -0500, David Edelsohn wrote: >>> Freescale did not implement the POWER architecture. Again, POWER is a >>> comment about the original IBM POWER architecture (RIOS processors) >>> and used in RISC System/6000

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Daniel Walker
On 02/09/2017 11:06 AM, Jakub Jelinek wrote: On Thu, Feb 09, 2017 at 01:47:33PM -0500, David Edelsohn wrote: Freescale did not implement the POWER architecture. Again, POWER is a comment about the original IBM POWER architecture (RIOS processors) and used in RISC System/6000 computers, not the

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Jakub Jelinek
On Thu, Feb 09, 2017 at 01:47:33PM -0500, David Edelsohn wrote: > Freescale did not implement the POWER architecture. Again, POWER is a > comment about the original IBM POWER architecture (RIOS processors) > and used in RISC System/6000 computers, not the recent POWER > processors called POWER4,

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread David Edelsohn
On Thu, Feb 9, 2017 at 1:16 PM, Daniel Walker wrote: > On 02/09/2017 10:08 AM, David Edelsohn wrote: >> >> On Thu, Feb 9, 2017 at 1:00 PM, Daniel Walker wrote: >>> >>> Hi, >>> >>> >>> It looks like -mcpu=common (on the powerpc architecture) was removed. My

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Daniel Walker
On 02/09/2017 10:08 AM, David Edelsohn wrote: On Thu, Feb 9, 2017 at 1:00 PM, Daniel Walker wrote: Hi, It looks like -mcpu=common (on the powerpc architecture) was removed. My group is struggling to find a way to compile generic binaries for PowerPC. We have been getting

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread David Edelsohn
On Thu, Feb 9, 2017 at 1:00 PM, Daniel Walker wrote: > > Hi, > > > It looks like -mcpu=common (on the powerpc architecture) was removed. My > group is struggling to find a way to compile generic binaries for PowerPC. > We have been getting an LWSYNC instruction included in the

powerpc -mcpu=common equivalent ?

2017-02-09 Thread Daniel Walker
Hi, It looks like -mcpu=common (on the powerpc architecture) was removed. My group is struggling to find a way to compile generic binaries for PowerPC. We have been getting an LWSYNC instruction included in the binaries, and some of our processors are getting a trap when this instructions