[Bug target/81590] AVX512 run-time test failures

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 27 20:12:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81590

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-07-27
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The run-time CPUID checks in

FAIL: gcc.target/i386/avx512vl-vpermb-2.c execution test
FAIL: gcc.target/i386/avx512vl-vpermi2b-2.c execution test
FAIL: gcc.target/i386/avx512vl-vpermt2b-2.c execution test
FAIL: gcc.target/i386/avx512vl-vpmaddhuq-2.c execution test
FAIL: gcc.target/i386/avx512vl-vpmaddluq-2.c execution test
FAIL: gcc.target/i386/avx512vl-vpmultishiftqb-2.c execution test

are incorrect. avx512vl-vpermb-2.c has

#define AVX512VL
#define AVX512F_LEN 256
#define AVX512F_LEN_HALF 128
#include "avx512vbmi-vpermb-2.c"

It runs on processors with AVX512VL.  But avx512vbmi-vpermb-2.c has

#define AVX512VBMI

#include "avx512f-helper.h"

which needs AVX512VBMI.


More information about the Gcc-bugs mailing list