[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5] i386/cpu_dump: support AVX512 ZMM regs dump

From: Richard Henderson
Subject: Re: [PATCH v5] i386/cpu_dump: support AVX512 ZMM regs dump
Date: Fri, 16 Apr 2021 10:27:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/15/21 7:08 PM, Robert Hoo wrote:
Since commit fa4518741e (target-i386: Rename struct XMMReg to ZMMReg),
CPUX86State.xmm_regs[] has already been extended to 512bit to support
Also, other qemu level supports for AVX512 registers are there for
But in x86_cpu_dump_state(), still only dump XMM registers no matter
YMM/ZMM is enabled.
This patch is to complement this, let it dump XMM/YMM/ZMM accordingly.

Signed-off-by: Robert Hoo<robert.hu@linux.intel.com>
v5: fix a minor issue. rebase to latest master.
v4: stringent AVX512 case and AVX case judgement criteria
v3: fix some coding style issue.
v2: dump XMM/YMM/ZMM according to XSAVE state-components enablement.
  target/i386/cpu-dump.c | 62 ++++++++++++++++++++++++++++++++++++++------------
  1 file changed, 47 insertions(+), 15 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]