target/i386: use cpu_cc_dst for CC_OP_POPCNT
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2024 09:07:39 +0000 (11:07 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Jun 2024 12:44:52 +0000 (14:44 +0200)
commit944f4001346019a3cd05567695aa48830c904626
tree5313ced23c6300d42cd865ef8639b7da892bbe6c
parente36b976da4f6f4c0d434e6bb811f60b7b445e8ea
target/i386: use cpu_cc_dst for CC_OP_POPCNT

It is the only CCOp, among those that compute ZF from one of the cc_op_*
registers, that uses cpu_cc_src.  Do not make it the odd one off,
instead use cpu_cc_dst like the others.

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