[Mips] Adjust float ABI settings in case of MIPS16 mode.
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 19 Nov 2013 12:20:17 +0000 (12:20 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 19 Nov 2013 12:20:17 +0000 (12:20 +0000)
commitc5e99819f46d53c77f4ff9c2d69fdcca4ad46ea3
treeea1af5a7800b4ad1379923a9fea96b1f7024efe6
parent4d06b6d28fc329f2275ca082e995dfbc9a619255
[Mips] Adjust float ABI settings in case of MIPS16 mode.

Hard float for mips16 means essentially to compile as soft float but to
use a runtime library for soft float that is written with native mips32
floating point instructions (those runtime routines run in mips32 hard
float mode).

The patch reviewed by Reed Kotler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195123 91177308-0d34-0410-b5e6-96231b3b80d8
24 files changed:
lib/Target/Mips/MipsSubtarget.cpp
test/CodeGen/Mips/2008-07-16-SignExtInReg.ll
test/CodeGen/Mips/addi.ll
test/CodeGen/Mips/blockaddr.ll
test/CodeGen/Mips/bswap.ll
test/CodeGen/Mips/ctlz.ll
test/CodeGen/Mips/f16abs.ll
test/CodeGen/Mips/fixdfsf.ll
test/CodeGen/Mips/fp16instrinsmc.ll
test/CodeGen/Mips/fp16mix.ll
test/CodeGen/Mips/fp16static.ll
test/CodeGen/Mips/fptr2.ll
test/CodeGen/Mips/hf16_1.ll
test/CodeGen/Mips/hf16call32.ll
test/CodeGen/Mips/hf16call32_body.ll
test/CodeGen/Mips/hf1_body.ll
test/CodeGen/Mips/hfptrcall.ll
test/CodeGen/Mips/largefr1.ll
test/CodeGen/Mips/mips16_fpret.ll
test/CodeGen/Mips/mips16fpe.ll
test/CodeGen/Mips/nomips16.ll
test/CodeGen/Mips/powif64_16.ll
test/CodeGen/Mips/rotate.ll
test/CodeGen/Mips/trap1.ll