[PATCH 1/2] LEON3: use new mcpu=leon3v7 build flag

Daniel Hellstrom daniel at gaisler.com
Thu Dec 4 14:54:23 UTC 2014


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.

DanielH



More information about the devel mailing list