aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-01-13 21:46:02 +0000
committerOwen Anderson <resistor@mac.com>2011-01-13 21:46:02 +0000
commite4e5e2aae7e1e0e84877061432e7b981a360a77d (patch)
tree9ae265aca7bbd0c4d8e4e56ac2b4957c19cd63e5 /utils
parent82caf1a867852010ae70dee04989609e25e72856 (diff)
downloadexternal_llvm-e4e5e2aae7e1e0e84877061432e7b981a360a77d.zip
external_llvm-e4e5e2aae7e1e0e84877061432e7b981a360a77d.tar.gz
external_llvm-e4e5e2aae7e1e0e84877061432e7b981a360a77d.tar.bz2
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')
-rw-r--r--utils/TableGen/EDEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp
index fe97d73..c439143 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");