diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2013-11-19 12:20:17 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2013-11-19 12:20:17 +0000 |
commit | 1093afe27a3e34a51b3042142b478b30301bd32e (patch) | |
tree | 68877d7d77c3a49bcf91bfe888c94add9b6930bb /llvm/test/CodeGen/Mips/f16abs.ll | |
parent | a07e4f5b0f330c099320a5f5807c1b7331bb972a (diff) | |
download | bcm5719-llvm-1093afe27a3e34a51b3042142b478b30301bd32e.tar.gz bcm5719-llvm-1093afe27a3e34a51b3042142b478b30301bd32e.zip |
[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.
llvm-svn: 195123
Diffstat (limited to 'llvm/test/CodeGen/Mips/f16abs.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/f16abs.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/f16abs.ll b/llvm/test/CodeGen/Mips/f16abs.ll index 928914f067d..0fba9c4fd08 100644 --- a/llvm/test/CodeGen/Mips/f16abs.ll +++ b/llvm/test/CodeGen/Mips/f16abs.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -relocation-model=static < %s | FileCheck %s -check-prefix=static +; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=static @y = global double -1.450000e+00, align 8 @x = common global double 0.000000e+00, align 8 |