summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/LeonFeatures.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc/LeonFeatures.td')
-rwxr-xr-xllvm/lib/Target/Sparc/LeonFeatures.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/LeonFeatures.td b/llvm/lib/Target/Sparc/LeonFeatures.td
index 27d739b5a85..d06e734b5a7 100755
--- a/llvm/lib/Target/Sparc/LeonFeatures.td
+++ b/llvm/lib/Target/Sparc/LeonFeatures.td
@@ -66,6 +66,14 @@ def ReplaceFMULS : SubtargetFeature<
"LEON erratum fix: Replace FMULS instruction with FMULD and relevant conversion instructions"
>;
+def DetectRoundChange : SubtargetFeature<
+ "detectroundchange",
+ "DetectRoundChange",
+ "true",
+ "LEON3 erratum detection: Detects any rounding mode change "
+ "request: use only the round-to-nearest rounding mode"
+>;
+
def FixAllFDIVSQRT : SubtargetFeature<
"fixallfdivsqrt",
"FixAllFDIVSQRT",
OpenPOWER on IntegriCloud