[PATCH 1/2] LEON3: use new mcpu=leon3v7 build flag
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Dec 4 15:26:34 UTC 2014
On 04/12/14 15:54, Daniel Hellstrom wrote:
> On 12/04/2014 03:26 PM, Sebastian Huber wrote:
>> On 04/12/14 13:10, Daniel Hellstrom wrote:
>>> The LEON3 BSP has been using mcpu=cypress which is a
>>> SPARCV7 that is compatible with SPARCv8 CPUs. This patch
>>> enables the relatively new LEON3 model and generates
>>> SPARCv7 compatible code. This shuold be comptabile with
>>> all single-core LEON3/4 systems. The LEON3 model is
>>> required for SMP to make GCC generate the CAS instruction.
>>
>> Does this mean that the ERC32 is v8 compatible and the LEON3 in
>> general only v7 + CAS?
>
> No, ERC32 is V7 compatible. LEON3 is in general V8 but could be V7,
> LEON3 multi-core systems generally have CAS.
Ok, but if a LEON3 has not always the CAS instruction, then this is a
problem since for example libstdc++ uses atomic operations internally.
--
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 at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list