[Qemu-devel] [RISU 0/2] i386 support for avx

Richard Henderson posted 2 patches 5 years ago
Failed in applying to current master (apply log)
risu_reginfo_i386.h |  15 ++++
risu_reginfo_i386.c | 194 ++++++++++++++++++++++++++++++++++++++++++--
test_i386.S         |  39 +++++++++
3 files changed, 243 insertions(+), 5 deletions(-)
[Qemu-devel] [RISU 0/2] i386 support for avx
Posted by Richard Henderson 5 years ago
It's quite plausible that we should add a command-line argument for
risu, similar to the aarch64 --test-sve option, that explicitly
limits the size of the vectors to be recorded or compared.  Otherwise
I worry about the host supporting AVX-N and wanting to test TCG with
a narrower vector insns.

Anyway, adding a command-line option should be a relatively trivial
extension to the following, which works to extract state from the
Intel XSAVE structure that the kernel borrows for the signal frame.


r~


Richard Henderson (2):
  i386: Add avx512 state to reginfo_t
  HACK: Test avx2 state

 risu_reginfo_i386.h |  15 ++++
 risu_reginfo_i386.c | 194 ++++++++++++++++++++++++++++++++++++++++++--
 test_i386.S         |  39 +++++++++
 3 files changed, 243 insertions(+), 5 deletions(-)

-- 
2.17.1