qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 74912f: tcg: fix 16-byte vector operations de


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 74912f: tcg: fix 16-byte vector operations detection
Date: Wed, 04 Apr 2018 09:47:49 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 74912f6dad207bfdd5bfa8c6012c364ea9405fc7
      
https://github.com/qemu/qemu/commit/74912f6dad207bfdd5bfa8c6012c364ea9405fc7
  Author: Laurent Vivier <address@hidden>
  Date:   2018-04-04 (Wed, 04 Apr 2018)

  Changed paths:
    M configure

  Log Message:
  -----------
  tcg: fix 16-byte vector operations detection

configure tries to detect if the compiler
supports 16-byte vector operations.

As stated in the comment of the detection
program, there is a problem with the system
compiler on GCC on Centos 7.

This program doesn't actually detect the problem
with GCC on RHEL7 on PPC64LE (Red Hat 4.8.5-28).

This patch updates the test to look more like
it is in QEMU helpers, and now detects the problem.

The error reported is:

  CC      ppc64-softmmu/accel/tcg/tcg-runtime-gvec.o
  ..//accel/tcg/tcg-runtime-gvec.c: In function ‘helper_gvec_shl8i’:
  ../accel/tcg/tcg-runtime-gvec.c:558:26: internal compiler error: in 
emit_move_insn, at expr.c:3495
     *(vec8 *)(d + i) = *(vec8 *)(a + i) << shift;
                      ^
Fixes: db43267 "tcg: Add generic vector expanders"
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Miroslav Rezanina <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

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