summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-10-27 04:22:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-12-29 22:04:15 +0100
commitd4f611711a9abe23616d6d965fba955340d11d0d (patch)
tree5ed2a40fd2714a14d4ded0c62ed094c7159a390e /scripts/qapi/expr.py
parent3497f1646f603c396248451c6df8f9d979060351 (diff)
downloadfocaccia-qemu-d4f611711a9abe23616d6d965fba955340d11d0d.tar.gz
focaccia-qemu-d4f611711a9abe23616d6d965fba955340d11d0d.zip
target/i386: move operand load and writeback out of gen_cmovcc1
Similar to gen_setcc1, make gen_cmovcc1 receive TCGv.  This is more friendly
to simultaneous implementation in the old and the new decoder.

A small wart is that s->T0 of CMOV is currently the *second* argument (which
would ordinarily be in T1).  Therefore, the condition has to be inverted in
order to overwrite s->T0 with cpu_regs[reg] if the MOV is not performed.

This only applies to the old decoder, and this code will go away soon.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions