Richard Henderson <richard.hender...@linaro.org> writes:
> On 1/14/20 5:09 AM, Alex Bennée wrote: >> A very simple test case which sets and reads SVE registers while >> running a test case. We don't really need to compile a SVE binary for >> this case but we will later so keep it simple for now. >> >> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> >> >> --- >> v5 >> - properly plumb in >> - skip if fails to connect >> --- >> tests/.gitignore | 1 + >> tests/tcg/aarch64/Makefile.target | 15 +++++ >> tests/tcg/aarch64/gdbstub/test-sve.py | 81 +++++++++++++++++++++++++++ >> 3 files changed, 97 insertions(+) >> create mode 100644 tests/tcg/aarch64/gdbstub/test-sve.py > > I don't understand how this is working. What's the process that provides the > container for the register state? > > I would have expected *some* binary to be used, even if it is only "int main() > { return 0; }". It is, it's using the sysregs test: --bin $< > > > > r~ -- Alex Bennée