ARM fix encoding of VMOV.f32 and VMOV.f64 immediates.
authorJim Grosbach <grosbach@apple.com>
Fri, 30 Sep 2011 00:50:06 +0000 (00:50 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 30 Sep 2011 00:50:06 +0000 (00:50 +0000)
commit4ebbf7b8a8e80532bd2ddf7209e62689c1698a96
tree1b7c3005ec494642a9964ef10e834fe3f412ba5d
parent203e0b17dd6049d64cb4ed7c4da09747204e6463
ARM fix encoding of VMOV.f32 and VMOV.f64 immediates.

Encode the immediate into its 8-bit form as part of isel rather than later,
which simplifies things for mapping the encoding bits, allows the removal
of the custom disassembler decoding hook, makes the operand printer trivial,
and prepares things more cleanly for handling these in the asm parser.

rdar://10211428

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140834 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrVFP.td
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h
lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h