lkml.org 
[lkml]   [2022]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64: ARM Scalable Matrix Extension is ARMv9-A
On Tue, May 10, 2022 at 11:20:40AM +0200, Geert Uytterhoeven wrote:
> On Tue, May 10, 2022 at 11:15 AM Will Deacon <will@kernel.org> wrote:
> > On Mon, May 09, 2022 at 03:40:30PM +0200, Geert Uytterhoeven wrote:

> > > + The Scalable Matrix Extension (SME) is an ARMv9-A extension to the
> > > + AArch64 execution state which utilises a substantial subset of the
> > > + SVE instruction set, together with the addition of new architectural

> > Why is this useful information? The v9 vs v8 distinction is purely a

> Because I tend to disable support for extensions that are not present
> in Renesas SoCs in the (local) renesas_defconfig.
> If it's ARMv9, I know it's not present in e.g. Cortex-A57 or A-76.

Like Will says the versioning information is a shaky way of figuring
that out, especially with a feature like SME which is intended to be
totally optional. Even once you have v9 systems you're still going to
need to look at the specific systems to figure out what's implemented in
your specific silicon.

> > marketing thing, so I'd be _very_ wary of drawing any technical conclusions
> > based on that, especially as Arm have a track record for "backporting"
> > features into older CPUs if there is demand for it. Do you know what the
> > toolchains have done here? (i.e. is there march=armv9-a or can you do
> > march=armv8-a+sme or something else?).

> I have no idea. This option doesn't seem to control any compiler
> flags?

GCC does have armv9-a, not cheked clang.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-05-10 14:44    [W:0.093 / U:1.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site