diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-09 12:36:48 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 12:13:27 +0100 |
commit | bcb9d2ea77dc83ba2591559fa2052a8ca63e591f (patch) | |
tree | 1173476627e70891a31269387645dfddfb8d43a8 /scripts/feature_to_c.py | |
parent | 2c6822cd59d5c016bb4e9e36143ad60215f9ff09 (diff) | |
download | qemu-bcb9d2ea77dc83ba2591559fa2052a8ca63e591f.zip qemu-bcb9d2ea77dc83ba2591559fa2052a8ca63e591f.tar.gz qemu-bcb9d2ea77dc83ba2591559fa2052a8ca63e591f.tar.bz2 |
target/xtensa: Use env_archcpu() in update_c[compare|count]()
When CPUArchState* is available (here CPUXtensaState*), we
can use the fast env_archcpu() macro to get ArchCPU* (here
XtensaCPU*). The QOM cast XTENSA_CPU() macro will be slower
when building with --enable-qom-cast-debug.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20231009110239.66778-5-philmd@linaro.org>
Diffstat (limited to 'scripts/feature_to_c.py')
0 files changed, 0 insertions, 0 deletions