This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Support for SPARC Leon 3 processor


Hello,

the Leon 3 is a processor implementing the SPARC V8 instruction set:

http://en.wikipedia.org/wiki/LEON#LEON3_processor_core

In order to provide better SMP support it implements in addition also the CASA instruction defined in SPARC V9:

"68.2.7 Compare and Swap instruction (CASA)"

http://gaisler.com/products/grlib/grip.pdf

We would like to use C11 atomic operations supported by GCC for this processor. Currently GCC passes -Av8 to GAS so the assembler would complain about the CASA instruction. I think we need a new SPARC opcode architecture for the Leon 3. Is it all right to start with (opcode/sparc.h)

enum sparc_opcode_arch_val
{
[...]
  SPARC_OPCODE_ARCH_V8_LEON3,
[...]
};

or maybe SPARC_OPCODE_ARCH_V8_CASA?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]