[llvm] [Xtensa] Implement Windowed Register Option. (PR #121118)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 25 19:33:29 PST 2024
================
@@ -18,9 +18,15 @@ include "llvm/Target/Target.td"
// Subtarget Features.
//===----------------------------------------------------------------------===//
def FeatureDensity : SubtargetFeature<"density", "HasDensity", "true",
- "Enable Density instructions">;
+ "Enable Density instructions">;
def HasDensity : Predicate<"Subtarget->hasDensity()">,
- AssemblerPredicate<(all_of FeatureDensity)>;
+ AssemblerPredicate<(all_of FeatureDensity)>;
+
+def FeatureWindowed : SubtargetFeature<"windowed", "HasWindowed", "true",
+ "Enable Xtensa Windowed Register option">;
----------------
arsenm wrote:
Why is this an "option". Is this terminology used in the ISA manual? This is a subtarget featur e
https://github.com/llvm/llvm-project/pull/121118
More information about the llvm-commits
mailing list