Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 41706d3e72d651edb03b4a06b02b490bec8a3ddf
      
https://github.com/qemu/qemu/commit/41706d3e72d651edb03b4a06b02b490bec8a3ddf
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

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

  Log Message:
  -----------
  tcg: Zero extend 32-bit addresses for TCI

For native code generation, zero-extending 32-bit addresses for
the slow path helpers happens in tcg_out_{ld,st}_helper_args,
but there isn't really a slow path for TCI, so that didn't happen.

Make the extension for TCI explicit in the opcode stream,
much like we already do for plugins and atomic helpers.

Cc: [email protected]
Fixes: 24e46e6c9d9 ("accel/tcg: Widen tcg-ldst.h addresses to uint64_t")
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 92cf74baf4984e87083474f23021a0c6f4719bea
      
https://github.com/qemu/qemu/commit/92cf74baf4984e87083474f23021a0c6f4719bea
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M tcg/tci.c
    M tcg/tci/tcg-target-opc.h.inc
    M tcg/tci/tcg-target.c.inc

  Log Message:
  -----------
  tcg/tci: Introduce INDEX_op_tci_qemu_{ld,st}_rrr

Since d182123974c4, the number of bits in a MemOpIdx tops out at 17.
which won't fit in the TCI rrm format, thus an assertion failure.
Introduce new opcodes that take the MemOpIdx from a register, as
we already do for qemu_ld2 and qemu_st2.

Fixes: d182123974c4 ("include/exec/memopidx: Adjust for 32 mmu indexes")
Tested-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 93fa8293442fcb1f297d0ee7c669539cd009cf26
      
https://github.com/qemu/qemu/commit/93fa8293442fcb1f297d0ee7c669539cd009cf26
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

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

  Log Message:
  -----------
  tcg: Remove duplicate test from plugin_gen_mem_callbacks

All callers have already tested tcg_ctx->plugin_insn.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 8c00f56fcaf60f42474ca277e86c95f55941aa0d
      
https://github.com/qemu/qemu/commit/8c00f56fcaf60f42474ca277e86c95f55941aa0d
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M include/tcg/helper-info.h

  Log Message:
  -----------
  tcg/tci: Disable -Wundef FFI_GO_CLOSURES warning

Since we build TCI with FFI (commit 22f15579fa1 "tcg: Build ffi data
structures for helpers") we get on Darwin:

  In file included from ../../tcg/tci.c:22:
  In file included from include/tcg/helper-info.h:13:
  
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi/ffi.h:483:5:
 warning: 'FFI_GO_CLOSURES' is not defined, evaluates to 0 [-Wundef]
    483 | #if FFI_GO_CLOSURES
        |     ^
  1 warning generated.

This was fixed in upstream libffi in 2023, but not backported to MacOSX.
Simply disable the warning locally.

Reported-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 6833615bfdd7e104fabb7223df50e18dce2d161c
      
https://github.com/qemu/qemu/commit/6833615bfdd7e104fabb7223df50e18dce2d161c
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M host/include/generic/host/atomic128-cas.h.inc

  Log Message:
  -----------
  include/generic/host: Fix atomic128-cas.h.inc for Int128 structure

Use the Int128Alias structure more when we need to convert
between Int128 and __int128_t, when Int128 is a struct.

Fixes the build on aarch64 host with TCI, which forces
the use of the struct.

Reported-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: ff633bc5d55a309122d306a83d09a4362de28b65
      
https://github.com/qemu/qemu/commit/ff633bc5d55a309122d306a83d09a4362de28b65
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M host/include/aarch64/host/atomic128-cas.h.inc

  Log Message:
  -----------
  include/aarch64/host: Fix atomic16_fetch_{and,or}

The tmp[lh] variables were defined as inputs to the
asm rather than outputs, which meant that the compiler
rightly diagnosed uninitialized inputs.

Reported-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 47b603818753a728f7f36da46b6e1d44889c91e8
      
https://github.com/qemu/qemu/commit/47b603818753a728f7f36da46b6e1d44889c91e8
  Author: Richard Henderson <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M host/include/aarch64/host/atomic128-cas.h.inc
    M host/include/generic/host/atomic128-cas.h.inc
    M include/tcg/helper-info.h
    M tcg/tcg-op-ldst.c
    M tcg/tci.c
    M tcg/tci/tcg-target-opc.h.inc
    M tcg/tci/tcg-target.c.inc

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

tcg: fixes for tci
host: fixes for 128-bit atomics

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmkzBDEdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV/YMggAgY0+rpQulo7k+fEo
# RP7cLweKSu8aahFvt304qyNGAWlGzBQwJSKWUfFyyMxh6FhO9iEsjkodArjDcK/J
# fou3pz4UmU/feMwVxFuRpCDEEKgpcpxgwj7XJFh96L4VFZ8OrHeuPG5KU5IA/vyy
# eHIzU8M50rejmKCmOL8FDGshWZdXkrgBp3ShIlqlVEb9HpuSFrti0Wh2euVUV67Y
# xG1F4iU5RVNW8OcGz5asLgwaNB7pK/v/FVDxR9rEAoiM9gZhV912fkogmVXTniTk
# rjTYR0k6d49EZ3+M4sUx2v2Nl+6O4wGUFWERU4vHmtUpv1F1UjqxOE3JWDeU2L0c
# 3q9k2Q==
# =M1lm
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 05 Dec 2025 10:11:29 AM CST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>" 
[ultimate]

* tag 'pull-tcg-20251205' of https://gitlab.com/rth7680/qemu:
  include/aarch64/host: Fix atomic16_fetch_{and,or}
  include/generic/host: Fix atomic128-cas.h.inc for Int128 structure
  tcg/tci: Disable -Wundef FFI_GO_CLOSURES warning
  tcg: Remove duplicate test from plugin_gen_mem_callbacks
  tcg/tci: Introduce INDEX_op_tci_qemu_{ld,st}_rrr
  tcg: Zero extend 32-bit addresses for TCI

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/864814f71b4c...47b603818753

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to