UT699 ABI CFLAGS Question
Joel Sherrill
joel at rtems.org
Tue May 2 14:08:04 UTC 2023
On Tue, May 2, 2023 at 6:42 AM Daniel Hellstrom <daniel at gaisler.com> wrote:
> Hi Joel,
>
> The UT699 uses --mcpu=leon because it has a matching ISA. The mcpu=leon3
> generates CAS instruction which is not present in UT699. With --mcpu=leon
> is used with --mfix-ut699 there are some UT699 specifics enabled. I think
> the yml-file looks correct.
>
Thanks. I may add a comment so the next person who looks at that file gets
a hint.
--joel
> /Daniel
>
>
> On 2023-04-28 23:38, Joel Sherrill wrote:
>
> Hi
>
> While showing examples during the class this week, I noticed that the
> ut699 uses --mcpu=leon and not -mcpu=leon3 in leon3/abi.yml. This doesn't
> seem right. Here's the stuff in question:
>
> default:
> - enabled-by: sparc/ut700
> value:
> - -mcpu=leon3
> - -mfix-ut700
> - enabled-by: sparc/ut699
> value:
> - -mcpu=leon
> - -mfix-ut699
> - enabled-by: sparc/gr712rc
> value:
> - -mcpu=leon3
> - -mfix-gr712rc
> - enabled-by: true
> value:
> - -mcpu=leon3
>
> Is the ut699 wrong?
>
> Thanks.
>
> --joel
>
> _______________________________________________
> devel mailing listdevel at rtems.orghttp://lists.rtems.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230502/e923a0d8/attachment.htm>
More information about the devel
mailing list