OSDN Git Service

target/i386: Add ZMM_OFFSET macro
authorPaul Brook <paul@nowt.org>
Sun, 24 Apr 2022 22:01:30 +0000 (23:01 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Sep 2022 18:16:33 +0000 (20:16 +0200)
commit36fc7ee299cf7901e372fec31b46b5367b55f9f5
tree2c7984410000fddf041c668286289de831141e91
parentda1a7edb5d790757b266462ab5d5e80b6a98214e
target/i386: Add ZMM_OFFSET macro

Add a convenience macro to get the address of an xmm_regs element within
CPUX86State.

This was originally going to be the basis of an implementation that broke
operations into 128 bit chunks. I scrapped that idea, so this is now a purely
cosmetic change. But I think a worthwhile one - it reduces the number of
function calls that need to be split over multiple lines.

No functional changes.

Signed-off-by: Paul Brook <paul@nowt.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220424220204.2493824-9-paul@nowt.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c