summary refs log tree commit diff stats
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2018-03-28 15:31:52 +0200
committerPeter Maydell <peter.maydell@linaro.org>2018-04-04 16:23:57 +0100
commit74912f6dad207bfdd5bfa8c6012c364ea9405fc7 (patch)
tree68f615084e36dcfd13eef3aeec618e9583f2c8d5 /hw/misc/mst_fpga.c
parentfd69ad866b62ca8ed4337ffee83b6d82a4e99282 (diff)
downloadfocaccia-qemu-74912f6dad207bfdd5bfa8c6012c364ea9405fc7.tar.gz
focaccia-qemu-74912f6dad207bfdd5bfa8c6012c364ea9405fc7.zip
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 <lvivier@redhat.com>
Reviewed-by: Miroslav Rezanina <mrezanin@redhat.com>
Message-id: 20180328133152.24623-1-lvivier@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions