Skip to content
Snippets Groups Projects
  1. Apr 24, 2023
  2. Apr 23, 2023
    • Richard Henderson's avatar
      Merge tag 'pull-tcg-20230423' of https://gitlab.com/rth7680/qemu into staging · 327ec8d6
      Richard Henderson authored
      tcg cleanups:
        - Remove tcg_abort()
        - Split out extensions as known backend interfaces
        - Put the separate extensions together as tcg_out_movext
        - Introduce tcg_out_xchg as a backend interface
        - Clear TCGLabelQemuLdst on allocation
        - Avoid redundant extensions for riscv
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmRE69sdHHJpY2hhcmQu
      # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV/6jQf6Al9cgeJ6guVMpoRS
      # +sXaTs5U2yaqRvz5gGn2ANFuFgD2QanbWHjS5guTnhbsvq3icyOCpIXIPg/Z04LB
      # fTgAUCF5ut8U8C12HyGq/p4BFoTTWnCGPwY+PB9pMb5LiEcmaSUUz+fSA8xMX1b6
      # EylI8YNd74A9j5PBNbGIXooj8llM71p9YztwQ9V7sPH3ZON4qbPRDgrJsb5TngMa
      # daTpGoW+A9UyG7z0Ie6UuiOyYAzeQqm64WmMlc7UYeb9lL+yxvCq4+MXH2V/SKqg
      # GLOF95DCdqj1EeZCOt0aN1ybZPcYFFkmpXrD1iLu0Mhy7Qo/vghX/eFoFnLleD+Y
      # yM+LTg==
      # =d2hZ
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Sun 23 Apr 2023 09:27:07 AM BST
      # 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-20230423' of https://gitlab.com/rth7680/qemu
      
      :
        tcg/riscv: Conditionalize tcg_out_exts_i32_i64
        tcg: Clear TCGLabelQemuLdst on allocation
        tcg: Introduce tcg_out_xchg
        tcg: Introduce tcg_out_movext
        tcg: Split out tcg_out_extrl_i64_i32
        tcg: Split out tcg_out_extu_i32_i64
        tcg: Split out tcg_out_exts_i32_i64
        tcg: Split out tcg_out_ext32u
        tcg: Split out tcg_out_ext32s
        tcg: Split out tcg_out_ext16u
        tcg: Split out tcg_out_ext16s
        tcg: Split out tcg_out_ext8u
        tcg: Split out tcg_out_ext8s
        tcg: Replace tcg_abort with g_assert_not_reached
        tcg: Replace if + tcg_abort with tcg_debug_assert
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      327ec8d6
    • Richard Henderson's avatar
      tcg/riscv: Conditionalize tcg_out_exts_i32_i64 · 3ea9be33
      Richard Henderson authored
      
      Since TCG_TYPE_I32 values are kept sign-extended in registers, via "w"
      instructions, we don't need to extend if the register matches.
      This is already relied upon by comparisons.
      
      Reviewed-by: default avatarDaniel Henrique Barboza <dbarboza@ventanamicro.com>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      3ea9be33
    • Richard Henderson's avatar
Loading