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 | 73e9f2e91b86c25a1b908e7dc9a65c2d84339e81 (patch) | |
| tree | a648092b732097f3b77b9ae0ec492beb091493f6 /lib/Target/ARM/AsmPrinter/ARMInstPrinter.h | |
| parent | aa685d67d6746a64b517beb1b5c485e8285840d2 (diff) | |
| download | external_llvm-73e9f2e91b86c25a1b908e7dc9a65c2d84339e81.zip external_llvm-73e9f2e91b86c25a1b908e7dc9a65c2d84339e81.tar.gz external_llvm-73e9f2e91b86c25a1b908e7dc9a65c2d84339e81.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 'lib/Target/ARM/AsmPrinter/ARMInstPrinter.h')
| -rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMInstPrinter.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h index be0b7c1..ddf5047 100644 --- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h +++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h @@ -104,10 +104,7 @@ public: void printNoHashImmediate(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printVFPf32ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printVFPf64ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); - void printHex8ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); - void printHex16ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); - void printHex32ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); - void printHex64ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); + void printNEONModImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printPCLabel(const MCInst *MI, unsigned OpNum, raw_ostream &O); // FIXME: Implement. |
