]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386: rename zext0/zext2 and make them closer to the manual
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Oct 2023 21:14:34 +0000 (23:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Dec 2023 21:03:11 +0000 (22:03 +0100)
commit5baf5641cc82fe18e98c1063d8682be9cdcae85c
treeda1f4cde38613bbfdfa29656b919101ded26eede
parent6dd2afed55320eef86873531fe05185be750727f
target/i386: rename zext0/zext2 and make them closer to the manual

X86_SPECIAL_ZExtOp0 and X86_SPECIAL_ZExtOp2 are poorly named; they are a hack
that is needed by scalar insertion and extraction instructions, and not really
related to zero extension: for PEXTR the zero extension is done by the generation
functions, for PINSR the high bits are not used at all and in fact are *not*
filled with zeroes when loaded into s->T1.

Rename the values to match the effect described in the manual, and explain
better in the comments.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc
target/i386/tcg/decode-new.h