diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-15 10:06:08 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-23 11:35:33 +0100 |
commit | 365811602572054b1c1173b19e8fd28689d827d9 (patch) | |
tree | 476edcb0d99108e491db8c8c32402d203b070874 /rust/qemu-api/src | |
parent | 6986cf003226ddf7e5af36a9f4f033cb16c8636c (diff) | |
download | qemu-365811602572054b1c1173b19e8fd28689d827d9.zip qemu-365811602572054b1c1173b19e8fd28689d827d9.tar.gz qemu-365811602572054b1c1173b19e8fd28689d827d9.tar.bz2 |
target/i386: do not use gen_op_jz_ecx for repeated string operations
Explicitly generate a TSTEQ branch (which is optimized to NE x,0 if possible).
This does not make much sense yet, but later we will add more checks and some
will use a temporary to check on the decremented value of CX/ECX/RCX; it will
be clearer for all checks to share the same logic using TSTEQ(reg, cx_mask).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20241215090613.89588-10-pbonzini@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions