diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-16 03:48:05 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-16 03:48:05 +0000 |
commit | bb2e1b581ada0b748d6626512094c9500544f600 (patch) | |
tree | c5cae804a2530ccc4447469fc217027add9c0752 /lib/Target/Mips/Mips.td | |
parent | 385401a325b284ee8a3fbf0781b0e36e4ade3406 (diff) |
Add Android ABI to Mips backend to handle functions returning vectors of four
floats.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips.td')
-rw-r--r-- | lib/Target/Mips/Mips.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips.td b/lib/Target/Mips/Mips.td index 8548ae0b8b5..90f7942c5b4 100644 --- a/lib/Target/Mips/Mips.td +++ b/lib/Target/Mips/Mips.td @@ -44,6 +44,8 @@ def FeatureN64 : SubtargetFeature<"n64", "MipsABI", "N64", "Enable n64 ABI">; def FeatureEABI : SubtargetFeature<"eabi", "MipsABI", "EABI", "Enable eabi ABI">; +def FeatureAndroid : SubtargetFeature<"android", "IsAndroid", "true", + "Target is android">; def FeatureVFPU : SubtargetFeature<"vfpu", "HasVFPU", "true", "Enable vector FPU instructions.">; def FeatureSEInReg : SubtargetFeature<"seinreg", "HasSEInReg", "true", |