mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
llvm-mc/AsmParser: Implement user defined super classes.
- We can now discriminate SUB32ri8 from SUB32ri, for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78530 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,3 +16,17 @@
|
||||
movl %eax, 10(%ebp, %ebx, 4)
|
||||
// RUN: grep {MCInst(opcode=.*, operands=.reg:0, imm:4, reg:21, val:10, reg:0, reg:19.)} %t
|
||||
movl %eax, 10(, %ebx, 4)
|
||||
|
||||
// FIXME: Check that this matches SUB32ri8
|
||||
// RUN: grep {MCInst(opcode=.*, operands=.reg:19, reg:0, val:1.)} %t
|
||||
subl $1, %eax
|
||||
|
||||
// FIXME: Check that this matches SUB32ri8
|
||||
// RUN: grep {MCInst(opcode=.*, operands=.reg:19, reg:0, val:-1.)} %t
|
||||
subl $-1, %eax
|
||||
|
||||
// FIXME: Check that this matches SUB32ri
|
||||
// RUN: grep {MCInst(opcode=.*, operands=.reg:19, reg:0, val:256.)} %t
|
||||
subl $256, %eax
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user