qemu-e2k/target/hppa
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
..
Kconfig
cpu-param.h target/hppa: Reduce TARGET_PHYS_ADDR_SPACE_BITS to 40 2023-11-13 09:21:32 -08:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c target/hppa: Restore unwind_breg before calculating ior 2024-03-03 06:41:19 +01:00
cpu.h target/hppa: Implement do_transaction_failed handler for I/O errors 2024-02-11 13:20:23 +01:00
fpu_helper.c target/hppa: Extract FPU helpers to fpu_helper.c 2023-02-27 22:29:01 +01:00
gdbstub.c target/hppa: Drop attempted gdbstub support for hppa64 2023-11-06 18:49:34 -08:00
helper.c target: hppa: Fix unaligned double word accesses for hppa64 2024-03-03 06:38:34 +01:00
helper.h target/hppa: Add "diag 0x101" for console output support 2024-02-11 13:20:23 +01:00
insns.decode target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
int_helper.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
machine.c target/hppa: Constify VMState in machine.c 2023-12-29 11:17:30 +11:00
mem_helper.c bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
op_helper.c target/hppa: Restore unwind_breg before calculating ior 2024-03-03 06:41:19 +01:00
sys_helper.c target/hppa: Add "diag 0x101" for console output support 2024-02-11 13:20:23 +01:00
trace-events target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
trace.h
translate.c bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00