qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b2e3ae: tcg: Improve tcg_gen_muli_i32/i64


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b2e3ae: tcg: Improve tcg_gen_muli_i32/i64
Date: Fri, 16 Mar 2018 11:09:59 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b2e3ae9452fa55eb036739ec39c33f0782a97504
      
https://github.com/qemu/qemu/commit/b2e3ae9452fa55eb036739ec39c33f0782a97504
  Author: Richard Henderson <address@hidden>
  Date:   2018-03-16 (Fri, 16 Mar 2018)

  Changed paths:
    M tcg/tcg-op.c

  Log Message:
  -----------
  tcg: Improve tcg_gen_muli_i32/i64

Convert multiplication by power of two to left shift.

Reviewed-by: Emilio G. Cota <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7f34ed4bcdfda55f978f51aadca64aa970c9f4b6
      
https://github.com/qemu/qemu/commit/7f34ed4bcdfda55f978f51aadca64aa970c9f4b6
  Author: Richard Henderson <address@hidden>
  Date:   2018-03-16 (Fri, 16 Mar 2018)

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

  Log Message:
  -----------
  tcg/i386: Support INDEX_op_dup2_vec for -m32

Unknown why -m32 was passing with gcc but not clang; it should have
failed for both.  This would be used for tcg_gen_dup_i64_vec, and
visible with the right TB and an aarch64 guest.

Reported-by: Max Reitz <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: adb196cbd5cff26547bc32a208074f03f4c4a627
      
https://github.com/qemu/qemu/commit/adb196cbd5cff26547bc32a208074f03f4c4a627
  Author: Richard Henderson <address@hidden>
  Date:   2018-03-16 (Fri, 16 Mar 2018)

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

  Log Message:
  -----------
  tcg: Add choose_vector_size

This unifies 5 copies of checks for supported vector size,
and in the process fixes a missing check in tcg_gen_gvec_2s.

This lead to an assertion failure for 64-bit vector multiply,
which is not available in the AVX instruction set.

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


  Commit: 2bb39a657abeac3f33ab3298177fb27c35f5b50a
      
https://github.com/qemu/qemu/commit/2bb39a657abeac3f33ab3298177fb27c35f5b50a
  Author: Peter Maydell <address@hidden>
  Date:   2018-03-16 (Fri, 16 Mar 2018)

  Changed paths:
    M tcg/i386/tcg-target.inc.c
    M tcg/tcg-op-gvec.c
    M tcg/tcg-op.c

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

Queued TCG patches

# gpg: Signature made Thu 15 Mar 2018 17:17:31 GMT
# gpg:                using RSA key 64DF38E8AF7E215F
# gpg: Good signature from "Richard Henderson <address@hidden>"
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth/tags/pull-tcg-20180316:
  tcg: Add choose_vector_size
  tcg/i386: Support INDEX_op_dup2_vec for -m32
  tcg: Improve tcg_gen_muli_i32/i64

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


Compare: https://github.com/qemu/qemu/compare/9cc7d0cf6a6d...2bb39a657abe

reply via email to

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