Re: 1.25.0: aarch64-unknown-linux-gnu with neon support

Zvi Vered via crossgcc <[email protected]> Tue, 14 Jun 2022 06:20:53 +0300
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <CABRndgx9T_ntXXxVrudycDJi=7j9vpWgDXsTKGfYXBm=+vXAAw@mail.gmail.com>
Hi Chris,

Thank you very much for your reply.
According to:
https://developer.arm.com/Processors/Cortex-A53

The architecture of Cortex-A53 is ARMv8.
Is has "Neon advanced SIMD"

I wonder how to configure crosstool 1.25.0 to fit exactly this CPU for
linux, 64bits.

Best regards,
Zvika


On Mon, Jun 13, 2022 at 12:24 PM Chris Packham <[email protected]>
wrote:

> On Mon, Jun 13, 2022 at 2:29 PM Zvi Vered via crossgcc
> <[email protected]> wrote:
> >
> > Hello,
> >
> > I ran:
> > ct-ng aarch64-unknown-linux-gnu
> > but with this configuration, under "Target options" I can't set FPU.
> >
> >  How can I create gcc for armv8 (coretex A53), 64bit  with the option:
> > -mfpu=neon
>
> The aarch64 configs don't use the FPU option (I think because the FPU
> is required by the ARMv8 spec). Instead you probably want to use the
> -mcpu/-mtune options as per
>
> https://gcc.gnu.org/onlinedocs/gcc-12.1.0/gcc/AArch64-Options.html#AArch64-Options
>
> >
> > Thank you,
> > Zvika
> > --
> > For unsubscribe information see http://sourceware.org/lists.html#faq
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq