[mips] Use MFHC1 when it is available (MIPS32r2 and later) for both FP32 and FP64...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 14 Jul 2014 12:41:31 +0000 (12:41 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 14 Jul 2014 12:41:31 +0000 (12:41 +0000)
commit543f70b0405165a98816c6e0b87349c38385cd40
treea3163e0e74f6fc4080074bd303ec55410f682e70
parentf51fbcbb3683e1810d19fee49e2897501d4d67f4
[mips] Use MFHC1 when it is available (MIPS32r2 and later) for both FP32 and FP64 moves

Summary:
This is similar to r210771 which did the same thing for MTHC1.

Also corrected MTHC1_D32 and MTHC1_D64 which used AFGR64 and FGR64 on the
wrong definitions.

Differential Revision: http://reviews.llvm.org/D4483

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212936 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
lib/Target/Mips/MipsInstrFPU.td
lib/Target/Mips/MipsSEInstrInfo.cpp
test/CodeGen/Mips/buildpairextractelementf64.ll
test/CodeGen/Mips/mno-ldc1-sdc1.ll
test/CodeGen/Mips/o32_cc.ll