Re: [PATCH] kselftest/arm64: Fix build with stricter assemblers

2024-11-12 Thread Catalin Marinas
On Fri, 08 Nov 2024 15:20:46 +, Mark Brown wrote: > While some assemblers (including the LLVM assembler I mostly use) will > happily accept SMSTART as an instruction by default others, specifically > gas, require that any architecture extensions be explicitly enabled. > The assembler SME test p

Re: [PATCH] kselftest/arm64: Fix build with stricter assemblers

2024-11-08 Thread Mark Brown
On Fri, Nov 08, 2024 at 03:29:37PM +, Catalin Marinas wrote: > On Fri, Nov 08, 2024 at 03:27:58PM +, Catalin Marinas wrote: > > > - smstart > > > + smstart_za > > And is smstop ok for assemblers? I think I got the error first on > > smstop with my toolchain. > Ah, we already have a macro

Re: [PATCH] kselftest/arm64: Fix build with stricter assemblers

2024-11-08 Thread Catalin Marinas
On Fri, Nov 08, 2024 at 03:27:58PM +, Catalin Marinas wrote: > On Fri, Nov 08, 2024 at 03:20:46PM +, Mark Brown wrote: > > While some assemblers (including the LLVM assembler I mostly use) will > > happily accept SMSTART as an instruction by default others, specifically > > gas, require tha

Re: [PATCH] kselftest/arm64: Fix build with stricter assemblers

2024-11-08 Thread Catalin Marinas
On Fri, Nov 08, 2024 at 03:20:46PM +, Mark Brown wrote: > While some assemblers (including the LLVM assembler I mostly use) will > happily accept SMSTART as an instruction by default others, specifically > gas, require that any architecture extensions be explicitly enabled. > The assembler SME

[PATCH] kselftest/arm64: Fix build with stricter assemblers

2024-11-08 Thread Mark Brown
While some assemblers (including the LLVM assembler I mostly use) will happily accept SMSTART as an instruction by default others, specifically gas, require that any architecture extensions be explicitly enabled. The assembler SME test programs use manually encoded helpers for the new instructions