[Lldb-commits] [PATCH] D159503: [lldb][AArch64] Add SME streaming vector length pseduo register
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 12 04:49:30 PDT 2023
DavidSpickett created this revision.
Herald added subscribers: sunshaoce, ctetreau, kristof.beyls.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This adds a register "svg" which mirrors SVE's "vg" register.
This reports the streaming vector length at all times, read
from the ZA ptrace header.
This register is needed first to implement ZA resizing as
the streaming vector length changes. Like vg, svg will be
expedited to the client so it can reconfigure its register
definitions.
The other use is for users to be able to know the streaming
vector length without resorting to counting the (many, many)
bytes in ZA, or temporarily entering streaming mode (which
would be destructive).
Testing for this will come in a later patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159503
Files:
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159503.556549.patch
Type: text/x-patch
Size: 6753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230912/7934897a/attachment.bin>
More information about the lldb-commits
mailing list