]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: use shr to load high-byte registers into T0/T1
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Nov 2024 12:01:45 +0000 (13:01 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jan 2025 22:34:44 +0000 (23:34 +0100)
commitef682b08a0b52f4e6d9d790e26291f146e05734a
treeabdf8f8ba3833ac9794ab9658ad6309d9c70c83a
parent88716ae79f89bd6510f0c9e182a73ad40d1ff531
target/i386: use shr to load high-byte registers into T0/T1

Using a sextract or extract operation is only necessary if a
sign or zero extended value is needed.  If not, a shift is
enough.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/emit.c.inc
target/i386/tcg/translate.c