Skip to contentSkip to conversation

arm64/sve: Add a comment documenting the binutils needed for SVE asm

PATCH Applied Mark Brown 2 participants 2 messages Aug 16, 2021 – Aug 24, 2021 arm64

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 arm64/sve: Add a comment documenting the binutils needed for SVE asm

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.

---
 arch/arm64/include/asm/fpsimdmacros.h | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/include/asm/fpsimdmacros.h +1 -0
index 059204477ce6..00a2c0b69c2b 100644
@@ -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
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Applied
#1 lore raw
Quoted 3 lines · Mark Brown

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.

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/sve: Add a comment documenting the binutils needed for SVE asm

      https://git.kernel.org/arm64/c/04fa17d1368c
Signature · 7 lines
Catalin


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel