fix(asm): reject the arm64 REGTMP spellings the toolchain refuses

Assisted-by: GLM 5.3
This commit is contained in:
petrbalvin committed 2026-10-07 13:49:49 +02:00
1 parent 2385bb7069
commit 7a69be8b59
3 files changed
+88 -14

No files matched your search

-7
View File
@@ -20,13 +20,6 @@ var arm64AcceptedErrorShapes = []string{
// spelling, the .P immediate against the aggregate register size, the
// REGTMP (R27) as an explicit operand the toolchain refuses, the pair
// split paths included.
"ADD $0x1234567, R27, R3",
"ADD $0x3fffffffc000, R27, R5",
"AND $0x22220000, R27, R4",
"ANDW $0x6006000060060, R27, R5",
"STP (R3, R4), 0x1234567(R27)",
"LDP 0x1234567(R27), (R3, R4)",
"STP (R26, R27), 700(R2)",
// TLBI operand arity and the range-prefetch operand shapes.
"TLBI VMALLE1IS, R0",
"TLBI ALLE3OS, ZR",