fix(asm): reject the operand shapes the toolchain rejects on riscv64

Assisted-by: GLM 5.3 Flash
This commit is contained in:
petrbalvin committed 2026-10-07 19:40:32 +02:00
1 parent 6c66f5bbd9
commit f0942ff7f3
3 files changed
+1014 -456

No files matched your search

+2 -2
View File
@@ -209,12 +209,12 @@ func TestRISCVToolchainRejections(t *testing.T) {
{
name: "fence predecessor",
src: "\tFENCE X, W\n",
want: "FENCE: invalid predecessor operand",
want: "invalid FENCE predecessor operand",
},
{
name: "fence successor",
src: "\tFENCE W, Q\n",
want: "FENCE: invalid successor operand",
want: "invalid FENCE successor operand",
},
{
name: "immediate CSR pseudo with register",