qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 0c4d7d: exec/helper-head: Include missing "fp


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 0c4d7d: exec/helper-head: Include missing "fpu/softfloat-t...
Date: Wed, 01 Mar 2023 11:19:51 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 0c4d7ddbd38038aa2aff6a3a61996ef8d6b1f559
      
https://github.com/qemu/qemu/commit/0c4d7ddbd38038aa2aff6a3a61996ef8d6b1f559
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M include/exec/helper-head.h

  Log Message:
  -----------
  exec/helper-head: Include missing "fpu/softfloat-types.h" header

'dh_ctype_f32' is defined as 'float32', itself declared
in "fpu/softfloat-types.h". Include this header to avoid
when refactoring other headers:

  In file included from include/exec/helper-proto.h:7,
                   from include/tcg/tcg-op.h:29,
                   from ../../tcg/tcg-op-vec.c:22:
  include/exec/helper-head.h:44:22: error: unknown type name ‘float32’; did you 
mean ‘_Float32’?
     44 | #define dh_ctype_f32 float32
        |                      ^~~~~~~

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216225202.25664-1-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4a73aee88140fe7e4930375d3c786b10b2b5d447
      
https://github.com/qemu/qemu/commit/4a73aee88140fe7e4930375d3c786b10b2b5d447
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M softmmu/physmem.c

  Log Message:
  -----------
  softmmu: Use memmove in flatview_write_continue

We found a case where the source passed to flatview_write_continue() may
overlap with the destination when fuzzing igb, a new proposed network
device with sanitizers.

igb uses pci_dma_map() to get Tx packet, and pci_dma_write() to write Rx
buffer. While pci_dma_write() is usually used to write data from
memory not mapped to the guest, if igb is configured to perform
loopback, the data will be sourced from the guest memory. The source and
destination can overlap and the usage of memcpy() will be invalid in
such a case.

While we do not really have to deal with such an invalid request for
igb, detecting the overlap in igb code beforehand requires complex code,
and only covers this specific case. Instead, just replace memcpy() with
memmove() to tolerate overlaps. Using memmove() will slightly damage the
performance as it will need to check overlaps before using SIMD
instructions for copying, but the cost should be negligible, considering
the inherent complexity of flatview_write_continue().

The test cases generated by the fuzzer is available at:
https://patchew.org/QEMU/20230129053316.1071513-1-alxndr@bu.edu/

The fixed test case is:
fuzz/crash_47dfe62d9f911bf523ff48cd441b61c0013ed805

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: Alexander Bulekov <alxndr@bu.edu>
Acked-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230131030155.18932-1-akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1770b2f2d3d6fe8f1e2d61692692264cac44340d
      
https://github.com/qemu/qemu/commit/1770b2f2d3d6fe8f1e2d61692692264cac44340d
  Author: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M accel/stubs/tcg-stub.c
    M accel/tcg/cputlb.c
    M accel/tcg/user-exec.c
    M include/exec/exec-all.h
    M semihosting/uaccess.c
    M target/arm/ptw.c
    M target/arm/tcg/sve_helper.c
    M target/s390x/tcg/mem_helper.c

  Log Message:
  -----------
  accel/tcg: Add 'size' param to probe_access_flags()

probe_access_flags() as it is today uses probe_access_full(), which in
turn uses probe_access_internal() with size = 0. probe_access_internal()
then uses the size to call the tlb_fill() callback for the given CPU.
This size param ('fault_size' as probe_access_internal() calls it) is
ignored by most existing .tlb_fill callback implementations, e.g.
arm_cpu_tlb_fill(), ppc_cpu_tlb_fill(), x86_cpu_tlb_fill() and
mips_cpu_tlb_fill() to name a few.

But RISC-V riscv_cpu_tlb_fill() actually uses it. The 'size' parameter
is used to check for PMP (Physical Memory Protection) access. This is
necessary because PMP does not make any guarantees about all the bytes
of the same page having the same permissions, i.e. the same page can
have different PMP properties, so we're forced to make sub-page range
checks. To allow RISC-V emulation to do a probe_acess_flags() that
covers PMP, we need to either add a 'size' param to the existing
probe_acess_flags() or create a new interface (e.g.
probe_access_range_flags).

There are quite a few probe_* APIs already, so let's add a 'size' param
to probe_access_flags() and re-use this API. This is done by open coding
what probe_access_full() does inside probe_acess_flags() and passing the
'size' param to probe_acess_internal(). Existing probe_access_flags()
callers use size = 0 to not change their current API usage. 'size' is
asserted to enforce single page access like probe_access() already does.

No behavioral changes intended.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230223234427.521114-2-dbarboza@ventanamicro.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d507e6c565c8c44488eaf04ff4da3ba2183c6be5
      
https://github.com/qemu/qemu/commit/d507e6c565c8c44488eaf04ff4da3ba2183c6be5
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M accel/tcg/cputlb.c
    M include/exec/exec-all.h
    M target/arm/ptw.c
    M target/arm/tcg/mte_helper.c
    M target/arm/tcg/sve_helper.c
    M target/arm/tcg/translate-a64.c
    M target/i386/tcg/sysemu/excp_helper.c

  Log Message:
  -----------
  accel/tcg: Add 'size' param to probe_access_full

Change to match the recent change to probe_access_flags.
All existing callers updated to supply 0, so no change in behaviour.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5b6dfc6c9b56372b674ceeabde26f1260c663645
      
https://github.com/qemu/qemu/commit/5b6dfc6c9b56372b674ceeabde26f1260c663645
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/exec/exec-all.h

  Log Message:
  -----------
  include/exec: Introduce `CF_PCREL`

Adds a new field to TranslationBlock.cflags denoting whether or not the
instructions of a given translation block are pc-relative. This field
aims to replace the macro `TARGET_TB_PCREL`.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-2-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 492f8b88aeffb36dbcd736f4e5add67ceda299c4
      
https://github.com/qemu/qemu/commit/492f8b88aeffb36dbcd736f4e5add67ceda299c4
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386: set `CF_PCREL` in `x86_cpu_realizefn`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-3-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e607ea39efc5e091e89759c0957fe7a41c87a290
      
https://github.com/qemu/qemu/commit/e607ea39efc5e091e89759c0957fe7a41c87a290
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/arm/cpu.c

  Log Message:
  -----------
  target/arm: set `CF_PCREL` in `arm_cpu_realizefn`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-4-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4be790263ffc86390e8b63d4ebc9cde809efadfa
      
https://github.com/qemu/qemu/commit/4be790263ffc86390e8b63d4ebc9cde809efadfa
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M accel/tcg/internal.h
    M accel/tcg/perf.c
    M accel/tcg/tb-jmp-cache.h
    M accel/tcg/tb-maint.c
    M accel/tcg/translate-all.c

  Log Message:
  -----------
  accel/tcg: Replace `TARGET_TB_PCREL` with `CF_PCREL`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-5-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1fad5fce1912a3ee94ae17efabcdb900442874d7
      
https://github.com/qemu/qemu/commit/1fad5fce1912a3ee94ae17efabcdb900442874d7
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/exec/exec-all.h

  Log Message:
  -----------
  include/exec: Replace `TARGET_TB_PCREL` with `CF_PCREL`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-6-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 03a648c4b85c919d54b5f23abe498a5bad8a6669
      
https://github.com/qemu/qemu/commit/03a648c4b85c919d54b5f23abe498a5bad8a6669
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/arm/cpu.c
    M target/arm/tcg/translate-a64.c
    M target/arm/tcg/translate.c
    M target/arm/tcg/translate.h

  Log Message:
  -----------
  target/arm: Replace `TARGET_TB_PCREL` with `CF_PCREL`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-7-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 2e3afe8e1976bd49e6cf80113023bf63d9d7b11b
      
https://github.com/qemu/qemu/commit/2e3afe8e1976bd49e6cf80113023bf63d9d7b11b
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/i386/helper.c
    M target/i386/tcg/tcg-cpu.c
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: Replace `TARGET_TB_PCREL` with `CF_PCREL`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-8-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ea5446a8bebfb7026a5d86aaf60d3e59c397f9ce
      
https://github.com/qemu/qemu/commit/ea5446a8bebfb7026a5d86aaf60d3e59c397f9ce
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/exec/cpu-defs.h

  Log Message:
  -----------
  include/exec: Remove `TARGET_TB_PCREL` define

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-9-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 48fbcf5c6c630eb169a5f60b6a9f00ae2ae5de87
      
https://github.com/qemu/qemu/commit/48fbcf5c6c630eb169a5f60b6a9f00ae2ae5de87
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/arm/cpu-param.h

  Log Message:
  -----------
  target/arm: Remove `TARGET_TB_PCREL` define

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-10-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f6680c5ea4d861a182be2248d5324bf1d5b3d97b
      
https://github.com/qemu/qemu/commit/f6680c5ea4d861a182be2248d5324bf1d5b3d97b
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/i386/cpu-param.h

  Log Message:
  -----------
  target/i386: Remove `TARGET_TB_PCREL` define

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-11-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 2dd5b7a1b91562e52053e37cc95614c3af7d63c4
      
https://github.com/qemu/qemu/commit/2dd5b7a1b91562e52053e37cc95614c3af7d63c4
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M accel/tcg/tb-jmp-cache.h

  Log Message:
  -----------
  accel/tcg: Move jmp-cache `CF_PCREL` checks to caller

tb-jmp-cache.h contains a few small functions that only exist to hide a
CF_PCREL check, however the caller often already performs such a check.

This patch moves CF_PCREL checks from the callee to the caller, and also
removes these functions which now only hide an access of the jmp-cache.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-12-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 279513c766ed988d12b866d238cb5b783898ec38
      
https://github.com/qemu/qemu/commit/279513c766ed988d12b866d238cb5b783898ec38
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M accel/tcg/internal.h
    M accel/tcg/tb-maint.c
    M accel/tcg/translate-all.c

  Log Message:
  -----------
  accel/tcg: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-13-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 25acb5e442840514be9ab26888ee14eda3c1dc31
      
https://github.com/qemu/qemu/commit/25acb5e442840514be9ab26888ee14eda3c1dc31
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/tricore/cpu.c

  Log Message:
  -----------
  target/tricore: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-14-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c4bf3a92264e13b4468737fce36f08f8028c74d1
      
https://github.com/qemu/qemu/commit/c4bf3a92264e13b4468737fce36f08f8028c74d1
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/sparc/cpu.c

  Log Message:
  -----------
  target/sparc: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-15-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: dd69c77cc67f879da04bddc65a07c96a9f13be63
      
https://github.com/qemu/qemu/commit/dd69c77cc67f879da04bddc65a07c96a9f13be63
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/sh4/cpu.c

  Log Message:
  -----------
  target/sh4: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-16-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8023d1abcdd42f2f5d171229a2f52c6eb0153f19
      
https://github.com/qemu/qemu/commit/8023d1abcdd42f2f5d171229a2f52c6eb0153f19
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/rx/cpu.c

  Log Message:
  -----------
  target/rx: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-17-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0489d5bd0607da8d596ce873e5bbd5ea6848bfb4
      
https://github.com/qemu/qemu/commit/0489d5bd0607da8d596ce873e5bbd5ea6848bfb4
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/riscv/cpu.c

  Log Message:
  -----------
  target/riscv: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-18-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1aca4a2b319f5bf3734a78c41958d6a246df8778
      
https://github.com/qemu/qemu/commit/1aca4a2b319f5bf3734a78c41958d6a246df8778
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/openrisc/cpu.c

  Log Message:
  -----------
  target/openrisc: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-19-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 420bf265bea22405df81f486e5e9ffd62e3bc3df
      
https://github.com/qemu/qemu/commit/420bf265bea22405df81f486e5e9ffd62e3bc3df
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/mips/tcg/exception.c
    M target/mips/tcg/sysemu/special_helper.c

  Log Message:
  -----------
  target/mips: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-20-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ca647d4564c91b8f2ba48218d33aebcad7bff12b
      
https://github.com/qemu/qemu/commit/ca647d4564c91b8f2ba48218d33aebcad7bff12b
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/microblaze/cpu.c

  Log Message:
  -----------
  target/microblaze: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-21-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e83cf1c119bcc7a822f124797b30c6e203798d23
      
https://github.com/qemu/qemu/commit/e83cf1c119bcc7a822f124797b30c6e203798d23
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/loongarch/cpu.c

  Log Message:
  -----------
  target/loongarch: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-22-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 34a39c2443519c5cc1494829871c4ec80677306e
      
https://github.com/qemu/qemu/commit/34a39c2443519c5cc1494829871c4ec80677306e
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/i386/tcg/tcg-cpu.c

  Log Message:
  -----------
  target/i386: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-23-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 2554f80f38da81b00f56c8c36bf56a90836f82a0
      
https://github.com/qemu/qemu/commit/2554f80f38da81b00f56c8c36bf56a90836f82a0
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/hppa/cpu.c

  Log Message:
  -----------
  target/hppa: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-24-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ba44565588fe5b6fd1bf416d2b66d7e1a82e4c3e
      
https://github.com/qemu/qemu/commit/ba44565588fe5b6fd1bf416d2b66d7e1a82e4c3e
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/hexagon/cpu.c

  Log Message:
  -----------
  target/hexagon: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20230227135202.9710-25-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 604b66ce5e46711960b95241d0713cd8c1896907
      
https://github.com/qemu/qemu/commit/604b66ce5e46711960b95241d0713cd8c1896907
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/avr/cpu.c

  Log Message:
  -----------
  target/avr: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-26-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f51a1dd72f5ee0714d2258e3f53b6b2471074c1a
      
https://github.com/qemu/qemu/commit/f51a1dd72f5ee0714d2258e3f53b6b2471074c1a
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/arm/cpu.c

  Log Message:
  -----------
  target/arm: Replace `tb_pc()` with `tb->pc`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-27-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 640be074fa1cadf4b1447c122efaaa2987fa774a
      
https://github.com/qemu/qemu/commit/640be074fa1cadf4b1447c122efaaa2987fa774a
  Author: Anton Johansson <anjo@rev.ng>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/exec/exec-all.h

  Log Message:
  -----------
  include/exec: Remove `tb_pc()`

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-28-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0ef3d7045b565861496a6cb8460acc5d3bc80744
      
https://github.com/qemu/qemu/commit/0ef3d7045b565861496a6cb8460acc5d3bc80744
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Adjust TCGContext.temps_in_use check

Change the temps_in_use check to use assert not fprintf.
Move the assert for double-free before the check for count,
since that is the more immediate problem.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 597f9b2d30b612d760f9f48fe04cda29bf628e67
      
https://github.com/qemu/qemu/commit/597f9b2d30b612d760f9f48fe04cda29bf628e67
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/translate-all.c
    M accel/tcg/translator.c
    M include/exec/translator.h
    M target/alpha/translate.c
    M target/arm/tcg/translate.c
    M target/avr/translate.c
    M target/cris/translate.c
    M target/hexagon/translate.c
    M target/hppa/translate.c
    M target/i386/tcg/translate.c
    M target/loongarch/translate.c
    M target/m68k/translate.c
    M target/microblaze/translate.c
    M target/mips/tcg/translate.c
    M target/nios2/translate.c
    M target/openrisc/translate.c
    M target/ppc/translate.c
    M target/riscv/translate.c
    M target/rx/translate.c
    M target/s390x/tcg/translate.c
    M target/sh4/translate.c
    M target/sparc/translate.c
    M target/tricore/translate.c
    M target/xtensa/translate.c

  Log Message:
  -----------
  accel/tcg: Pass max_insn to gen_intermediate_code by pointer

In preparation for returning the number of insns generated
via the same pointer.  Adjust only the prototypes so far.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9b1890ad901bd22352b8a9598220df51fe8b0d41
      
https://github.com/qemu/qemu/commit/9b1890ad901bd22352b8a9598220df51fe8b0d41
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/translator.c

  Log Message:
  -----------
  accel/tcg: Use more accurate max_insns for tb_overflow

Write back the number of insns that we attempt to translate,
so that if we longjmp out we have a more accurate limit for
the next attempt.  This results in fewer restarts when some
limit is consumed by few instructions.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4d89d0bb8f01060b18f94d84c2dcea573bdd1381
      
https://github.com/qemu/qemu/commit/4d89d0bb8f01060b18f94d84c2dcea573bdd1381
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Remove branch-to-next regardless of reference count

Just because the label reference count is more than 1 does
not mean we cannot remove a branch-to-next.  By doing this
first, the label reference count may drop to 0, and then
the label itself gets removed as before.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f57c69156cb7489a2850b1ace255616b90ba7f14
      
https://github.com/qemu/qemu/commit/f57c69156cb7489a2850b1ace255616b90ba7f14
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/optimize.c
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Rename TEMP_LOCAL to TEMP_TB

Use TEMP_TB as that is more explicit about the default
lifetime of the data.  While "global" and "local" used
to be contrasting, we have more lifetimes than that now.

Do not yet rename tcg_temp_local_new_*, just the enum.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9bbee4c01c2c249ec800ca10ae6d37ca1b8d0732
      
https://github.com/qemu/qemu/commit/9bbee4c01c2c249ec800ca10ae6d37ca1b8d0732
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Use noinline for major tcg_gen_code subroutines

This makes it easier to assign blame with perf.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 874b85746107d4acf6ad6f28393cf45ef833e1ee
      
https://github.com/qemu/qemu/commit/874b85746107d4acf6ad6f28393cf45ef833e1ee
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Add liveness_pass_0

Attempt to reduce the lifetime of TEMP_TB.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0218e04015b197ff2056e2ce892339f16055de7f
      
https://github.com/qemu/qemu/commit/0218e04015b197ff2056e2ce892339f16055de7f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Remove TEMP_NORMAL

TEMP_NORMAL is a subset of TEMP_EBB.  Promote single basic
block temps to single extended basic block.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: bbf989bf623fd4414969b1798f5cee1f02b80885
      
https://github.com/qemu/qemu/commit/bbf989bf623fd4414969b1798f5cee1f02b80885
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Pass TCGTempKind to tcg_temp_new_internal

While the argument can only be TEMP_EBB or TEMP_TB,
it's more obvious this way.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d5c3c6f6f1c5318ef21a3c205687aeb5ade4e23d
      
https://github.com/qemu/qemu/commit/d5c3c6f6f1c5318ef21a3c205687aeb5ade4e23d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/exec/gen-icount.h

  Log Message:
  -----------
  tcg: Use tcg_constant_i32 in tcg_gen_io_start

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 94586f73184a974125e0a3239f84e12ad22d8f58
      
https://github.com/qemu/qemu/commit/94586f73184a974125e0a3239f84e12ad22d8f58
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg-op.h

  Log Message:
  -----------
  tcg: Add tcg_gen_movi_ptr

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 349208bfb0f261fedccbc78202c1425a75bcb5d2
      
https://github.com/qemu/qemu/commit/349208bfb0f261fedccbc78202c1425a75bcb5d2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg.h

  Log Message:
  -----------
  tcg: Add tcg_temp_ebb_new_{i32,i64,ptr}

TCG internals will want to be able to allocate and reuse
explicitly life-limited temporaries.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5dd48602ffc8356528ca279e77e51f0bb3ca6805
      
https://github.com/qemu/qemu/commit/5dd48602ffc8356528ca279e77e51f0bb3ca6805
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tcg/tcg-op-gvec.c
    M tcg/tcg-op.c
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Use tcg_temp_ebb_new_* in tcg/

All of these have obvious and quite local scope.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e198641015368b77b3de08d891e26e97fb775159
      
https://github.com/qemu/qemu/commit/e198641015368b77b3de08d891e26e97fb775159
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tcg/tcg-op-gvec.c

  Log Message:
  -----------
  tcg: Use tcg_constant_ptr in do_dup

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 713f263a367419b8215c84ed796e80a1cf2708cf
      
https://github.com/qemu/qemu/commit/713f263a367419b8215c84ed796e80a1cf2708cf
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/plugin-gen.c

  Log Message:
  -----------
  accel/tcg/plugin: Use tcg_temp_ebb_*

All of these uses have quite local scope.
Avoid tcg_const_*, because we haven't added a corresponding
interface for TEMP_EBB.  Use explicit tcg_gen_movi_* instead.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4013884346f3bb0838f09e41dac6e735f6f576c2
      
https://github.com/qemu/qemu/commit/4013884346f3bb0838f09e41dac6e735f6f576c2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/tcg/plugin-gen.c

  Log Message:
  -----------
  accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers

Here we are creating a temp whose value needs to be replaced,
but always storing NULL into CPUState.plugin_mem_cbs.
Use tcg_constant_ptr(0) explicitly.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e1c08b002d280ef6356ebb6ec33767354cbc21b1
      
https://github.com/qemu/qemu/commit/e1c08b002d280ef6356ebb6ec33767354cbc21b1
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Don't re-use TEMP_TB temporaries

Reusing TEMP_TB interferes with detecting whether the
temp can be adjusted to TEMP_EBB.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e2e641fa3d5e730f128562d6901dcc729c9bf8a0
      
https://github.com/qemu/qemu/commit/e2e641fa3d5e730f128562d6901dcc729c9bf8a0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg.h

  Log Message:
  -----------
  tcg: Change default temp lifetime to TEMP_TB

Guest front-ends now get temps that span the lifetime of
the translation block by default, which avoids accidentally
using the temp across branches and invalidating the data.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 78817d3b9f560033dab5134422ac89f993bdde1c
      
https://github.com/qemu/qemu/commit/78817d3b9f560033dab5134422ac89f993bdde1c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/arm/tcg/translate-a64.c
    M target/arm/tcg/translate-a64.h
    M target/arm/tcg/translate-sve.c

  Log Message:
  -----------
  target/arm: Drop copies in gen_sve_{ldr,str}

Since we now get TEMP_TB temporaries by default, we no longer
need to make copies across these loops.  These were the only
uses of new_tmp_a64_local(), so remove that as well.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d4aa49acd367ca6498c3ddedc6eaf22e531d896e
      
https://github.com/qemu/qemu/commit/d4aa49acd367ca6498c3ddedc6eaf22e531d896e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/arm/tcg/translate-sve.c
    M target/arm/tcg/translate.c

  Log Message:
  -----------
  target/arm: Don't use tcg_temp_local_new_*

Since tcg_temp_new_* is now identical, use those.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5f153b12ab8d13669c650479df388708993eafa2
      
https://github.com/qemu/qemu/commit/5f153b12ab8d13669c650479df388708993eafa2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/cris/translate.c
    M target/cris/translate_v10.c.inc

  Log Message:
  -----------
  target/cris: Don't use tcg_temp_local_new

Since tcg_temp_new is now identical, use that.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7a819de850cce076fcb2456ea5e9d19433c02065
      
https://github.com/qemu/qemu/commit/7a819de850cce076fcb2456ea5e9d19433c02065
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/hexagon/README
    M target/hexagon/gen_tcg.h
    M target/hexagon/gen_tcg_funcs.py
    M target/hexagon/genptr.c
    M target/hexagon/idef-parser/README.rst
    M target/hexagon/idef-parser/parser-helpers.c
    M target/hexagon/translate.c

  Log Message:
  -----------
  target/hexagon: Don't use tcg_temp_local_new_*

Since tcg_temp_new_* is now identical, use those.

Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 839a0ff284b6b7338bde415c2c827177bd7adac1
      
https://github.com/qemu/qemu/commit/839a0ff284b6b7338bde415c2c827177bd7adac1
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/hexagon/idef-parser/parser-helpers.c

  Log Message:
  -----------
  target/hexagon/idef-parser: Drop gen_tmp_local

This is now equivalent to gen_tmp.

Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e3eb3dab50b6b8204e411820aa2021f432de2c62
      
https://github.com/qemu/qemu/commit/e3eb3dab50b6b8204e411820aa2021f432de2c62
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/hppa/translate.c

  Log Message:
  -----------
  target/hppa: Don't use tcg_temp_local_new

This wasn't actually used at all, just some unused
macro re-definitions.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 3a5d177322643c7539e04f959025e2def0ab5c81
      
https://github.com/qemu/qemu/commit/3a5d177322643c7539e04f959025e2def0ab5c81
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: Don't use tcg_temp_local_new

Since tcg_temp_new is now identical, use that.
In some cases we can avoid a copy from A0 or T0.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6180cc40271ff963b1b4b9d0663061b98a9ba90a
      
https://github.com/qemu/qemu/commit/6180cc40271ff963b1b4b9d0663061b98a9ba90a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/mips/tcg/nanomips_translate.c.inc
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Don't use tcg_temp_local_new

Since tcg_temp_new is now identical, use that.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9723281fbbc8ca50d327c2ab223be9a2e38d5587
      
https://github.com/qemu/qemu/commit/9723281fbbc8ca50d327c2ab223be9a2e38d5587
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/ppc/translate.c
    M target/ppc/translate/spe-impl.c.inc
    M target/ppc/translate/vmx-impl.c.inc

  Log Message:
  -----------
  target/ppc: Don't use tcg_temp_local_new

Since tcg_temp_new is now identical, use that.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 177bbc81b51dc4d432a85c8356417d38913fd8ed
      
https://github.com/qemu/qemu/commit/177bbc81b51dc4d432a85c8356417d38913fd8ed
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M target/xtensa/translate.c

  Log Message:
  -----------
  target/xtensa: Don't use tcg_temp_local_new_*

Since tcg_temp_new_* is now identical, use those.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 383f50f7535a1c2798455bb7292fdc5c827ecb55
      
https://github.com/qemu/qemu/commit/383f50f7535a1c2798455bb7292fdc5c827ecb55
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/exec/gen-icount.h

  Log Message:
  -----------
  exec/gen-icount: Don't use tcg_temp_local_new_i32

Since tcg_temp_new_i32 is now identical, use that.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 438e685b1f3f6cd256ba2807fbcfac439a6c3ceb
      
https://github.com/qemu/qemu/commit/438e685b1f3f6cd256ba2807fbcfac439a6c3ceb
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M include/tcg/tcg-op.h
    M include/tcg/tcg.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Remove tcg_temp_local_new_*, tcg_const_local_*

These symbols are now unused.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9644e7142a2a2bb4b4743a3a4c940edbab16ca11
      
https://github.com/qemu/qemu/commit/9644e7142a2a2bb4b4743a3a4c940edbab16ca11
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M docs/devel/tcg-ops.rst

  Log Message:
  -----------
  tcg: Update docs/devel/tcg-ops.rst for temporary changes

Rewrite the sections which talked about 'local temporaries'.
Remove some assumptions which no longer hold.

Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a2b5f8b8ab7b2c947823088103a40f0ff11fe06b
      
https://github.com/qemu/qemu/commit/a2b5f8b8ab7b2c947823088103a40f0ff11fe06b
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M accel/stubs/tcg-stub.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/cputlb.c
    M accel/tcg/internal.h
    M accel/tcg/perf.c
    M accel/tcg/plugin-gen.c
    M accel/tcg/tb-jmp-cache.h
    M accel/tcg/tb-maint.c
    M accel/tcg/translate-all.c
    M accel/tcg/translator.c
    M accel/tcg/user-exec.c
    M docs/devel/tcg-ops.rst
    M include/exec/cpu-defs.h
    M include/exec/exec-all.h
    M include/exec/gen-icount.h
    M include/exec/helper-head.h
    M include/exec/translator.h
    M include/tcg/tcg-op.h
    M include/tcg/tcg.h
    M semihosting/uaccess.c
    M softmmu/physmem.c
    M target/alpha/translate.c
    M target/arm/cpu-param.h
    M target/arm/cpu.c
    M target/arm/ptw.c
    M target/arm/tcg/mte_helper.c
    M target/arm/tcg/sve_helper.c
    M target/arm/tcg/translate-a64.c
    M target/arm/tcg/translate-a64.h
    M target/arm/tcg/translate-sve.c
    M target/arm/tcg/translate.c
    M target/arm/tcg/translate.h
    M target/avr/cpu.c
    M target/avr/translate.c
    M target/cris/translate.c
    M target/cris/translate_v10.c.inc
    M target/hexagon/README
    M target/hexagon/cpu.c
    M target/hexagon/gen_tcg.h
    M target/hexagon/gen_tcg_funcs.py
    M target/hexagon/genptr.c
    M target/hexagon/idef-parser/README.rst
    M target/hexagon/idef-parser/parser-helpers.c
    M target/hexagon/translate.c
    M target/hppa/cpu.c
    M target/hppa/translate.c
    M target/i386/cpu-param.h
    M target/i386/cpu.c
    M target/i386/helper.c
    M target/i386/tcg/sysemu/excp_helper.c
    M target/i386/tcg/tcg-cpu.c
    M target/i386/tcg/translate.c
    M target/loongarch/cpu.c
    M target/loongarch/translate.c
    M target/m68k/translate.c
    M target/microblaze/cpu.c
    M target/microblaze/translate.c
    M target/mips/tcg/exception.c
    M target/mips/tcg/nanomips_translate.c.inc
    M target/mips/tcg/sysemu/special_helper.c
    M target/mips/tcg/translate.c
    M target/nios2/translate.c
    M target/openrisc/cpu.c
    M target/openrisc/translate.c
    M target/ppc/translate.c
    M target/ppc/translate/spe-impl.c.inc
    M target/ppc/translate/vmx-impl.c.inc
    M target/riscv/cpu.c
    M target/riscv/translate.c
    M target/rx/cpu.c
    M target/rx/translate.c
    M target/s390x/tcg/mem_helper.c
    M target/s390x/tcg/translate.c
    M target/sh4/cpu.c
    M target/sh4/translate.c
    M target/sparc/cpu.c
    M target/sparc/translate.c
    M target/tricore/cpu.c
    M target/tricore/translate.c
    M target/xtensa/translate.c
    M tcg/optimize.c
    M tcg/tcg-op-gvec.c
    M tcg/tcg-op.c
    M tcg/tcg.c

  Log Message:
  -----------
  Merge tag 'pull-tcg-20230301' of https://gitlab.com/rth7680/qemu into staging

helper-head: Add fpu/softfloat-types.h
softmmu: Use memmove in flatview_write_continue
tcg: Add sign param to probe_access_flags, probe_access_full
tcg: Convert TARGET_TB_PCREL to CF_PCREL
tcg: Simplify temporary lifetimes for translators

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmP/jWUdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9TcQf7B7+K/lrWvUVhZ4By
# 7zrNIJKGwsxuQhGq9mS2Nx9ds9es5mS8SQT1ieNG6a51n6Gq8S2B8yFCRFdlDZWD
# /QrMSjxrs+4c6pNHZu4v20Huy/VW0y004eYdGc8Lu5cXTDpy1mUZ2PrZYlWNQEVY
# 4Ts5rTWdSZHRU1+dbB8MTWlml9//++TPB+ZvzqSb8jnRJfw4z7ijVJjUEEb93gQg
# 8S3JiPU6d1ZzoXzGMK7Wd0MMi4pQUZkaX1HOpzvmQXjeErSP87CZvvji/Cucm8iW
# rJ4U7t99nmZDqG9W1zdZfYfKNp4nLlfVldQWFVIx45awSPS0mCzrmeBT5NHyrxYK
# 4OtuNQ==
# =vzqE
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 01 Mar 2023 17:37:41 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-tcg-20230301' of https://gitlab.com/rth7680/qemu: (62 commits)
  tcg: Update docs/devel/tcg-ops.rst for temporary changes
  tcg: Remove tcg_temp_local_new_*, tcg_const_local_*
  exec/gen-icount: Don't use tcg_temp_local_new_i32
  target/xtensa: Don't use tcg_temp_local_new_*
  target/ppc: Don't use tcg_temp_local_new
  target/mips: Don't use tcg_temp_local_new
  target/i386: Don't use tcg_temp_local_new
  target/hppa: Don't use tcg_temp_local_new
  target/hexagon/idef-parser: Drop gen_tmp_local
  target/hexagon: Don't use tcg_temp_local_new_*
  target/cris: Don't use tcg_temp_local_new
  target/arm: Don't use tcg_temp_local_new_*
  target/arm: Drop copies in gen_sve_{ldr,str}
  tcg: Change default temp lifetime to TEMP_TB
  tcg: Don't re-use TEMP_TB temporaries
  accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers
  accel/tcg/plugin: Use tcg_temp_ebb_*
  tcg: Use tcg_constant_ptr in do_dup
  tcg: Use tcg_temp_ebb_new_* in tcg/
  tcg: Add tcg_temp_ebb_new_{i32,i64,ptr}
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/627634031092...a2b5f8b8ab7b



reply via email to

[Prev in Thread] Current Thread [Next in Thread]