This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] Add leon3r0 and leon3r0v7 CPU targets
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Daniel Cederman <cederman at gaisler dot com>
- Cc: gcc-patches at gcc dot gnu dot org, daniel at gaisler dot com
- Date: Tue, 30 Jun 2015 11:24:55 +0200
- Subject: Re: [PATCH 2/2] Add leon3r0 and leon3r0v7 CPU targets
- Authentication-results: sourceware.org; auth=none
- References: <1435062156-28097-1-git-send-email-cederman at gaisler dot com> <4059097 dot cy3ANvWpGq at polaris> <558D404E dot 2030608 at gaisler dot com>
> The UT699 is a leon3r0 system which does not support CASA. However, to
> enable the errata fixes for UT699 with -mfix-ut699 requires the CPU
> target to be leon3.
-mfix-ut699 itself is independent of the processor and doesn't require leon3.
> The instruction timing also differs between leon and leon3 and they are
> represented by different targets in binutils.
Yes, there is only one optimization trick for the scheduler that requires
leon3, but it doesn't affect correctness. We could easily change that, i.e.
enable the trick for leon too if -mfix-ut699 is passed.
As for binutils, they don't even know about leon3, eveything is leon for them.
--
Eric Botcazou