mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 10:21:54 +00:00
ARM cortex-a8 doesn't do vmla/vmls well. disable them by default for that cpu
llvm-svn: 99549
This commit is contained in:
parent
58278a364d
commit
0975d55c8e
@ -127,6 +127,12 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user