[Lldb-commits] [lldb] [llvm] [AArch64][llvm] Tighten SYSP parsing; don't disassemble invalid encodings (PR #182410)
Jonathan Thackray via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 11 09:17:02 PDT 2026
================
@@ -45,6 +45,22 @@ sysp #4, c2, c1, #0, x0, x1// VTTBR_EL2 3 4 2 1 0
// CHECK-INST: sysp #4, c2, c1, #0, x0, x1
// CHECK-ENCODING: encoding: [0x00,0x21,0x4c,0xd5]
+sysp #7, c2, c0, #0, x0, x1
----------------
jthackray wrote:
> Can you double check that the ranges are correct?
> op1 could be only between o to 6
> Cn could be only between 8 and 9
> op2 could be only between 0 and 7
When I started this PR, that was true. However, the specs have recently been updated. Let me find the link. I had to explicitly change that code a while back.
https://github.com/llvm/llvm-project/pull/182410
More information about the lldb-commits
mailing list