mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Disable strict-fp for powerpcspe, as it does not work properly yet
Merge commit 5c18d1136665 from llvm git (by Qiu Chaofan) [SPE] Disable strict-fp for SPE by default As discussed in PR50385, strict-fp on PowerPC SPE has not been handled well. This patch disables it by default for SPE. Reviewed By: nemanjai, vit9696, jhibbits Differential Revision: https://reviews.llvm.org/D103235 PR: 255570 MFC after: 6 weeks
This commit is contained in:
parent
9bb8a4091c
commit
715df83abc
@ -57,6 +57,7 @@ bool PPCTargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
|
||||
} else if (Feature == "+pcrelative-memops") {
|
||||
HasPCRelativeMemops = true;
|
||||
} else if (Feature == "+spe" || Feature == "+efpu2") {
|
||||
HasStrictFP = false;
|
||||
HasSPE = true;
|
||||
LongDoubleWidth = LongDoubleAlign = 64;
|
||||
LongDoubleFormat = &llvm::APFloat::IEEEdouble();
|
||||
|
Loading…
Reference in New Issue
Block a user