qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RISU 0/2] i386 support for avx
@ 2019-04-09  4:13 Richard Henderson
  2019-04-09  4:13 ` Richard Henderson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Richard Henderson @ 2019-04-09  4:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: jan.bobek

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-09  4:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-09  4:13 [Qemu-devel] [RISU 0/2] i386 support for avx Richard Henderson
2019-04-09  4:13 ` Richard Henderson
2019-04-09  4:13 ` [Qemu-devel] [PATCH 1/2] i386: Add avx512 state to reginfo_t Richard Henderson
2019-04-09  4:13   ` Richard Henderson
2019-04-09  4:13 ` [Qemu-devel] [PATCH 2/2] HACK: Test avx2 state Richard Henderson
2019-04-09  4:13   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).