diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-05-27 17:23:44 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-05-27 17:23:44 +0000 |
commit | d3bdf19ce7a37e23a6c4d877fb681eb010be74f7 (patch) | |
tree | ea845becd986ec2cf30f812a4f65a6f02e9db78e /lib/Target/Mips/Mips.td | |
parent | 0d09b83a481ea529f5ed8fe991afbadf01e582e3 (diff) | |
download | external_llvm-d3bdf19ce7a37e23a6c4d877fb681eb010be74f7.zip external_llvm-d3bdf19ce7a37e23a6c4d877fb681eb010be74f7.tar.gz external_llvm-d3bdf19ce7a37e23a6c4d877fb681eb010be74f7.tar.bz2 |
Added support for fround, fextend and FP_TO_SINT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips.td')
-rw-r--r-- | lib/Target/Mips/Mips.td | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/Mips/Mips.td b/lib/Target/Mips/Mips.td index 79ae5d2..79a78d8 100644 --- a/lib/Target/Mips/Mips.td +++ b/lib/Target/Mips/Mips.td @@ -39,6 +39,8 @@ def FeatureFP64Bit : SubtargetFeature<"fp64", "IsFP64bit", "true", "Support 64-bit FP registers.">; def FeatureSingleFloat : SubtargetFeature<"single-float", "IsSingleFloat", "true", "Only supports single precision float">; +def FeatureMips1 : SubtargetFeature<"mips1", "MipsArchVersion", "Mips1", + "Mips1 ISA Support">; def FeatureMips2 : SubtargetFeature<"mips2", "MipsArchVersion", "Mips2", "Mips2 ISA Support">; def FeatureO32 : SubtargetFeature<"o32", "MipsABI", "O32", @@ -67,9 +69,9 @@ def FeatureBitCount : SubtargetFeature<"bitcount", "HasBitCount", "true", class Proc<string Name, list<SubtargetFeature> Features> : Processor<Name, MipsGenericItineraries, Features>; -def : Proc<"mips1", []>; -def : Proc<"r2000", []>; -def : Proc<"r3000", []>; +def : Proc<"mips1", [FeatureMips1]>; +def : Proc<"r2000", [FeatureMips1]>; +def : Proc<"r3000", [FeatureMips1]>; def : Proc<"mips2", [FeatureMips2]>; def : Proc<"r6000", [FeatureMips2]>; |