diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-03-25 23:11:16 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-03-25 23:11:16 +0000 |
commit | 6b2e8dc9a0e4ebda645ee4eba95711eb630b4edf (patch) | |
tree | a82d63ddeed93ce2333061167990e617b1ffbf8b /lib/Target/ARM/ARMSubtarget.cpp | |
parent | 60ad781c61815ca5b8dc2a45a102e1c8af65992f (diff) |
switch the use-vml[as] instructions flag to a subtarget 'feature'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.cpp b/lib/Target/ARM/ARMSubtarget.cpp index 8df59e4789..76ed66fe7d 100644 --- a/lib/Target/ARM/ARMSubtarget.cpp +++ b/lib/Target/ARM/ARMSubtarget.cpp @@ -26,10 +26,6 @@ static cl::opt<bool> UseNEONFP("arm-use-neon-fp", cl::desc("Use NEON for single-precision FP"), cl::init(false), cl::Hidden); -static cl::opt<bool> -UseVMLxInstructions("arm-use-vmlx", - cl::desc("Use VFP vmla and vmls instructions"), - cl::init(true), cl::Hidden); static cl::opt<bool> UseMOVT("arm-use-movt", @@ -40,7 +36,7 @@ ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &FS, : ARMArchVersion(V4) , ARMFPUType(None) , UseNEONForSinglePrecisionFP(UseNEONFP) - , UseVMLx(UseVMLxInstructions) + , SlowVMLx(false) , IsThumb(isT) , ThumbMode(Thumb1) , PostRAScheduler(false) @@ -127,12 +123,6 @@ ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &FS, // operations with NEON instructions. if (UseNEONFP.getPosition() == 0) UseNEONForSinglePrecisionFP = true; - // The VFP vlma and vlms instructions don't play nicely with others; - // disable them. - // FIXME: This may be true for other variants as well. Get benchmark - // numbers and add them if determined that's the case. - if (UseVMLxInstructions.getPosition() == 0) - UseVMLx = false; } } |