xemu/target
Philippe Mathieu-Daudé 94956d7b51 bulk: Call in place single use cpu_env()
Avoid CPUArchState local variable when cpu_env() is used once.

Mechanical patch using the following Coccinelle spatch script:

 @@
 type CPUArchState;
 identifier env;
 expression cs;
 @@
  {
 -    CPUArchState *env = cpu_env(cs);
      ... when != env
 -     env
 +     cpu_env(cs)
      ... when != env
  }

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240129164514.73104-5-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-03-12 11:46:16 +01:00
..
alpha target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only 2024-02-29 11:35:37 -10:00
arm bulk: Access existing variables initialized to &S->F when available 2024-03-12 11:46:16 +01:00
avr gdbstub: Infer number of core registers from XML 2024-02-28 09:09:58 +00:00
cris include/exec: Change cpu_mmu_index argument to CPUState 2024-02-03 16:46:10 +10:00
hexagon gdbstub: Infer number of core registers from XML 2024-02-28 09:09:58 +00:00
hppa bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
i386 bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
loongarch bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
m68k bulk: Access existing variables initialized to &S->F when available 2024-03-12 11:46:16 +01:00
microblaze gdbstub: Infer number of core registers from XML 2024-02-28 09:09:58 +00:00
mips target/mips: Remove the unused DisasContext::saar field 2024-02-15 15:53:12 +01:00
nios2 kconfig: use "select" to enable semihosting 2024-02-09 17:52:30 +00:00
openrisc include/exec: Change cpu_mmu_index argument to CPUState 2024-02-03 16:46:10 +10:00
ppc bulk: Access existing variables initialized to &S->F when available 2024-03-12 11:46:16 +01:00
riscv target/riscv: Fix privilege mode of G-stage translation for debugging 2024-03-08 20:48:03 +10:00
rx bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
s390x target/s390x/cpu_models: Fix missing ERRP_GUARD() for error_prepend() 2024-03-12 11:45:45 +01:00
sh4 bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
sparc accel/tcg: Add tlb_fill_flags to CPUTLBEntryFull 2024-03-05 13:22:56 +00:00
tricore include/exec: Change cpu_mmu_index argument to CPUState 2024-02-03 16:46:10 +10:00
xtensa kconfig: use "select" to enable semihosting 2024-02-09 17:52:30 +00:00
Kconfig hw/loongarch: Add support loongson3 virt machine type. 2022-06-06 18:09:03 +00:00
meson.build target: Make qemu_target_page_mask() available for *-user 2024-01-29 21:04:10 +10:00
target-common.c target: Make qemu_target_page_mask() available for *-user 2024-01-29 21:04:10 +10:00