Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-14 Thread Andreas Färber
Am 14.02.2014 14:44, schrieb Fabien Chouteau: > On 02/14/2014 09:41 AM, Sebastian Huber wrote: >> On 2014-02-13 16:50, Fabien Chouteau wrote: >>> >>> This ASI 0x80 is really defined nowhere in Leon3 not even in the sources :) >>> Maybe there's a bug in binutils... Did you try to run this program on

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-14 Thread Fabien Chouteau
On 02/14/2014 09:41 AM, Sebastian Huber wrote: > On 2014-02-13 16:50, Fabien Chouteau wrote: >> >> This ASI 0x80 is really defined nowhere in Leon3 not even in the sources :) >> Maybe there's a bug in binutils... Did you try to run this program on a real >> board? > > Yes, I tested it on a NGMP b

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-14 Thread Sebastian Huber
On 2014-02-13 16:50, Fabien Chouteau wrote: On 02/13/2014 03:55 PM, Fabien Chouteau wrote: On 02/13/2014 02:00 PM, Sebastian Huber wrote: On 2014-02-13 13:01, Fabien Chouteau wrote: On 02/13/2014 10:52 AM, Sebastian Huber wrote: The LEON3 processor has support for the CASA instruction which i

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-13 Thread Fabien Chouteau
On 02/13/2014 03:55 PM, Fabien Chouteau wrote: > On 02/13/2014 02:00 PM, Sebastian Huber wrote: >> On 2014-02-13 13:01, Fabien Chouteau wrote: >>> On 02/13/2014 10:52 AM, Sebastian Huber wrote: The LEON3 processor has support for the CASA instruction which is normally only available for S

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-13 Thread Fabien Chouteau
On 02/13/2014 02:00 PM, Sebastian Huber wrote: > On 2014-02-13 13:01, Fabien Chouteau wrote: >> On 02/13/2014 10:52 AM, Sebastian Huber wrote: >>> The LEON3 processor has support for the CASA instruction which is >>> normally only available for SPARC V9 processors. Binutils 2.24 >>> and GCC 4.9 wi

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-13 Thread Sebastian Huber
On 2014-02-13 13:01, Fabien Chouteau wrote: On 02/13/2014 10:52 AM, Sebastian Huber wrote: The LEON3 processor has support for the CASA instruction which is normally only available for SPARC V9 processors. Binutils 2.24 and GCC 4.9 will support this instruction for LEON3. GCC uses it to genera

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-13 Thread Fabien Chouteau
On 02/13/2014 10:52 AM, Sebastian Huber wrote: > The LEON3 processor has support for the CASA instruction which is > normally only available for SPARC V9 processors. Binutils 2.24 > and GCC 4.9 will support this instruction for LEON3. GCC uses it to > generate C11 atomic operations. > > The CAS

[Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2014-02-13 Thread Sebastian Huber
The LEON3 processor has support for the CASA instruction which is normally only available for SPARC V9 processors. Binutils 2.24 and GCC 4.9 will support this instruction for LEON3. GCC uses it to generate C11 atomic operations. The CAS synthetic instruction uses an ASI of 0x80. If TARGET_SPARC

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2013-12-10 Thread Fabien Chouteau
On 12/10/2013 09:09 AM, Sebastian Huber wrote: > Hello, > > would someone please have a look at this. > I'm sorry Sebastian I don't have time to look at it. Maybe in January...

Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2013-12-10 Thread Sebastian Huber
Hello, would someone please have a look at this. On 2013-11-28 11:27, Sebastian Huber wrote: The LEON3 processor has support for the CASA instruction which is normally only available for SPARC V9 processors. Binutils 2.24 and GCC 4.9 will support this instruction for LEON3. GCC uses it to gen

[Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA

2013-11-28 Thread Sebastian Huber
The LEON3 processor has support for the CASA instruction which is normally only available for SPARC V9 processors. Binutils 2.24 and GCC 4.9 will support this instruction for LEON3. GCC uses it to generate C11 atomic operations. The CAS synthetic instruction uses an ASI of 0x80. If TARGET_SPARC