aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-12-28 13:05:24 +0100
committerRichard Henderson <richard.henderson@linaro.org>2024-01-11 08:46:35 +1100
commitafa37be4b4b0cd36150db7d62ab68f2673f7589a (patch)
treee39c00f5e37b4a4c20f61706ccf684b21c31581a /scripts/qapi/parser.py
parent64708db302edfe57474239a51d4dad4466fac44a (diff)
downloadqemu-afa37be4b4b0cd36150db7d62ab68f2673f7589a.zip
qemu-afa37be4b4b0cd36150db7d62ab68f2673f7589a.tar.gz
qemu-afa37be4b4b0cd36150db7d62ab68f2673f7589a.tar.bz2
tcg/i386: use 8-bit OR or XOR for unsigned 8-bit immediates
In the case where OR or XOR has an 8-bit immediate between 128 and 255, we can operate on a low-byte register and shorten the output by two or three bytes (two if a prefix byte is needed for REX.B). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20231228120524.70239-1-pbonzini@redhat.com> [rth: Incorporate into switch.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions