diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-06-30 19:51:11 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-31 18:28:33 +0100 |
commit | c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81 (patch) | |
tree | ed6c9979d5ac475c6f766b8f1607f882a2ad5db7 /include/hw/qdev-core.h | |
parent | a635390f05f37e6e1d3ce2850a1d8564be0081ad (diff) | |
download | qemu-c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81.zip qemu-c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81.tar.gz qemu-c2954745f2c1ed0c8b8fe7c47c2b09479e3c6d81.tar.bz2 |
target/i386: Tidy cc_op_str usage
Make const. Use the read-only strings directly; do not copy
them into an on-stack buffer with snprintf. Allow for holes
in the cc_op_str array, now present with CC_OP_POPCNT.
Fixes: 460231ad369 ("target/i386: give CC_OP_POPCNT low bits corresponding to MO_TL")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20240701025115.1265117-2-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions