[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 14/29] target/i386: Prefer fast cpu_env() over slower CPU QOM cast macro



On 29/1/24 17:44, Philippe Mathieu-Daudé wrote:
Mechanical patch produced running the command documented
in scripts/coccinelle/cpu_env.cocci_template header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
---
  target/i386/hvf/vmx.h                | 13 ++-------
  hw/i386/fw_cfg.c                     |  3 +-
  hw/i386/vmmouse.c                    |  6 ++--
  hw/i386/xen/xen-hvm.c                |  3 +-
  target/i386/arch_dump.c              | 11 ++------
  target/i386/arch_memory_mapping.c    |  3 +-
  target/i386/cpu-dump.c               |  3 +-
  target/i386/cpu.c                    | 37 ++++++++----------------
  target/i386/helper.c                 | 42 ++++++++--------------------
  target/i386/hvf/hvf.c                |  8 ++----
  target/i386/hvf/x86.c                |  4 +--
  target/i386/hvf/x86_emu.c            |  6 ++--
  target/i386/hvf/x86_task.c           | 10 ++-----
  target/i386/hvf/x86hvf.c             |  9 ++----
  target/i386/kvm/kvm.c                |  6 ++--
  target/i386/kvm/xen-emu.c            | 32 +++++++--------------
  target/i386/tcg/sysemu/bpt_helper.c  |  3 +-
  target/i386/tcg/sysemu/excp_helper.c |  3 +-
  target/i386/tcg/tcg-cpu.c            | 14 +++-------
  target/i386/tcg/user/excp_helper.c   |  6 ++--
  target/i386/tcg/user/seg_helper.c    |  3 +-
  21 files changed, 67 insertions(+), 158 deletions(-)

Actually this one had:

Reviewed-by: Richard Henderson <richard.henderson@xxxxxxxxxx>
Acked-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
Reviewed-by: Zhao Liu <zhao1.liu@xxxxxxxxx>

But since I addressed Zhao's suggestion in patch 1
("bulk: Access existing variables initialized to &S->F when available")
which added more changes to this patch, I dropped the tags.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.