[Lldb-commits] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-06-26 Thread Sam Elliott via lldb-commits
lenary wrote: To also respond to something earlier in the thread, where there is a little complexity: > The missing part is knowing how to split up that encoding value isn't it. For > AArch64 you'd just print it because we only have 32-bit, Intel you would roll > dice to randomly decide what

[Lldb-commits] [lldb] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-07-01 Thread Sam Elliott via lldb-commits
lenary wrote: > Doesn't seem the ideal format given that we have a known size, today most > often 16/32/64, and I guess 48 for funsies. Standard instructions are right now only 16/32, but custom instructions can be any multiple of 16. This was the change to llvm-objdump to group bytes like gnu

[Lldb-commits] [lldb] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-07-01 Thread Sam Elliott via lldb-commits
lenary wrote: > I didn't realize that the riscv instructions had a scheme for indicating > their lengths, very convenient. It "doesn't". LLVM objdump implements the scheme described in the spec, but for >32-bit instructions, that scheme is not ratified so it could change in the future (the no

[Lldb-commits] [lldb] [llvm] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-07-11 Thread Sam Elliott via lldb-commits
lenary wrote: > We don't have any big endian riscv ArchSpec entry today or I'd add a big > endian riscv instruction decoding test too. We're starting to get Big Endian support for RISC-V in LLVM, but I've asked that those patches wait until after the branch as there's a lot of work to make bi