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

Subsystems: arm64 port (aarch64 architecture), the rest

STALE1815d LANDED

Landed in mainline as 04fa17d1368c on 2021-08-24.

2 messages, 2 authors, 2021-08-24 · open the first message on its own page

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

From: Mark Brown <broonie@kernel.org>
Date: 2021-08-16 12:53:01

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-08-24 16:19:41

On Mon, 16 Aug 2021 13:50:23 +0100, Mark Brown wrote:
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

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help