[llvm] [Xtensa] Implement Windowed Register Option. (PR #121118)
Dániel Buga via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 28 08:03:15 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">;
----------------
bugadani wrote:
The ISA summary refers to these extensions as options, calling this particular one "Windowed Register Option".
https://github.com/llvm/llvm-project/pull/121118
More information about the llvm-commits
mailing list