diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-06-11 21:34:50 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-06-11 21:34:50 +0000 |
commit | 1a913ed17875d1a0fb490e1266b74c057c76a94b (patch) | |
tree | a648092b732097f3b77b9ae0ec492beb091493f6 /utils/TableGen/EDEmitter.cpp | |
parent | 215aa15a0d0df75af8d9cef6ef49026dcc3258a8 (diff) | |
download | external_llvm-1a913ed17875d1a0fb490e1266b74c057c76a94b.zip external_llvm-1a913ed17875d1a0fb490e1266b74c057c76a94b.tar.gz external_llvm-1a913ed17875d1a0fb490e1266b74c057c76a94b.tar.bz2 |
Add instruction encoding for the Neon VMOV immediate instruction. This changes
the machine instruction representation of the immediate value to be encoded
into an integer with similar fields as the actual VMOV instruction. This makes
things easier for the disassembler, since it can just stuff the bits into the
immediate operand, but harder for the asm printer since it has to decode the
value to be printed. Testcase for the encoding will follow later when MC has
more support for ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/EDEmitter.cpp')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 0d5ee40..66547cb 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -592,10 +592,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, IMM("msr_mask"); IMM("neg_zero"); IMM("imm0_31"); - IMM("h8imm"); - IMM("h16imm"); - IMM("h32imm"); - IMM("h64imm"); + IMM("nModImm"); IMM("imm0_4095"); IMM("jt2block_operand"); IMM("t_imm_s4"); |