fix(cmd/gasm): probe the loong64 sc.q operand order in the encodability battery

Assisted-by: GLM 5.3
This commit is contained in:
petrbalvin committed 2026-10-07 13:51:02 +02:00
1 parent 8fdc511d0d
commit 7f955f8bd1
1 file changed
+3
+3
View File
@@ -342,6 +342,9 @@ func probeShapes(a arch.Arch) []string {
// hint, and the byte-shuffle quads.
"$1, $0", "R1, R5, 0", "0(R7), $5, $0", "(R7), $5, $0",
"V1, V2, V3, V4", "X1, X2, X3, X4",
// SCQ (sc.q) keeps its own three-operand order: value,
// scratch, memory base.
"R4, R5, (R6)",
"",
}
}