[Lldb-commits] [PATCH] D155269: [lldb][AArch64] Add SME streaming vector length pseudo register

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 18 01:15:29 PDT 2023


DavidSpickett added a comment.

I think in https://reviews.llvm.org/D154926, `lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py` addresses this. If what you mean is you are stopped in streaming mode, you evaluate an expression that may call a function which takes you into another mode.

If not, give me an example and I'll try to test it. This is the first I'm hearing of QSaveRegisterState / QRestoreRegisterState.

> g/G are probably going to fetch / write all the floating point registers and reset the mode if you did a function call while in streaming mode?

We'd have to order them carefully I expect. Or say something like if we're restoring floating point and SVE registers, just ignore the floating point because we're about to supersede it.

I am not 100% sure that one cannot implement streaming SVE as a completely separate register state, I will be checking that today. If you can then it will complicate things in theory.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155269/new/

https://reviews.llvm.org/D155269



More information about the lldb-commits mailing list