summary refs log tree commit diff stats
path: root/scripts/qapi/schema.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-05-14 10:13:07 -0500
committerRichard Henderson <richard.henderson@linaro.org>2021-05-19 12:15:46 -0500
commit1e92b7275c633cada8f8b6fc919b350bafdfc17c (patch)
tree12c6a75c2fee521621381f70051a2d3398541af6 /scripts/qapi/schema.py
parentbeedb93c04bd90868d49f640cdf9dbb439c9fa8f (diff)
downloadfocaccia-qemu-1e92b7275c633cada8f8b6fc919b350bafdfc17c.tar.gz
focaccia-qemu-1e92b7275c633cada8f8b6fc919b350bafdfc17c.zip
target/i386: Introduce REX_PREFIX
The existing flag, x86_64_hregs, does not accurately describe
its setting.  It is true if and only if a REX prefix has been
seen.  Yes, that affects the "h" regs, but that's secondary.

Add PREFIX_REX and include this bit in s->prefix.  Add REX_PREFIX
so that the check folds away when x86_64 is compiled out.

Fold away the reg >= 8 check, because bit 3 of the register
number comes from the REX prefix in the first place.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-16-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions