[PATCH] D46269: [AArch64][SVE] Asm: Support for non-temporal, contiguous LDNT1/STNT1 load/store instructions.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 03:18:47 PDT 2018


sdesmalen added inline comments.


================
Comment at: test/MC/AArch64/SVE/ldnt1b-diagnostics.s:13
+// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-8, 7].
+// CHECK-NEXT: ldnt1b z29.b, p0/z, [x3, #8, MUL VL]
+// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
----------------
samparker wrote:
> Just curious, but what happens if MUL VL is excluded? Is it just syntactic sugar?
If the 'mul vl' is omitted you get an invalid operand on the ']' token. Basically, the ', mul vl' is parsed and re-inserted as a literal string token (in parseOptionalMulVl), which is then matched to the literal string in the instruction definition.


https://reviews.llvm.org/D46269





More information about the llvm-commits mailing list