qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 44c946: tcg: Add tcg_gen_gvec_dup_imm


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 44c946: tcg: Add tcg_gen_gvec_dup_imm
Date: Thu, 07 May 2020 03:00:38 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 44c94677febd15488f9190b11eaa4a08e8ac696b
      
https://github.com/qemu/qemu/commit/44c94677febd15488f9190b11eaa4a08e8ac696b
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Add tcg_gen_gvec_dup_imm

Add a version of tcg_gen_dup_* that takes both immediate and
a vector element size operand.  This will replace the set of
tcg_gen_gvec_dup{8,16,32,64}i functions that encode the element
size within the function name.

Reviewed-by: LIU Zhiwei <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8703cfbf98b5d4adea4e715a76b1c79a7a09e060
      
https://github.com/qemu/qemu/commit/8703cfbf98b5d4adea4e715a76b1c79a7a09e060
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

  Changed paths:
    M target/s390x/translate_vx.inc.c

  Log Message:
  -----------
  target/s390x: Use tcg_gen_gvec_dup_imm

The gen_gvec_dupi switch is unnecessary with the new function.
Replace it with a local gen_gvec_dup_imm that takes care of the
register to offset conversion and length arguments.

Drop zero_vec and use use gen_gvec_dup_imm with 0.

Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 36af59d062768d8f86c30801c4192cb4e36034b8
      
https://github.com/qemu/qemu/commit/36af59d062768d8f86c30801c4192cb4e36034b8
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  target/ppc: Use tcg_gen_gvec_dup_imm

We can now unify the implementation of the 3 VSPLTI instructions.

Acked-by: David Gibson <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8711e71f9cbb692d614e6ecf5d51222372f7b77e
      
https://github.com/qemu/qemu/commit/8711e71f9cbb692d614e6ecf5d51222372f7b77e
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  target/arm: Use tcg_gen_gvec_dup_imm

In a few cases, we're able to remove some manual replication.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 03ddb6f315ca6d02dfdba0aecc43aa97c728c428
      
https://github.com/qemu/qemu/commit/03ddb6f315ca6d02dfdba0aecc43aa97c728c428
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Use tcg_gen_gvec_dup_imm in logical simplifications

Replace the outgoing interface.

Reviewed-by: LIU Zhiwei <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 398f21412aeec158338963e3f71c9313bc126a71
      
https://github.com/qemu/qemu/commit/398f21412aeec158338963e3f71c9313bc126a71
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Remove tcg_gen_gvec_dup{8,16,32,64}i

These interfaces are now unused.

Reviewed-by: LIU Zhiwei <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 0f039e3ad9131966d9fe509c231b756868b015e2
      
https://github.com/qemu/qemu/commit/0f039e3ad9131966d9fe509c231b756868b015e2
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Add tcg_gen_gvec_dup_tl

For use when a target needs to pass a configure-specific
target_ulong value to duplicate.

Reviewed-by: LIU Zhiwei <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: f47db80cc073c0a7a22136c8296b5eca20c0e199
      
https://github.com/qemu/qemu/commit/f47db80cc073c0a7a22136c8296b5eca20c0e199
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Improve vector tail clearing

Better handling of non-power-of-2 tails as seen with Arm 8-byte
vector operations.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ac09ae627e9a2c65c8a452b69c3dac33c29d0719
      
https://github.com/qemu/qemu/commit/ac09ae627e9a2c65c8a452b69c3dac33c29d0719
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Add load_dest parameter to GVecGen2

We have this same parameter for GVecGen2i, GVecGen3,
and GVecGen3i.  This will make some SVE2 insns easier
to parameterize.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 07dada0336a83002dfa8673a9220a88e13d9a45c
      
https://github.com/qemu/qemu/commit/07dada0336a83002dfa8673a9220a88e13d9a45c
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-06 (Wed, 06 May 2020)

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

  Log Message:
  -----------
  tcg: Fix integral argument type to tcg_gen_rot[rl]i_i{32,64}

For the benefit of compatibility of function pointer types,
we have standardized on int32_t and int64_t as the integral
argument to tcg expanders.

We converted most of them in 474b2e8f0f7, but missed the rotates.

Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 609dd53df540edd72faee705205aceca9c42fea5
      
https://github.com/qemu/qemu/commit/609dd53df540edd72faee705205aceca9c42fea5
  Author: Peter Maydell <address@hidden>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M include/tcg/tcg-op-gvec.h
    M include/tcg/tcg-op.h
    M target/arm/translate-a64.c
    M target/arm/translate-sve.c
    M target/arm/translate.c
    M target/ppc/translate/vmx-impl.inc.c
    M target/ppc/translate/vsx-impl.inc.c
    M target/s390x/translate_vx.inc.c
    M tcg/tcg-op-gvec.c
    M tcg/tcg-op.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20200506' into staging

Add tcg_gen_gvec_dup_imm
Misc tcg patches

# gpg: Signature made Wed 06 May 2020 19:23:43 BST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth/tags/pull-tcg-20200506:
  tcg: Fix integral argument type to tcg_gen_rot[rl]i_i{32,64}
  tcg: Add load_dest parameter to GVecGen2
  tcg: Improve vector tail clearing
  tcg: Add tcg_gen_gvec_dup_tl
  tcg: Remove tcg_gen_gvec_dup{8,16,32,64}i
  tcg: Use tcg_gen_gvec_dup_imm in logical simplifications
  target/arm: Use tcg_gen_gvec_dup_imm
  target/ppc: Use tcg_gen_gvec_dup_imm
  target/s390x: Use tcg_gen_gvec_dup_imm
  tcg: Add tcg_gen_gvec_dup_imm

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/298d893dd500...609dd53df540



reply via email to

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