Add support for vmov.f64/.f32 encoding. There's a bit of a hack going on
authorBill Wendling <isanbard@gmail.com>
Thu, 14 Oct 2010 02:33:26 +0000 (02:33 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 14 Oct 2010 02:33:26 +0000 (02:33 +0000)
commitbbbdcd453d22258cb4dd217eddf016668fcebf84
treeea56c8202a8f47594ca62fb4d655f01927163a42
parent946a2740a54fe2cd57509999384239101bf5b9df
Add support for vmov.f64/.f32 encoding. There's a bit of a hack going on
here. The f32 in FCONSTS is handled as a double instead of a float in the
code. So the encoding of the immediate into the instruction isn't exactly in
line with the documentation in that regard. But given that we know it's handled
as a double, it doesn't cause any harm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116471 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrVFP.td
lib/Target/ARM/ARMMCCodeEmitter.cpp
test/MC/ARM/simple-fp-encoding.ll