DavidSpickett created this revision. Herald added a subscriber: kristof.beyls. Herald added a project: All. DavidSpickett requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
"sme" is just one of many cpuinfo features for SME but it's the only one we need for testing. The rest are related to the use of certain instructions and don't change the register state available. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D154823 Files: lldb/packages/Python/lldbsuite/test/lldbtest.py Index: lldb/packages/Python/lldbsuite/test/lldbtest.py =================================================================== --- lldb/packages/Python/lldbsuite/test/lldbtest.py +++ lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1271,6 +1271,9 @@ def isAArch64SVE(self): return self.isAArch64() and "sve" in self.getCPUInfo() + def isAArch64SME(self): + return self.isAArch64() and "sme" in self.getCPUInfo() + def isAArch64MTE(self): return self.isAArch64() and "mte" in self.getCPUInfo()
Index: lldb/packages/Python/lldbsuite/test/lldbtest.py =================================================================== --- lldb/packages/Python/lldbsuite/test/lldbtest.py +++ lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1271,6 +1271,9 @@ def isAArch64SVE(self): return self.isAArch64() and "sve" in self.getCPUInfo() + def isAArch64SME(self): + return self.isAArch64() and "sme" in self.getCPUInfo() + def isAArch64MTE(self): return self.isAArch64() and "mte" in self.getCPUInfo()
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits