]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: Refactor AVX10.2 runtime test
authorHaochen Jiang <haochen.jiang@intel.com>
Mon, 24 Mar 2025 09:02:44 +0000 (17:02 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Mon, 19 May 2025 03:29:59 +0000 (11:29 +0800)
Since everything is under avx10.2, we could use a header
file plus a file actually run all the tests for runtime
test.

gcc/testsuite/ChangeLog:

* gcc.target/i386/avx10-check.h: Remove AVX10_512BIT.
* gcc.target/i386/avx10-minmax-helper.h: Ditto.
* gcc.target/i386/avx10_2-vaddbf16-2.c: Add 512 test.
* gcc.target/i386/avx10_2-vcmpbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvt2ph2bf8-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvt2ph2bf8s-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvt2ph2hf8-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvt2ph2hf8s-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvt2ps2phx-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtbf162ibs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtbf162iubs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtbiasph2bf8-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtbiasph2bf8s-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtbiasph2hf8-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtbiasph2hf8s-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvthf82ph-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtph2bf8-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtph2bf8s-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtph2hf8-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtph2hf8s-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtph2ibs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtph2iubs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtps2ibs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvtps2iubs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttbf162ibs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttbf162iubs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttpd2dqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttpd2qqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttpd2udqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttpd2uqqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttph2ibs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttph2iubs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttps2dqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttps2ibs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttps2iubs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttps2qqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttps2udqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vcvttps2uqqs-2.c: Ditto.
* gcc.target/i386/avx10_2-vdivbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vdpphps-2.c: Ditto.
* gcc.target/i386/avx10_2-vfmaddXXXbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vfmsubXXXbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vfnmaddXXXbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vfnmsubXXXbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vfpclassbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vgetexpbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vgetmantbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vmaxbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vminbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vminmaxbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vminmaxpd-2.c: Ditto.
* gcc.target/i386/avx10_2-vminmaxph-2.c: Ditto.
* gcc.target/i386/avx10_2-vminmaxps-2.c: Ditto.
* gcc.target/i386/avx10_2-vmpsadbw-2.c: Ditto.
* gcc.target/i386/avx10_2-vmulbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpbssd-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpbssds-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpbsud-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpbsuds-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpbuud-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpbuuds-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpwsud-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpwsuds-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpwusd-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpwusds-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpwuud-2.c: Ditto.
* gcc.target/i386/avx10_2-vpdpwuuds-2.c: Ditto.
* gcc.target/i386/avx10_2-vrcpbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vreducebf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vrndscalebf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vrsqrtbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vscalefbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vsqrtbf16-2.c: Ditto.
* gcc.target/i386/avx10_2-vsubbf16-2.c: Ditto.
* gcc.target/i386/avx512f-helper.h: Remove AVX10_512BIT.
* gcc.target/i386/sm4-check.h: Use AVX10_2.
* gcc.target/i386/avx10_2-512-vaddbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vaddbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcmpbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcmpbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvt2ph2bf8-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvt2ph2bf8-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvt2ph2bf8s-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvt2ph2bf8s-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvt2ph2hf8-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvt2ph2hf8-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvt2ph2hf8s-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvt2ph2hf8s-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvt2ps2phx-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvt2ps2phx-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtbf162ibs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtbf162ibs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtbf162iubs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtbf162iubs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtbiasph2bf8-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtbiasph2bf8-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtbiasph2bf8s-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtbiasph2bf8s-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtbiasph2hf8-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtbiasph2hf8-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtbiasph2hf8s-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtbiasph2hf8s-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvthf82ph-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvthf82ph-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtph2bf8-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtph2bf8-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtph2bf8s-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtph2bf8s-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtph2hf8-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtph2hf8-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtph2hf8s-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtph2hf8s-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtph2ibs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtph2ibs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtph2iubs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtph2iubs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtps2ibs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtps2ibs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvtps2iubs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvtps2iubs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttbf162ibs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttbf162ibs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttbf162iubs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttbf162iubs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttpd2dqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttpd2dqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttpd2qqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttpd2qqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttpd2udqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttpd2udqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttpd2uqqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttpd2uqqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttph2ibs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttph2ibs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttph2iubs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttps2dqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttps2dqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttps2ibs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttps2ibs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttps2iubs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttps2iubs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttps2qqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttps2qqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttps2udqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttps2udqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vcvttps2uqqs-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vcvttps2uqqs-2.h: ...here.
* gcc.target/i386/avx10_2-512-vdivbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vdivbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vdpphps-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vdpphps-2.h: ...here.
* gcc.target/i386/avx10_2-512-vfmaddXXXbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vfmaddXXXbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vfmsubXXXbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vfmsubXXXbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vfnmaddXXXbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vfnmaddXXXbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vfnmsubXXXbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vfnmsubXXXbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vfpclassbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vfpclassbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vgetexpbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vgetexpbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vgetmantbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vgetmantbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vmaxbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vmaxbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vminbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vminbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vminmaxbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vminmaxbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vminmaxpd-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vminmaxpd-2.h: ...here.
* gcc.target/i386/avx10_2-512-vminmaxph-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vminmaxph-2.h: ...here.
* gcc.target/i386/avx10_2-512-vminmaxps-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vminmaxps-2.h: ...here.
* gcc.target/i386/avx10_2-512-vmpsadbw-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vmpsadbw-2.h: ...here.
* gcc.target/i386/avx10_2-512-vmulbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vmulbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpbssd-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpbssd-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpbssds-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpbssds-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpbsud-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpbsud-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpbsuds-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpbsuds-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpbuud-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpbuud-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpbuuds-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpbuuds-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpwsud-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpwsud-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpwsuds-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpwsuds-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpwusd-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpwusd-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpwusds-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpwusds-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpwuud-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpwuud-2.h: ...here.
* gcc.target/i386/avx10_2-512-vpdpwuuds-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vpdpwuuds-2.h: ...here.
* gcc.target/i386/avx10_2-512-vrcpbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vrcpbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vreducebf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vreducebf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vrndscalebf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vrndscalebf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vrsqrtbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vrsqrtbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vscalefbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vscalefbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vsqrtbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vsqrtbf16-2.h: ...here.
* gcc.target/i386/avx10_2-512-vsubbf16-2.c:
Remove 512 test. Move to...
* gcc.target/i386/avx10_2-vsubbf16-2.h: ...here.
* gcc.target/i386/sm4key4-avx10_2-512-2.c:
Remove 512 test. Move to...
* gcc.target/i386/sm4key4-avx10_2-2.c: ...here.
* gcc.target/i386/sm4rnds4-avx10_2-512-2.c:
Remove 512 test. Move to...
* gcc.target/i386/sm4rnds4-avx10_2-2.c: ...here.
* gcc.target/i386/vnniint16-auto-vectorize-4.c: Use AVX10_SCALAR
for 512 bit test.
* gcc.target/i386/vnniint8-auto-vectorize-4.c: Ditto.

152 files changed:
gcc/testsuite/gcc.target/i386/avx10-check.h
gcc/testsuite/gcc.target/i386/avx10-minmax-helper.h
gcc/testsuite/gcc.target/i386/avx10_2-vaddbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vaddbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vaddbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcmpbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcmpbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcmpbf16-2.c with 75% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2bf8-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2bf8-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2bf8-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2bf8s-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2bf8s-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2bf8s-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2hf8-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2hf8-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2hf8-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2hf8s-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2hf8s-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2hf8s-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ps2phx-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ps2phx-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ps2phx-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbf162ibs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbf162ibs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbf162ibs-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbf162iubs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbf162iubs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbf162iubs-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2bf8-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2bf8-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2bf8-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2bf8s-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2bf8s-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2bf8s-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2hf8-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2hf8-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2hf8-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2hf8s-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2hf8s-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2hf8s-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvthf82ph-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvthf82ph-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvthf82ph-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2bf8-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2bf8-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2bf8-2.c with 87% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2bf8s-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2bf8s-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2bf8s-2.c with 87% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2hf8-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2hf8-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2hf8-2.c with 87% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2hf8s-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2hf8s-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2hf8s-2.c with 87% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2ibs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2ibs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2ibs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2iubs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2iubs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2iubs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtps2ibs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtps2ibs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtps2ibs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvtps2iubs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvtps2iubs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtps2iubs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttbf162ibs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttbf162ibs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttbf162ibs-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttbf162iubs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttbf162iubs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttbf162iubs-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2dqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2dqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2dqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2qqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2qqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2qqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2udqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2udqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2udqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2uqqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2uqqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2uqqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttph2ibs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttph2ibs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2ibs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttph2iubs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttph2iubs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2dqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2dqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2dqs-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2ibs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2ibs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2ibs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2iubs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2iubs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2iubs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2qqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2qqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2qqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2udqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2udqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2udqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2uqqs-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2uqqs-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2uqqs-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vdivbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vdivbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vdivbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vdpphps-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vdpphps-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vdpphps-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vfmaddXXXbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vfmaddXXXbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vfmaddXXXbf16-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vfmsubXXXbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vfmsubXXXbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vfmsubXXXbf16-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vfnmaddXXXbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vfnmaddXXXbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vfnmaddXXXbf16-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vfnmsubXXXbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vfnmsubXXXbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vfnmsubXXXbf16-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vfpclassbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vfpclassbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vfpclassbf16-2.c with 80% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vgetexpbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vgetexpbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vgetexpbf16-2.c with 84% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vgetmantbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vgetmantbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vgetmantbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vmaxbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vmaxbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vmaxbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vminbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vminbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxbf16-2.c with 76% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxpd-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxpd-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxpd-2.c with 74% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxph-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxph-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxph-2.c with 75% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxps-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vminmaxps-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxps-2.c with 74% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vmpsadbw-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vmpsadbw-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vmpsadbw-2.c with 90% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vmulbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vmulbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vmulbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbssd-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbssd-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbssds-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbssds-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssds-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbsud-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbsud-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbsud-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbsuds-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbsuds-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbsuds-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbuud-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbuud-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbuud-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbuuds-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpbuuds-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbuuds-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwsud-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwsud-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwsud-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwsuds-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwsuds-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwsuds-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwusd-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwusd-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwusd-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwusds-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwusds-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwusds-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwuud-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwuud-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwuud-2.c with 88% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwuuds-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vpdpwuuds-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwuuds-2.c with 89% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vrcpbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vrcpbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vrcpbf16-2.c with 83% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vreducebf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vreducebf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vreducebf16-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vrndscalebf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vrndscalebf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vrndscalebf16-2.c with 84% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vrsqrtbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vrsqrtbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vrsqrtbf16-2.c with 83% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vscalefbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vscalefbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vscalefbf16-2.c with 86% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vsqrtbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vsqrtbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vsqrtbf16-2.c with 83% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vsubbf16-2.c
gcc/testsuite/gcc.target/i386/avx10_2-vsubbf16-2.h [moved from gcc/testsuite/gcc.target/i386/avx10_2-512-vsubbf16-2.c with 85% similarity]
gcc/testsuite/gcc.target/i386/avx512f-helper.h
gcc/testsuite/gcc.target/i386/sm4-check.h
gcc/testsuite/gcc.target/i386/sm4key4-avx10_2-2.c [moved from gcc/testsuite/gcc.target/i386/sm4key4-avx10_2-512-2.c with 72% similarity]
gcc/testsuite/gcc.target/i386/sm4rnds4-avx10_2-2.c [moved from gcc/testsuite/gcc.target/i386/sm4rnds4-avx10_2-512-2.c with 72% similarity]
gcc/testsuite/gcc.target/i386/vnniint16-auto-vectorize-4.c
gcc/testsuite/gcc.target/i386/vnniint8-auto-vectorize-4.c

index 7d4326d8da979a6876054b68bb0525f560127b21..6a1a151f9091cdff8b9c10574a3f5e9d5d8e95d8 100644 (file)
@@ -5,9 +5,8 @@
 
 #ifndef DO_TEST
 #define DO_TEST do_test
-#if defined(AVX10_512BIT) || defined(AVX10_SCALAR)
 static void test_512 (void);
-#else
+#ifndef AVX10_SCALAR
 static void test_256 (void);
 static void test_128 (void);
 #endif
@@ -16,9 +15,8 @@ __attribute__ ((noinline))
 static void
 do_test (void)
 {
-#if defined(AVX10_512BIT) || defined(AVX10_SCALAR)
   test_512 ();
-#else
+#ifndef AVX10_SCALAR
   test_256 ();
   test_128 ();
 #endif
index e799975fe671eae25f453ed318f01967b924af2e..6c9bffca0d119a265715f5791bed1efead8568ae 100644 (file)
@@ -66,12 +66,10 @@ check_minmax_##UNION_TYPE (UNION_TYPE u, const VALUE_TYPE *v) \
   return err; \
 }
 
-#if defined (AVX10_512BIT)
 CHECK_EXP_MINMAX (union512, float, int)
 CHECK_EXP_MINMAX (union512d, double, long int)
 CHECK_EXP_MINMAX (union512bf16_bf, __bf16, short int)
 CHECK_EXP_MINMAX (union512h, _Float16, short int)
-#endif
 CHECK_EXP_MINMAX (union256, float, int)
 CHECK_EXP_MINMAX (union256d, double, long int)
 CHECK_EXP_MINMAX (union128, float, int)
index d88045425628c06caf6f1111c4475818dd4c8431..36f5bd7a09f2776d3ff5d258184d4f3a7630ad1f 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vaddbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vaddbf16-2.c"
+#include "avx10_2-vaddbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vaddbf16-2.c" 
+#include "avx10_2-vaddbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vaddbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vaddbf16-2.h
index 4aca46d03873f04a120e390e638029919d963060..a65c6473732ba5b3026fe2292ce7f263edb53dbf 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index cb6506ae65d8a5bce7e176421d64b669cc5d8e9a..643fb26b81f9be9e0501499a2edfbc462e33bcc0 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcmpbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcmpbf16-2.c"
+#include "avx10_2-vcmpbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcmpbf16-2.c" 
+#include "avx10_2-vcmpbf16-2.h"
similarity index 75%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcmpbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcmpbf16-2.h
index 885cec76060da88d4767c92013698f481d3d6d1c..2c0fde0f7b989f569dd63aae8c9485ee025dba74 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 9dd940ce76649ab7d35afe7d3c0c1b7faeb61a1d..dae2f44d185ea8498551a8d77b7c4ab402c90970 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvt2ph2bf8-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2bf8-2.c"
+#include "avx10_2-vcvt2ph2bf8-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2bf8-2.c"
+#include "avx10_2-vcvt2ph2bf8-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2bf8-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2bf8-2.h
index 5bd2b7f03adec1503d1f71e0a9aa6f0265543a9d..b46540bb93ef8072f11c497f93486917ac6143f9 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 2a9caca57d035951a1c4f5e5bc4822dd28c9c0c6..badd8654226219ace0021c505463d0f2f2bb3e8f 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvt2ph2bf8s-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2bf8s-2.c"
+#include "avx10_2-vcvt2ph2bf8s-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2bf8s-2.c"
+#include "avx10_2-vcvt2ph2bf8s-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2bf8s-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2bf8s-2.h
index 33d9c0c3ce43c1c239b92ace44c6883d813c2665..398c67be899596dd6cccb1bc06f3e93fdebb10f4 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 80dc2480867b53bb1cffd42062cae9596aad6559..4555b3d153ffcdb28bb04fb34808e75c91dc6bcc 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvt2ph2hf8-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2hf8-2.c"
+#include "avx10_2-vcvt2ph2hf8-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2hf8-2.c"
+#include "avx10_2-vcvt2ph2hf8-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2hf8-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2hf8-2.h
index b9fdbd485d935ca86529e1bcb11fb8d3be795834..89a2c7eabbd63de1fd45372f0b2f60fe65bdf147 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 30f6a6075cfda371e70d50f4e21e15065ac64f6f..ba62e54756e97bda9abae54e5214314672fb157e 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvt2ph2hf8s-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2hf8s-2.c"
+#include "avx10_2-vcvt2ph2hf8s-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ph2hf8s-2.c"
+#include "avx10_2-vcvt2ph2hf8s-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ph2hf8s-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ph2hf8s-2.h
index b9fdfac42964a4fc9e92e14be35df0355662fe24..2556c3f007e387783053d5ba825664cdeb8c6494 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 125713c8dccf120b449a787365d8b93b73e03100..27735c0eed436fdbf06121e154e44012f1663d3a 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvt2ps2phx-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ps2phx-2.c"
+#include "avx10_2-vcvt2ps2phx-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvt2ps2phx-2.c"
+#include "avx10_2-vcvt2ps2phx-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvt2ps2phx-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvt2ps2phx-2.h
index f9f799a0fabd4ba600aa83d7f2c2ee3efabfcf61..f7d43658db1db98e9f997af9d411aa1d57cd0581 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <stdint.h>
 
index 824ec68a2dad6bb9cc4fd7ea1b7a2e712f136499..a420901d482f43f96c2143ed6b381bac4abdab68 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtbf162ibs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbf162ibs-2.c"
+#include "avx10_2-vcvtbf162ibs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbf162ibs-2.c" 
+#include "avx10_2-vcvtbf162ibs-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbf162ibs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtbf162ibs-2.h
index 49768924b460d0f731fa03230c8b09811b1b94a4..9f984d18d8b746abd23488b63b8abd363fa0507d 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <math.h>
 #include <limits.h>
index b8f992585214ddbe27d4ee756c453f7e69b9b096..7fdae8f4e1f1a35716002b4e2f235901c3bf8e05 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtbf162iubs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbf162iubs-2.c"
+#include "avx10_2-vcvtbf162iubs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbf162iubs-2.c" 
+#include "avx10_2-vcvtbf162iubs-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbf162iubs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtbf162iubs-2.h
index 03bd36a21721dc196a1332a05a04fa4b2972e75b..b5eb59fb8a184f58cd88dcf2dbdec8554543f998 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <math.h>
 #include <limits.h>
index e3f2a8127d1f43498ff2c4e133b66d31cf74025c..7c56893fd606e872dbeda56b800011d1631be9d8 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtbiasph2bf8-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2bf8-2.c"
+#include "avx10_2-vcvtbiasph2bf8-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2bf8-2.c"
+#include "avx10_2-vcvtbiasph2bf8-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2bf8-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2bf8-2.h
index 4d90dcf83c9b2615aa20633b6350909163d65f09..42a81d8d22f83394fc9297abda6ed8a3ef49c75c 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 2b9f81de2982880e54977238fd2d9b221fd35289..3d2851bd7eecb72f0b49236d350e88bede5bf996 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtbiasph2bf8s-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2bf8s-2.c"
+#include "avx10_2-vcvtbiasph2bf8s-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2bf8s-2.c"
+#include "avx10_2-vcvtbiasph2bf8s-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2bf8s-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2bf8s-2.h
index 93de7ea358f61317991214a02e413f4c3327a653..24779607fb15508dcb6673220b319bef4bf896e6 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 27e5f2100c4df2561553546317582a72cae2f2e2..ac832d2432f5953e4201af445663689f5704caed 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtbiasph2hf8-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2hf8-2.c"
+#include "avx10_2-vcvtbiasph2hf8-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2hf8-2.c"
+#include "avx10_2-vcvtbiasph2hf8-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2hf8-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2hf8-2.h
index 14a22516025a0db40c2f95c18cd3d602abc5f953..629c8a728bde5aaaa0717597a9754108c3ed2434 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index b93a1f978159d8ceae211d07a178917839a18cc1..bff52821f0024b79bbdb00583c0fc70a37b57901 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtbiasph2hf8s-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2hf8s-2.c"
+#include "avx10_2-vcvtbiasph2hf8s-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtbiasph2hf8s-2.c"
+#include "avx10_2-vcvtbiasph2hf8s-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtbiasph2hf8s-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtbiasph2hf8s-2.h
index 0333f08f930a3cb47754596c77d57f193c5aa1f4..fdda3764cd41c0724857f98090da0e20cecf1b71 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index d647fde9cd94a2803d1406e27e76c41e77e6ea4d..d6f50406580725fc879f9b5708dbfe2ccf7f30f2 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvthf82ph-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
-#define AVX512F_LEN 256 
+#define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvthf82ph-2.c"
+#include "avx10_2-vcvthf82ph-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvthf82ph-2.c"
+#include "avx10_2-vcvthf82ph-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvthf82ph-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvthf82ph-2.h
index 9301ee34f4c36288c9884ba089efb98a82a8d2e5..7e9e894f86252f6922f335fed68cac732c11a9d0 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 826b5ff1b1cd140ad7198240ea0c313d46ab0084..aa10ebe6e2d8224feadff5d4019b1e2c30913a8d 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtph2bf8-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2bf8-2.c"
+#include "avx10_2-vcvtph2bf8-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2bf8-2.c"
+#include "avx10_2-vcvtph2bf8-2.h"
similarity index 87%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2bf8-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2bf8-2.h
index f42f85665b884170fe3adfc3016afcae3951804a..2ea371012839c57a02e5921365fb00a8880c52bc 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index c5b9576216ad8e9061a350d9b777e6c3f13c08dc..471e702ef047eeca824a08af35825be66a5af1c6 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtph2bf8s-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2bf8s-2.c"
+#include "avx10_2-vcvtph2bf8s-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2bf8s-2.c"
+#include "avx10_2-vcvtph2bf8s-2.h"
similarity index 87%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2bf8s-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2bf8s-2.h
index c22e1aaa7d318062e358740730936c4240f5c14f..242975dee5ec99365e28fc458b37eecb794865a5 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 00f2928ea8af4abf0cc63b1aed34df7d32ea96e1..e260dcaca50ba4a0bbc0c4d3e5509833eac77192 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtph2hf8-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2hf8-2.c"
+#include "avx10_2-vcvtph2hf8-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2hf8-2.c"
+#include "avx10_2-vcvtph2hf8-2.h"
similarity index 87%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2hf8-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2hf8-2.h
index e328e9d5c5f7c572c17da4bc823201bffa3f4156..84aba750bd94e1316d461b2e8821113b4772a26c 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index a2fa0c8851b6e49e7f1811af1f56250dbdd8343b..06882b82baff10fec0d81e11de05a62f947bc4b3 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtph2hf8s-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2hf8s-2.c"
+#include "avx10_2-vcvtph2hf8s-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2hf8s-2.c"
+#include "avx10_2-vcvtph2hf8s-2.h"
similarity index 87%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2hf8s-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2hf8s-2.h
index e6872e84535ccb19c037dac6abdecec51ea39f19..28604c6806e407dfa76e81770987b8ec6a0724ce 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 #include "fp8-helper.h"
 
index 2265f81d9defa105b9b8342528159a4b884d682e..627829c20c33c868593a06dc79d06e7b24a22b64 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtph2ibs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2ibs-2.c"
+#include "avx10_2-vcvtph2ibs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2ibs-2.c" 
+#include "avx10_2-vcvtph2ibs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2ibs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2ibs-2.h
index 2bddbb16316f33412af992a83fa5e49b1ce6ab20..62fd1c56feb79414d931e7a363e0a9ceb5bbf41d 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index c4b2b5751b90eda0c93e3ce00659a1a0ec5da815..009fcaf02aae38b8a0d61ce8d2338c54a015539a 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtph2iubs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2iubs-2.c"
+#include "avx10_2-vcvtph2iubs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtph2iubs-2.c" 
+#include "avx10_2-vcvtph2iubs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtph2iubs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtph2iubs-2.h
index df73fcdfcdc9c95722d0f7fe7d9309300313fdec..aa6ed98c236b44700b2bb9349ee33eb1ebf235ad 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index fdf825bc7919c1f845a967b8bba51ec5a412e77a..f5bd1dc54c02c42f453aed0927e6a5dc2755276a 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtps2ibs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtps2ibs-2.c"
+#include "avx10_2-vcvtps2ibs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtps2ibs-2.c" 
+#include "avx10_2-vcvtps2ibs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtps2ibs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtps2ibs-2.h
index 2ab24b9c0541ac235c46a8a9e9411e4b4ab29ee6..7b8f3aa813967ea2ed15a0ab4ec3045a9e3f0c7a 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <math.h>
index a27d5c7e5834a7c4ee94579fd9d37d19c1164c62..f84dfb8d2045e7407eec99962948488adabe93a5 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvtps2iubs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtps2iubs-2.c"
+#include "avx10_2-vcvtps2iubs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvtps2iubs-2.c" 
+#include "avx10_2-vcvtps2iubs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvtps2iubs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvtps2iubs-2.h
index 2b02ee328d93b71703c9437c5a5888bfb1c518ef..0ffb3f9f82d665256fb1c9bc8598c591c4cb5bf3 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <math.h>
index 0585048ffa5c72882a2ceffed3725f92464fe477..38359cba73f38fefab853f8df7ed128e4307bc64 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttbf162ibs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttbf162ibs-2.c"
+#include "avx10_2-vcvttbf162ibs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttbf162ibs-2.c" 
+#include "avx10_2-vcvttbf162ibs-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttbf162ibs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttbf162ibs-2.h
index 38154c8d4f3e475b70162ef5f2fb32ca401772af..a102091278e1280986f25e2e7e165e78d66a0214 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <math.h>
 #include <limits.h>
index 3082ca0471225383b876c09603c873e80036fb52..88ad987d7d46da623567f7d9f9d1e7904b30584e 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttbf162iubs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttbf162iubs-2.c"
+#include "avx10_2-vcvttbf162iubs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttbf162iubs-2.c" 
+#include "avx10_2-vcvttbf162iubs-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttbf162iubs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttbf162iubs-2.h
index 9ca09125335b1b138ca36c0339e999695cee103c..6cfa5cb4616b58cdb80240e4483347f4af3889d0 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <math.h>
 #include <limits.h>
index d23024d38bdbc7ad38a2ee059833cbbc1ae5014c..7ea6a63155deb3c0d1fe07c350e540ab2a8db58c 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttpd2dqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2dqs-2.c"
+#include "avx10_2-vcvttpd2dqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2dqs-2.c" 
+#include "avx10_2-vcvttpd2dqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2dqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2dqs-2.h
index f56e568d918a9b4ab7912ab0d50c296f5437dcff..002112f4255d845a2514c913629a11b360c946df 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index d7aa1e5de114e2b83f0a99f8a22af198c0fd50ba..b4c610226e02c7b4d7003801c5f3e6a59c62f292 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttpd2qqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2qqs-2.c"
+#include "avx10_2-vcvttpd2qqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2qqs-2.c" 
+#include "avx10_2-vcvttpd2qqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2qqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2qqs-2.h
index 4400c7c18170e466be300d95e73668059f66dd94..0652ddd2d5e939c0f0573f7ebf94fe6cec902b7c 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 88caedffe7d4c08771daef21a2b0c8c3f31f3105..b7463ed71ae41abe69226859949d2cfed88595cf 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttpd2udqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2udqs-2.c"
+#include "avx10_2-vcvttpd2udqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2udqs-2.c" 
+#include "avx10_2-vcvttpd2udqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2udqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2udqs-2.h
index f687d0ea088b75eeb76bb0f08fa27ff5c551f42b..abcf56e773411849f1928cc2f13a882875bc06c2 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 3304eebb6557cbfbda342377730bcd52030036e5..fbd674aa4b54e445e9020873caedaf5add9160bf 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttpd2uqqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2uqqs-2.c"
+#include "avx10_2-vcvttpd2uqqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttpd2uqqs-2.c" 
+#include "avx10_2-vcvttpd2uqqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttpd2uqqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttpd2uqqs-2.h
index 7b44cdd59900eef87229da5cdfdfebe5be13521d..664e59a7859f47b043d2872ed9bbbb538efc51dc 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index dfa110cdc8b31c02bceaa3114543f3cb3658fa4c..312de253846fc62a0b4a74819d63ef5c0c5f2979 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttph2ibs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttph2ibs-2.c"
+#include "avx10_2-vcvttph2ibs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttph2ibs-2.c" 
+#include "avx10_2-vcvttph2ibs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2ibs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttph2ibs-2.h
index 13eb9f02aed75bd9b791a799b2d08d5263281836..43446edf51eb22c874971db641aa17fb15afe814 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 500e323ede1536249c44cde804666b8c5caba644..19f67fb7f80dbdf82ee8131882776fdb613c948e 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttph2iubs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttph2iubs-2.c"
+#include "avx10_2-vcvttph2iubs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttph2iubs-2.c" 
+#include "avx10_2-vcvttph2iubs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttph2iubs-2.h
index 1db5a891c216bc45c1b31a90f6ec60e71dfb6923..f77a8a6bf64265094050ba3a86cca6cbb5e453a6 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index d2ef60b8a66bfe4f7b75b825233c872470034558..bf34da90e731cf859d44d17c9e925e55f4f999aa 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttps2dqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2dqs-2.c"
+#include "avx10_2-vcvttps2dqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2dqs-2.c" 
+#include "avx10_2-vcvttps2dqs-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2dqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2dqs-2.h
index 0e9ee27dfc3673781a68a5ec29f353ab58339ea3..12099228e13a1c148e1488d84e275c16b460f782 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 7002945e92e6338a684e88b47aeb3f279baafb65..1bf53e986a52e96be9eeb94978ca902e9c2fb9e8 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttps2ibs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2ibs-2.c"
+#include "avx10_2-vcvttps2ibs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2ibs-2.c" 
+#include "avx10_2-vcvttps2ibs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2ibs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2ibs-2.h
index c2dc7fe8bd555be1d8f3d935dc8e67d11595aa88..bac56b8779d8b6196c4994d2c535008d6c63d923 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <math.h>
index 4c05d3c20568cb66078ae54fc44aca1e90c1eb5b..3cc711cfd3c635e2450390478a257b04351e57ff 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttps2iubs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2iubs-2.c"
+#include "avx10_2-vcvttps2iubs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2iubs-2.c" 
+#include "avx10_2-vcvttps2iubs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2iubs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2iubs-2.h
index 5f5ee8a91a17f99d22e92b3d2dc5aab76e6bd38a..38f94bc51d9087fd4e97d96a6406d13610426c11 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <math.h>
index a7882adb942957e0325f8ba3df881854dd3eeaf8..d5fcbe40f2fed9c00a9e082ec0013877fbb330bd 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttps2qqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2qqs-2.c"
+#include "avx10_2-vcvttps2qqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2qqs-2.c" 
+#include "avx10_2-vcvttps2qqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2qqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2qqs-2.h
index 473fffa62e40b6e7307384547b73f4d596ffe470..7c247a0735d81b1649102f113226afa80c73c35a 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 66b654ee3576d372043f5b9551dbe8cfc9fb32cd..01ab0cd6804f080c90f9b9b8e894ef77ec292755 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttps2udqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2udqs-2.c"
+#include "avx10_2-vcvttps2udqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2udqs-2.c" 
+#include "avx10_2-vcvttps2udqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2udqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2udqs-2.h
index 5d7ee3ca1cadd18f5979ebbfb71ca4bd79da47f0..5e7bddbb193170e4938d04043b1b907ac9dc6db4 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 3f320604e1b01dfd7567660269e422e7105166c6..8776a6c4a0a6e3408844383a9f00a0217762f6c9 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vcvttps2uqqs-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2uqqs-2.c"
+#include "avx10_2-vcvttps2uqqs-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vcvttps2uqqs-2.c" 
+#include "avx10_2-vcvttps2uqqs-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttps2uqqs-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vcvttps2uqqs-2.h
index 99ab0ce0da99673255bb9e3afa217b92536be347..dd05903cfa6d6f70cd8a1f45f2204c10b26f172a 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <limits.h>
 #include <string.h>
index 69d5019e4a04da4c2eabd77619e425f1ff837a66..cf6a22b1a0da5c0a2cfbd9d4128a3fa46f70531b 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vdivbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vdivbf16-2.c"
+#include "avx10_2-vdivbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vdivbf16-2.c" 
+#include "avx10_2-vdivbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vdivbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vdivbf16-2.h
index ff6847032b55ae0c87ec9e9ddc43538e9af13a56..db648144f900eec6352bb3779485beb0444a9fc8 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index e2f422dd379f2b04e6d620d1dd25a82e9a352502..01c30dc75728f6a43c7f6ea383a1df954d66153f 100644 (file)
@@ -1,16 +1,21 @@
-/* { dg-do run } */                                      
+/* { dg-do run } */
 /* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */           
+/* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vdpphps-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
-#define AVX512F_LEN 256     
+#define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vdpphps-2.c"
+#include "avx10_2-vdpphps-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
 
-#undef AVX512F_LEN          
-#undef AVX512F_LEN_HALF     
-                            
-#define AVX512F_LEN 128     
+#define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vdpphps-2.c"
+#include "avx10_2-vdpphps-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vdpphps-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vdpphps-2.h
index 8f815ce95f9cb4ee37f6e776ee58803037aa0c73..3aad99a88824b16a1c153e6f1f68a8f4261f6abf 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 85041d4494577b3adab1deb88a88425f47145bbf..6e27b19b198d4b3ea4360b50909ee129508b2a85 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vfmaddXXXbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfmaddXXXbf16-2.c"
+#include "avx10_2-vfmaddXXXbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfmaddXXXbf16-2.c" 
+#include "avx10_2-vfmaddXXXbf16-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vfmaddXXXbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vfmaddXXXbf16-2.h
index 6a50ede02728763a1ef6345069a06cabc700b522..fea85721acfff95a012523e8c2954baf0017e2c6 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 761d5d190f9bd3a58b7810dda171ce4636ee88e3..bcb2362982a28190d4d462af2edb5189f148a99f 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vfmsubXXXbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfmsubXXXbf16-2.c"
+#include "avx10_2-vfmsubXXXbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfmsubXXXbf16-2.c" 
+#include "avx10_2-vfmsubXXXbf16-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vfmsubXXXbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vfmsubXXXbf16-2.h
index 5869c5cec5fa290a8e4780272c56b31ef66a9b80..df49e804b5735ed5b721819beff8c8d625b91e3e 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 
 #define SIZE (AVX512F_LEN / 16)
index 9b260aa07d8e8d397754522123526e1f55d34a0d..c41a263df795bb043028db5e87de5bb438a431f0 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vfnmaddXXXbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfnmaddXXXbf16-2.c"
+#include "avx10_2-vfnmaddXXXbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfnmaddXXXbf16-2.c" 
+#include "avx10_2-vfnmaddXXXbf16-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vfnmaddXXXbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vfnmaddXXXbf16-2.h
index 2173cd3dc045947a6ebf9fe06ebddd4f9628ef84..fb55f39eaab393888de6b4047d7c667a87b533d8 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 
 #define SIZE (AVX512F_LEN / 16)
index 86539f7d52f336fedccd1a34aab001001cd45fde..6a984c7650c06327f59c2251842f73854660c55d 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vfnmsubXXXbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfnmsubXXXbf16-2.c"
+#include "avx10_2-vfnmsubXXXbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfnmsubXXXbf16-2.c" 
+#include "avx10_2-vfnmsubXXXbf16-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vfnmsubXXXbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vfnmsubXXXbf16-2.h
index dc323fa3e9ce33e469f1a8a51548f95be7607ff5..2d51ea45a3305399f90e2b7c6f6b37fd432e2a0a 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 
 #define SIZE (AVX512F_LEN / 16)
index 40baeca399583a19f300d0f0d603840c20d2b96d..996782b5bd1132ce343839f273d5e4e9651130a8 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vfpclassbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfpclassbf16-2.c"
+#include "avx10_2-vfpclassbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vfpclassbf16-2.c" 
+#include "avx10_2-vfpclassbf16-2.h"
similarity index 80%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vfpclassbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vfpclassbf16-2.h
index 1e8609d120912925613212779a20a7657bbc6c1e..f843f36c44b974f24162da0b8f1d60dbfb24ec8c 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index e6a707c40f0453e09cf41f16d09f16fd112c8f91..4c05cccf8b5d81a80d9746608d085b6237c71b55 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vgetexpbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vgetexpbf16-2.c"
+#include "avx10_2-vgetexpbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vgetexpbf16-2.c" 
+#include "avx10_2-vgetexpbf16-2.h"
similarity index 84%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vgetexpbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vgetexpbf16-2.h
index a920db5302f8e6d16ec88b50b725bcfb80af39ba..92408573bbeecbf9e15db9c70cf854a3ccc18971 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 9cdec144a2c0d0273cd52d0865d1a110a7425fd7..bb455d6964302918dab75be895c9eb28dd17f398 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vgetmantbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vgetmantbf16-2.c"
+#include "avx10_2-vgetmantbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vgetmantbf16-2.c" 
+#include "avx10_2-vgetmantbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vgetmantbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vgetmantbf16-2.h
index 82e366390563a76d501ae8cfac27d2f20c1829a4..be7eb4e9be6d01d094055253d968f5bcbee841be 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 950870f8e479b1b398d8a081b6172d7afbc21a37..9b840c63ecb42e433dd2743e5385c7ca7aecc7c6 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vmaxbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vmaxbf16-2.c"
+#include "avx10_2-vmaxbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vmaxbf16-2.c" 
+#include "avx10_2-vmaxbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vmaxbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vmaxbf16-2.h
index 75236c6ce60fb1a87fb8a49648fec45fa30f0886..d556ece8bd74c7fc14762112fb45e5ba122ee522 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 9786127a5da92f4d0348070b71887cc51c362163..c7a3d33ef2f6acc865ed88738c5b720aedec8d41 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vminbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vminbf16-2.c"
+#include "avx10_2-vminbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vminbf16-2.c" 
+#include "avx10_2-vminbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vminbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vminbf16-2.h
index 3ca03cfdfd663fe708f68665caffdf610137b5f7..a5a1835490c834c9a42a6a07ffc5c1cd61c5c3c2 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 0c181d96405796fc1ecdf8bc08bf31035a518763..b396d2cd441f3b1ee7e86f5f6c8e1a33f637a1aa 100644 (file)
@@ -3,11 +3,15 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vminmaxbf16-2.h"
+
+#undef AVX512F_LEN
+
 #define AVX512VL
 #define AVX512F_LEN 256
-#include "avx10_2-512-vminmaxbf16-2.c"
+#include "avx10_2-vminmaxbf16-2.h"
 
 #undef AVX512F_LEN
 
 #define AVX512F_LEN 128
-#include "avx10_2-512-vminmaxbf16-2.c"
+#include "avx10_2-vminmaxbf16-2.h"
similarity index 76%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vminmaxbf16-2.h
index b1a7bed3db492f71c661aa452c6b11bdd97dccb6..42b71104e3eefe2d1509bdd1978d1620914b9a22 100644 (file)
@@ -1,11 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-fsignaling-nans -mfpmath=sse -O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include <stdbool.h>
index 106083d3db18a57980f83bea2e54689ba6584723..5be5053699dfa45dcf8e7c759dcd3cb42bce93bb 100644 (file)
@@ -3,11 +3,15 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vminmaxpd-2.h"
+
+#undef AVX512F_LEN
+
 #define AVX512VL
 #define AVX512F_LEN 256
-#include "avx10_2-512-vminmaxpd-2.c"
+#include "avx10_2-vminmaxpd-2.h"
 
 #undef AVX512F_LEN
 
 #define AVX512F_LEN 128
-#include "avx10_2-512-vminmaxpd-2.c"
+#include "avx10_2-vminmaxpd-2.h"
similarity index 74%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxpd-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vminmaxpd-2.h
index 7bb531ff7c20fe399770897cc109604a782ace9b..d595b6d3c28dc60e1f7920c020f0c8afd7a3c9eb 100644 (file)
@@ -1,11 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-fsignaling-nans -mfpmath=sse -O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 64)
 #include <stdbool.h>
index d465e7aabcb502547783f442a82a393916064c41..b4f3737f6f4755c7abcea712393d0f15846f0e33 100644 (file)
@@ -3,13 +3,15 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vminmaxph-2.h"
+
+#undef AVX512F_LEN
+
 #define AVX512VL
 #define AVX512F_LEN 256
-typedef _Float16 __m256h __attribute__ ((__vector_size__ (32), __may_alias__));
-#include "avx10_2-512-vminmaxph-2.c"
+#include "avx10_2-vminmaxph-2.h"
 
 #undef AVX512F_LEN
 
 #define AVX512F_LEN 128
-typedef _Float16 __m128h __attribute__ ((__vector_size__ (16), __may_alias__));
-#include "avx10_2-512-vminmaxph-2.c"
+#include "avx10_2-vminmaxph-2.h"
similarity index 75%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxph-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vminmaxph-2.h
index 7647f8e41cf26c47e351c90a13ed3504897450d8..a215d965e99b0ec8670573880a851ebe545b9a55 100644 (file)
@@ -1,11 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-fsignaling-nans -mfpmath=sse -O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include <stdbool.h>
index 88aaf5b1d43388f160cc69dabc847168a6150c12..41962c0cf3dd9f4d90db074c211edf3121cc3369 100644 (file)
@@ -3,11 +3,15 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vminmaxps-2.h"
+
+#undef AVX512F_LEN
+
 #define AVX512VL
 #define AVX512F_LEN 256
-#include "avx10_2-512-vminmaxps-2.c"
+#include "avx10_2-vminmaxps-2.h"
 
 #undef AVX512F_LEN
 
 #define AVX512F_LEN 128
-#include "avx10_2-512-vminmaxps-2.c"
+#include "avx10_2-vminmaxps-2.h"
similarity index 74%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vminmaxps-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vminmaxps-2.h
index 1eaa0b2cbe82ae9f7cf2af799c93c383e1810151..9ed09a6a1c390df11986da74a4fe17fd28d35a03 100644 (file)
@@ -1,11 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-fsignaling-nans -mfpmath=sse -O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 32)
 #include <stdbool.h>
index fdf68e63dc769e5f5832f2e3acbd0b49c24a789d..a9251413497db30564e90c8f25b541d2f4aa1a6a 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vmpsadbw-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vmpsadbw-2.c"
+#include "avx10_2-vmpsadbw-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vmpsadbw-2.c"
+#include "avx10_2-vmpsadbw-2.h"
similarity index 90%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vmpsadbw-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vmpsadbw-2.h
index a0a90f7f053b55671746f4d3eda33b5109fa1b5b..062594b6c363642776e133146e80e46462f2a5d7 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index 568c0a9eb12179fac6b53800d08b6b0822145e40..d0f93d05e78ff4201c1c4f53ae72b0674bbfee2f 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vmulbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vmulbf16-2.c"
+#include "avx10_2-vmulbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vmulbf16-2.c" 
+#include "avx10_2-vmulbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vmulbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vmulbf16-2.h
index fe65d95ec3ea9e7cb7f225454613060a5f51e809..1b89350c2a2b4c313ea05eb89f78dcd74248c1cc 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 256d10e09a38cc534136433561e28ea6df4979da..20ebdd5d039c6b8365f53584319c523ae4d50435 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpbssd-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbssd-2.c"
+#include "avx10_2-vpdpbssd-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbssd-2.c"
+#include "avx10_2-vpdpbssd-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssd-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpbssd-2.h
index 493cd2bdbd208173e2d760621ac8e494a188ac25..046af0e35c779237e2cac9270981ed42bbbf8a98 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index 88ab6133fb417306e03ce7446c171769979f006a..4983cb92b1e7eee8d1ea81e0dbdf0b32f0358fac 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpbssds-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbssds-2.c"
+#include "avx10_2-vpdpbssds-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbssds-2.c"
+#include "avx10_2-vpdpbssds-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbssds-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpbssds-2.h
index 479b89322f4c12bb7df7d5417cac5fc772753ffa..e120ce1d52db8fddce9de44642f93df5e4542021 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index cdbd57c5418ed7e45ec81f86d04e3bd6a707e261..967a96c446c2783c2c529300b0dfbd016a3cad9e 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpbsud-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbsud-2.c"
+#include "avx10_2-vpdpbsud-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbsud-2.c"
+#include "avx10_2-vpdpbsud-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbsud-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpbsud-2.h
index d0c090d14c54b9a695968e717c1456290efa7828..d3f91b7907cbb02029b43a3c03e96cfe002d089e 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index 5e9937a69c608aae9f47f9dacd9e3ab9db1bfce0..e03b228c920ac634b0123b489801b78c7cc13ca3 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpbsuds-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbsuds-2.c"
+#include "avx10_2-vpdpbsuds-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbsuds-2.c"
+#include "avx10_2-vpdpbsuds-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbsuds-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpbsuds-2.h
index 8d89c33c46fb68478a489a6ae5cc880094259227..dd038fbca2b7a1c1904314731664ca8f12cbc277 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index 73e3f71270d5c23674f74d2a9c5dd6582f417029..c6a079313ac576fb7e5f1e2bbd34b2b21155dece 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpbuud-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbuud-2.c"
+#include "avx10_2-vpdpbuud-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbuud-2.c"
+#include "avx10_2-vpdpbuud-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbuud-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpbuud-2.h
index 37a4a543fc1b550cac08fa1aaf65b4707284edf1..cc3927a60a40b735372544e9d6537d9284404473 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index 09c1c817c859796253709d2beaf6668b7565ef81..455943b78e2fac7fc468e3e1bfc84453d41c2bb3 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpbuuds-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbuuds-2.c"
+#include "avx10_2-vpdpbuuds-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpbuuds-2.c"
+#include "avx10_2-vpdpbuuds-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpbuuds-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpbuuds-2.h
index 8b18d6f722884eaab3b0cbe77be427615b0c9189..7721f0a24506d797ec3826873ac2e80c1729b7e8 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 8)
index f68d3eda5562bf5811007ebeabfb97e587dc0bec..eced9296622f5c00ff5747d8042e70a2be6b8d05 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpwsud-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwsud-2.c"
+#include "avx10_2-vpdpwsud-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwsud-2.c"
+#include "avx10_2-vpdpwsud-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwsud-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpwsud-2.h
index 824f81403a3416a32436011a0f6d5dad9ebf432d..99d3e140b40cebe136fc65323b118a1df079a6ad 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 3b3f5df2042fbabebc25e06a1de3d7e87480d7e4..d551309deac88f50b3b509a27f46bb5a3cdf1490 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpwsuds-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwsuds-2.c"
+#include "avx10_2-vpdpwsuds-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwsuds-2.c"
+#include "avx10_2-vpdpwsuds-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwsuds-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpwsuds-2.h
index 7e5134938ff3bbe3a19b4dd3102dd693ec3e2da8..dd7d98c1de1f0d7e9af324e64f059afeb02238ba 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 209e62de680166769fef0c6a84cddaecd662c75f..194f263d79658fb4bd398c6a6c68bace205edbcd 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpwusd-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwusd-2.c"
+#include "avx10_2-vpdpwusd-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwusd-2.c"
+#include "avx10_2-vpdpwusd-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwusd-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpwusd-2.h
index 4727d9138e51f93b6f29bf8e1ce5cdfc1bfe3d95..e8a6e6af2134f9cb060ef163a279a3d84c01ae95 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 6e9692b640195144746b5b05fb46939eaaa41a8a..d87f0af7c3f64abe4bccfa5f5b86d94ad6d712fd 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpwusds-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwusds-2.c"
+#include "avx10_2-vpdpwusds-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwusds-2.c"
+#include "avx10_2-vpdpwusds-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwusds-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpwusds-2.h
index 9f965df40bab2ea338b51be9f929ccdf4f5bb697..5c294e0575967bf2b20c7cac4f23165104d3057b 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 8feb5d7b855875034f1c4709688e10d52c5ff14f..4b32bfd31da4ec1c81748e1bd67ff4233d08d807 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpwuud-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwuud-2.c"
+#include "avx10_2-vpdpwuud-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwuud-2.c"
+#include "avx10_2-vpdpwuud-2.h"
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwuud-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpwuud-2.h
index bf0a5641eeaa5fdd27147097e7e774bc415eb45b..3e8b69478b98777f3133a28461658e149544616f 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 930839e79986ebc7fbd94e81004717bf2272f6ec..091d0beed1afdb3cc7c8b328423af763c277079e 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vpdpwuuds-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwuuds-2.c"
+#include "avx10_2-vpdpwuuds-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vpdpwuuds-2.c"
+#include "avx10_2-vpdpwuuds-2.h"
similarity index 89%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vpdpwuuds-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vpdpwuuds-2.h
index c075e0e5d5e8f3dca9f15566338c25917fb9466a..f4ff08a66fd0d5beb05c73366482c5e0a3d01a52 100644 (file)
@@ -1,13 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
-
 #include "avx10-helper.h"
 
 #define SRC_SIZE (AVX512F_LEN / 16)
index 367b2cff70acbfb7696927141e9fd56193349f36..ea4cd6cb274480ac0fa02bc74a1c8848f3a5b0f1 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vrcpbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vrcpbf16-2.c"
+#include "avx10_2-vrcpbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vrcpbf16-2.c" 
+#include "avx10_2-vrcpbf16-2.h"
similarity index 83%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vrcpbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vrcpbf16-2.h
index 28c7ada05095144e3a925d47c56b1f0e45fa700d..bd0c3d2974a275cbb1657b4c705e1be8ea968be6 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 318e430d7927d4fe23479f10eeacedb9f2f3ea00..21ed844fc58009adf5daf217109c55b865216a89 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vreducebf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vreducebf16-2.c"
+#include "avx10_2-vreducebf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vreducebf16-2.c" 
+#include "avx10_2-vreducebf16-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vreducebf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vreducebf16-2.h
index d5063892219593d7e3db3a6211b2d6ae211051df..e920e10a68c2601bc46e784838afc63cdefbbeaa 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 57204388e41fb3a67a61c5b01c0285f0d14e807e..66b091143e12cb2a3f569ae426b46a34298501eb 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vrndscalebf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vrndscalebf16-2.c"
+#include "avx10_2-vrndscalebf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vrndscalebf16-2.c" 
+#include "avx10_2-vrndscalebf16-2.h"
similarity index 84%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vrndscalebf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vrndscalebf16-2.h
index 1b29fc67f1b2a147e1d49c91b82eb8ebff6fdddd..6a973c61733b52ed756e4b7a7beff3304592bd07 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 6083c86b88893be77d77a5961cec5b9d5a75dcf1..9cebca91794ab2b30fde09f832accfb5e1cf59b3 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vrsqrtbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vrsqrtbf16-2.c"
+#include "avx10_2-vrsqrtbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vrsqrtbf16-2.c" 
+#include "avx10_2-vrsqrtbf16-2.h"
similarity index 83%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vrsqrtbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vrsqrtbf16-2.h
index 444b3321ee007b31f0c4f81458b53fbd08b38bb0..14811bc913d7454b98f98a40dffdc2b6787b5c08 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <math.h>
 #define SIZE (AVX512F_LEN / 16)
index 81b24f3c6a932e81fdded3ccffadf7339cac075c..28f85bcdf37d133f67462b2bdc5ab3e59621e1a2 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vscalefbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vscalefbf16-2.c"
+#include "avx10_2-vscalefbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vscalefbf16-2.c" 
+#include "avx10_2-vscalefbf16-2.h"
similarity index 86%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vscalefbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vscalefbf16-2.h
index b1c5f4bd7d6e50c76efe1a2de9fbd2970b147176..08565f2b0fb0ac6018d98a7100e84159cfb17dcf 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 5188e050a492e7bd077f1920201e7cd56a096865..288c22bc3b490a3a59eb8974575f489b7c60f568 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vsqrtbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vsqrtbf16-2.c"
+#include "avx10_2-vsqrtbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vsqrtbf16-2.c" 
+#include "avx10_2-vsqrtbf16-2.h"
similarity index 83%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vsqrtbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vsqrtbf16-2.h
index 12f87b35aca5806e150edf92a4e6dd35a513f78c..30e1bd2f7880301d396b7e69d785a695288a8b50 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #include <math.h>
 #define SIZE (AVX512F_LEN / 16)
index 16f444afbf8a476a86246d3092b12827f6b48f3a..09f05a09cb6e4286284e1c3b29cec448e439463e 100644 (file)
@@ -3,14 +3,19 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
+#include "avx10_2-vsubbf16-2.h"
+
+#undef AVX512F_LEN
+#undef AVX512F_LEN_HALF
+
 #define AVX512VL
 #define AVX512F_LEN 256
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vsubbf16-2.c"
+#include "avx10_2-vsubbf16-2.h"
 
 #undef AVX512F_LEN
 #undef AVX512F_LEN_HALF
 
 #define AVX512F_LEN 128
 #define AVX512F_LEN_HALF 128
-#include "avx10_2-512-vsubbf16-2.c" 
+#include "avx10_2-vsubbf16-2.h"
similarity index 85%
rename from gcc/testsuite/gcc.target/i386/avx10_2-512-vsubbf16-2.c
rename to gcc/testsuite/gcc.target/i386/avx10_2-vsubbf16-2.h
index 16a5aced1a04f5a771b651eaebf48bab91ef99c6..379d840b91eda0efe3033967bb263a6dc9dbb265 100644 (file)
@@ -1,12 +1,3 @@
-/* { dg-do run } */
-/* { dg-options "-O2 -march=x86-64-v3 -mavx10.2" } */
-/* { dg-require-effective-target avx10_2 } */
-
-#ifndef AVX10_2
-#define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
-#endif
 #include "avx10-helper.h"
 #define SIZE (AVX512F_LEN / 16)
 #include "avx512f-mask-type.h"
index 41f09e36c83cc317572f5ce7e6df5ad6cace1c31..f0089812563ed3ac6a44908259a86fa35b97694f 100644 (file)
@@ -97,7 +97,7 @@ MAKE_MASK_ZERO(bf16_bf, __bf16)
 /* Function which calculates result.  */
 #define CALC EVAL(calc_, AVX512F_LEN,)
 
-#if !defined(AVX512VL) || defined(AVX10_512BIT)
+#if !defined(AVX512VL)
 #define AVX512F_LEN 512
 #define AVX512F_LEN_HALF 256
 #endif
index 76c16db8c11ce3aca4f400f8742a6ec69b01b8ec..c9d95ef2e10b3936f14490addb0bcd2eff35c35c 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdlib.h>
 #include "m512-check.h"
 
-#ifdef AVX10_2_512
-static void sm4_avx512f_test (void);
+#ifdef AVX10_2
+static void sm4_avx10_test (void);
 #else
 static void sm4_test (void);
 #endif
@@ -160,7 +160,7 @@ compute_sm4##name##4 (int *dst, int *src1, int *src2, int vl) \
   if (check_union256i_d (res2, dst2))                        \
     abort ();
 
-#define SM4_AVX512F_SIMULATE(name)                           \
+#define SM4_AVX10_SIMULATE(name)                             \
   union512i_d src5, src6, res3;                                      \
   int dst3[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};    \
                                                              \
@@ -181,8 +181,8 @@ static void
 __attribute__ ((noinline))
 do_test (void)
 {
-#ifdef AVX10_512BIT
-  sm4_avx512f_test ();
+#ifdef AVX10_2
+  sm4_avx10_test ();
 #else
   sm4_test ();
 #endif
similarity index 72%
rename from gcc/testsuite/gcc.target/i386/sm4key4-avx10_2-512-2.c
rename to gcc/testsuite/gcc.target/i386/sm4key4-avx10_2-2.c
index 1c8b2c3359a7b7b578e414ee85fce3b8f35a88c4..2cb638ecaf0323d1a584126f84dc3c9a4191815a 100644 (file)
@@ -4,15 +4,13 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
 #include "sm4-check.h"
 
 char key;
 SM4_FUNC (key);
 
 static void
-sm4_avx512f_test (void)
+sm4_avx10_test (void)
 {
-  SM4_AVX512F_SIMULATE (key);
+  SM4_AVX10_SIMULATE (key);
 }
similarity index 72%
rename from gcc/testsuite/gcc.target/i386/sm4rnds4-avx10_2-512-2.c
rename to gcc/testsuite/gcc.target/i386/sm4rnds4-avx10_2-2.c
index 5418a5373a1b491179474ff985dfb0d8066b683b..b544c074167ef2d5bd31f20cfb035475fc697209 100644 (file)
@@ -4,15 +4,13 @@
 /* { dg-require-effective-target avx10_2 } */
 
 #define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
 #include "sm4-check.h"
 
 char rnds;
 SM4_FUNC (rnds);
 
 static void
-sm4_avx512f_test (void)
+sm4_avx10_test (void)
 {
-  SM4_AVX512F_SIMULATE (rnds);
+  SM4_AVX10_SIMULATE (rnds);
 }
index 06a85a8bbe190c9ae1ef08e99149292aa940f832..204348f153a749a86ffaa98f2f8ff10fce34b43d 100644 (file)
@@ -5,8 +5,7 @@
 #define N 512
 
 #define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
+#define AVX10_SCALAR
 #define AVX512F_LEN 512
 
 #define TEST test_512
index 76cca22958b9eabe585150a543326455930a624b..798e7fc2e882685340e010461e373d54e52b8d7c 100644 (file)
@@ -5,8 +5,7 @@
 #define N 512
 
 #define AVX10_2
-#define AVX10_2_512
-#define AVX10_512BIT
+#define AVX10_SCALAR
 #define AVX512F_LEN 512
 
 #define TEST test_512