[lldb] [llvm] [LLDB][Process] Add LSX and LASX register definitions and operations on the LoongArch64 (PR #120664)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 04:05:29 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 5ae44bf718a460a2d5fd3636c8182093e1e27e7a...bdba932eb0aa30cac5a1e24dbe4074406f684605 lldb/test/API/linux/loongarch64/lasx_registers/TestLoongArch64LinuxLASXRegisters.py lldb/test/API/linux/loongarch64/lsx_registers/TestLoongArch64LinuxLSXRegisters.py lldb/packages/Python/lldbsuite/test/lldbtest.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/API/linux/loongarch64/lasx_registers/TestLoongArch64LinuxLASXRegisters.py 2025-01-09 12:01:34.000000 +0000
+++ test/API/linux/loongarch64/lasx_registers/TestLoongArch64LinuxLASXRegisters.py 2025-01-09 12:04:56.469705 +0000
@@ -10,11 +10,11 @@
class LoongArch64LinuxRegisters(TestBase):
NO_DEBUG_INFO_TESTCASE = True
def make_lasx_value(self, n):
- return "{" + " ".join(["0x{:02x}".format(n)] * 32) + "}"
+ return "{" + " ".join(["0x{:02x}".format(n)] * 32) + "}"
def check_lasx_values(self, value_offset):
for i in range(32):
self.expect(
"register read xr{}".format(i),
--- test/API/linux/loongarch64/lsx_registers/TestLoongArch64LinuxLSXRegisters.py 2025-01-09 12:01:34.000000 +0000
+++ test/API/linux/loongarch64/lsx_registers/TestLoongArch64LinuxLSXRegisters.py 2025-01-09 12:04:56.491760 +0000
@@ -10,11 +10,11 @@
class LoongArch64LinuxRegisters(TestBase):
NO_DEBUG_INFO_TESTCASE = True
def make_lsx_value(self, n):
- return "{" + " ".join(["0x{:02x}".format(n)] * 16) + "}"
+ return "{" + " ".join(["0x{:02x}".format(n)] * 16) + "}"
def check_lsx_values(self, value_offset):
for i in range(32):
self.expect(
"register read vr{}".format(i),
``````````
</details>
https://github.com/llvm/llvm-project/pull/120664
More information about the llvm-commits
mailing list