summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorPaul Brook <paul@nowt.org>2022-04-24 23:01:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-01 20:16:33 +0200
commit36fc7ee299cf7901e372fec31b46b5367b55f9f5 (patch)
tree2c7984410000fddf041c668286289de831141e91 /scripts/qapi/source.py
parentda1a7edb5d790757b266462ab5d5e80b6a98214e (diff)
downloadfocaccia-qemu-36fc7ee299cf7901e372fec31b46b5367b55f9f5.tar.gz
focaccia-qemu-36fc7ee299cf7901e372fec31b46b5367b55f9f5.zip
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>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions