Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: 48ab886d3da4
Choose a base ref
...
head repository: qemu/qemu
compare: cab35c73be9d
Choose a head ref
  • 17 commits
  • 125 files changed
  • 2 contributors

Commits on Jun 20, 2023

  1. host/include/x86_64: Use __m128i for "x" constraints

    The macOS catalina compiler produces an error for __int128_t
    as the type for allocation with SSE inline asm constraint.
    Create a new X86Int128Union type and use the vector type for
    all SSE register inputs and outputs.
    
    Tested-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Jun 20, 2023
    Copy the full SHA
    8a2bd74 View commit details
    Browse the repository at this point in the history
  2. accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN

    Otherwise we hit the default assert not reached.
    Handle it as MO_ATOM_NONE, because of size and misalignment.
    We already handle this correctly in do_ld16_beN.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Jun 20, 2023
    Copy the full SHA
    2be6a48 View commit details
    Browse the repository at this point in the history
  3. tcg/ppc: Define _CALL_AIX for clang on ppc64(be)

    Restructure the ifdef ladder, separating 64-bit from 32-bit,
    and ensure _CALL_AIX is set for ELF v1.  Fixes the build for
    ppc64 big-endian host with clang.
    
    Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Jun 20, 2023
    Copy the full SHA
    dc8a8cc View commit details
    Browse the repository at this point in the history
  4. target/i386: Simplify i386_tr_init_disas_context()

    Since cpu_mmu_index() is well-defined for user-only,
    we can remove the surrounding #ifdef'ry entirely.
    
    Suggested-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-2-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    1dc7bb0 View commit details
    Browse the repository at this point in the history
  5. target/tricore: Remove pointless CONFIG_SOFTMMU guard

    We don't build any user emulation target for Tricore,
    only the system emulation. No need to check for it as
    it is always defined.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
    Message-Id: <20230613133347.82210-3-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    66352d7 View commit details
    Browse the repository at this point in the history
  6. target/m68k: Check for USER_ONLY definition instead of SOFTMMU one

    Since we *might* have user emulation with softmmu,
    replace the system emulation check by !user emulation one.
    
    Invert some if() ladders for clarity.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-4-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    6a14058 View commit details
    Browse the repository at this point in the history
  7. target/ppc: Check for USER_ONLY definition instead of SOFTMMU one

    Since we *might* have user emulation with softmmu,
    replace the system emulation check by !user emulation one.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
    Message-Id: <20230613133347.82210-5-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    227776b View commit details
    Browse the repository at this point in the history
  8. hw/core/cpu: Check for USER_ONLY definition instead of SOFTMMU one

    Since we *might* have user emulation with softmmu,
    replace the system emulation check by !user emulation one.
    
    Invert the #ifdef'ry in TCGCPUOps structure for clarity.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-6-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    75fe97b View commit details
    Browse the repository at this point in the history
  9. accel/tcg: Check for USER_ONLY definition instead of SOFTMMU one

    Since we *might* have user emulation with softmmu,
    replace the system emulation check by !user emulation one.
    
    Invert some if() ladders for clarity.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-7-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    905db98 View commit details
    Browse the repository at this point in the history
  10. meson: Alias CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY

    We use the CONFIG_USER_ONLY key to describe user emulation,
    and the CONFIG_SOFTMMU key to describe system emulation. Alias
    it as 'CONFIG_SYSTEM_ONLY' for parity with user emulation.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-8-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    bd0c03b View commit details
    Browse the repository at this point in the history
  11. meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY

    Since we *might* have user emulation with softmmu,
    use the clearer 'CONFIG_SYSTEM_ONLY' key to check
    for system emulation.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-9-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    c7b6494 View commit details
    Browse the repository at this point in the history
  12. meson: Replace softmmu_ss -> system_ss

    We use the user_ss[] array to hold the user emulation sources,
    and the softmmu_ss[] array to hold the system emulation ones.
    Hold the latter in the 'system_ss[]' array for parity with user
    emulation.
    
    Mechanical change doing:
    
      $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss)
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230613133347.82210-10-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    de6cd75 View commit details
    Browse the repository at this point in the history
  13. plugins: Remove unused 'exec/helper-proto.h' header

    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230611085846.21415-2-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    69a305e View commit details
    Browse the repository at this point in the history
  14. accel/tcg/cpu-exec: Use generic 'helper-proto-common.h' header

    We only need lookup_tb_ptr() prototype.
    
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Message-Id: <20230611085846.21415-3-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    a3e7f70 View commit details
    Browse the repository at this point in the history
  15. exec/cpu-defs: Check for SOFTMMU instead of !USER_ONLY

    We want to check the softmmu tlb availability, not
    if we are targetting system emulation. Besides, this
    code could be used by user emulation in the future.
    
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20230605230216.17202-1-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    708906d View commit details
    Browse the repository at this point in the history
  16. cputlb: Restrict SavedIOTLB to system emulation

    Commit 2f3a57e ("cputlb: ensure we save the IOTLB data in
    case of reset") added the SavedIOTLB structure -- which is
    system emulation specific -- in the generic CPUState structure.
    
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Message-Id: <20221216215519.5522-3-philmd@linaro.org>
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    philmd authored and rth7680 committed Jun 20, 2023
    Copy the full SHA
    d7ee93e View commit details
    Browse the repository at this point in the history
  17. Merge tag 'pull-tcg-20230620' of https://gitlab.com/rth7680/qemu into…

    … staging
    
    tcg: Define _CALL_AIX for clang on ppc64
    accel/tcg: Build fix for macos catalina
    accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN
    accel/tcg: Restrict SavedIOTLB to system emulation
    accel/tcg: Use generic 'helper-proto-common.h' header
    plugins: Remove unused 'exec/helper-proto.h' header
    *: Check for CONFIG_USER_ONLY instead of CONFIG_SOFTMMU
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmSRYmIdHHJpY2hhcmQu
    # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV8zbAgAlX4GcShS1OU1BDRe
    # b0HHHj1fFBB/9yk8f/5WuQb2snYS+pcZCez9XeT175ugovXSOz+shvmFrbRPvpfj
    # q8C88CIKCJRsXnhWqKWOKDqgTttu2WNXOvCe0eCZbUoGQ9K1seMvUBq6T50fNv2H
    # fXeHtLSu/+jiHIN3+woJqdgrkp0cko2rrpnwIpjuIsY1iz/J/VKEHmnv7Ah+GsRs
    # OTYnR7iN6uhBXVll14r3UCylbgdEz58sSSEi3dYYfaTRuijDwOzM0evhk6+5XzHP
    # DYwGdbtDE5HJOrCLiKegk80Gh6v1XVZQWnn9PdiN1eJcQsWNT9mYV9/4IsCVrsF4
    # 8r5KUg==
    # =JmjK
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 20 Jun 2023 10:25:06 AM CEST
    # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
    # gpg:                issuer "richard.henderson@linaro.org"
    # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [ultimate]
    
    * tag 'pull-tcg-20230620' of https://gitlab.com/rth7680/qemu:
      cputlb: Restrict SavedIOTLB to system emulation
      exec/cpu-defs: Check for SOFTMMU instead of !USER_ONLY
      accel/tcg/cpu-exec: Use generic 'helper-proto-common.h' header
      plugins: Remove unused 'exec/helper-proto.h' header
      meson: Replace softmmu_ss -> system_ss
      meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY
      meson: Alias CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY
      accel/tcg: Check for USER_ONLY definition instead of SOFTMMU one
      hw/core/cpu: Check for USER_ONLY definition instead of SOFTMMU one
      target/ppc: Check for USER_ONLY definition instead of SOFTMMU one
      target/m68k: Check for USER_ONLY definition instead of SOFTMMU one
      target/tricore: Remove pointless CONFIG_SOFTMMU guard
      target/i386: Simplify i386_tr_init_disas_context()
      tcg/ppc: Define _CALL_AIX for clang on ppc64(be)
      accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN
      host/include/x86_64: Use __m128i for "x" constraints
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Jun 20, 2023
    Copy the full SHA
    cab35c7 View commit details
    Browse the repository at this point in the history