aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2023-09-12 12:06:54 +0100
committerDavid Spickett <david.spickett@linaro.org>2023-09-19 12:05:22 +0000
commit46b961f36bc5b1105356d1701f0c7c9d439be9c8 (patch)
treef3617a5255cbd4d223c66842f33875d628aab039 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent61d819dd52f8901ee311455883f7b4662f9f3138 (diff)
downloadllvm-46b961f36bc5b1105356d1701f0c7c9d439be9c8.zip
llvm-46b961f36bc5b1105356d1701f0c7c9d439be9c8.tar.gz
llvm-46b961f36bc5b1105356d1701f0c7c9d439be9c8.tar.bz2
[lldb][AArch64] Implement resizing of SME's ZA register
The size of ZA depends on the streaming vector length regardless of the active mode. So in addition to vg (which reports the active mode) we must send the client svg. Otherwise the mechanics are the same as for non-streaming SVE. Use the svg value to update the defined size of ZA, accounting for the fact that ZA is not a single vector but a suqare matrix. So if svg is 8, a single streaming vector would be 8*8 = 64 bytes. ZA is that squared, so 64*64 = 4096 bytes. Testing is included in a later patch. Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D159504
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions