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.td15
1 files changed, 9 insertions, 6 deletions
diff --git a/llvm/lib/Target/Sparc/LeonFeatures.td b/llvm/lib/Target/Sparc/LeonFeatures.td
index 63f8b33c80c..3d1bdbcd027 100755
--- a/llvm/lib/Target/Sparc/LeonFeatures.td
+++ b/llvm/lib/Target/Sparc/LeonFeatures.td
@@ -78,14 +78,17 @@ def InsertNOPLoad
"every single-cycle load instruction when the next "
"instruction is another load/store instruction">;
-def FlushCacheLineSWAP
- : SubtargetFeature<"flshcachelineswap", "FlushCacheLineSWAP", "true",
- "LEON3 erratum fix: Flush cache line containing the "
- "lock before performing any of the atomic instructions "
- "SWAP and LDSTUB">;
-
def InsertNOPsLoadStore
: SubtargetFeature<"insertnopsloadstore", "InsertNOPsLoadStore", "true",
"LEON3 erratum fix: Insert NOPs between "
"single-precision loads and the store, so the number of "
"instructions between is 4">;
+
+def FillDataCache : SubtargetFeature<"filldatacache", "FillDataCache", "true",
+ "LEON2 erratum fix: Ensure data cache is "
+ "filled so that cache misses do not "
+ "happen later in program execution.">;
+
+def RestoreExecAddress
+ : SubtargetFeature<"restexecaddr", "RestoreExecAddress", "true",
+ "LEON2 erratum fix: Restore execution address.">;
OpenPOWER on IntegriCloud