On Fri, Nov 08, 2024 at 02:53:29PM +0000, Mark Brown wrote:
On Fri, Nov 08, 2024 at 01:49:20PM +0000, Catalin Marinas wrote:
SMSTOP/SMSTART require the SME arch extension for the assembler. Add '.arch_extension sme' to za-test.S and zt-test.S.
I've got an alternative, more idiomatic fix for this running through my testing - SME is still relatively recent so we can't rely on people's toolchains having it and we should use a .inst instead. The issue was that the toolchain I'm using locally appears to default to a full fat version of the architecture and happily assembled the SMSTART even though we don't have a .inst macro for it like we do with SMSTOP (which is why that didn't error). We only have SMSTART SM and SMSTART ZA.
It makes sense. Please post yours and I'll drop this one.