diff options
author | Owen Anderson <resistor@mac.com> | 2011-01-13 21:46:02 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-01-13 21:46:02 +0000 |
commit | e4e5e2aae7e1e0e84877061432e7b981a360a77d (patch) | |
tree | 9ae265aca7bbd0c4d8e4e56ac2b4957c19cd63e5 /utils/TableGen | |
parent | 82caf1a867852010ae70dee04989609e25e72856 (diff) |
Add support to the ARM MC infrastructure to support mcr and friends. This requires supporting
the symbolic immediate names used for these instructions, fixing their pretty-printers, and
adding proper encoding information for them.
With this, we can properly pretty-print and encode assembly like:
mrc p15, #0, r3, c13, c0, #3
Fixes <rdar://problem/8857858>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index fe97d7385a..c439143747 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -568,6 +568,8 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, IMM("bf_inv_mask_imm"); IMM("jtblock_operand"); IMM("nohash_imm"); + IMM("p_imm"); + IMM("c_imm"); IMM("cpinst_operand"); IMM("setend_op"); IMM("cps_opt"); |