diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-05-14 10:13:07 -0500 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-19 12:15:46 -0500 |
| commit | 1e92b7275c633cada8f8b6fc919b350bafdfc17c (patch) | |
| tree | 12c6a75c2fee521621381f70051a2d3398541af6 /scripts/qapi/source.py | |
| parent | beedb93c04bd90868d49f640cdf9dbb439c9fa8f (diff) | |
| download | focaccia-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/source.py')
0 files changed, 0 insertions, 0 deletions