arm64/sve: Add a comment documenting the binutils needed for SVE asm
authorMark Brown <broonie@kernel.org>
Mon, 16 Aug 2021 12:50:23 +0000 (13:50 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 24 Aug 2021 15:44:23 +0000 (16:44 +0100)
At some point it would be nice to avoid the need to manually encode SVE
instructions, add a note of the binutils version required to save looking
it up.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210816125024.8112-1-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/fpsimdmacros.h

index 0592044..00a2c0b 100644 (file)
@@ -94,6 +94,7 @@
 .endm
 
 /* SVE instruction encodings for non-SVE-capable assemblers */
+/* (pre binutils 2.28, all kernel capable clang versions support SVE) */
 
 /* STR (vector): STR Z\nz, [X\nxbase, #\offset, MUL VL] */
 .macro _sve_str_v nz, nxbase, offset=0