avx512f-vaddpd-2.c: Add static void for CALC, void for TEST instead of static void.
gcc/testsuite/ * gcc.target/i386/avx512f-vaddpd-2.c: Add static void for CALC, void for TEST instead of static void. * gcc.target/i386/avx512f-vaddps-2.c: Ditto. * gcc.target/i386/avx512f-vblendmpd-2.c: Ditto. * gcc.target/i386/avx512f-vblendmps-2.c: Ditto. * gcc.target/i386/avx512f-vbroadcastf32x4-2.c:Ditto. * gcc.target/i386/avx512f-vbroadcastf64x4-2.c:Ditto. * gcc.target/i386/avx512f-vbroadcasti32x4-2.c: Ditto. * gcc.target/i386/avx512f-vbroadcasti64x4-2.c: Ditto. * gcc.target/i386/avx512f-vbroadcastsd-2.c: Ditto. * gcc.target/i386/avx512f-vbroadcastss-2.c: Ditto. * gcc.target/i386/avx512f-vcvtps2dq-2.c: Ditto. * gcc.target/i386/avx512f-vcvttps2dq-2.c: Ditto. * gcc.target/i386/avx512f-vdivpd-2.c: Ditto. * gcc.target/i386/avx512f-vdivps-2.c: Ditto. * gcc.target/i386/avx512f-vextractf32x4-2.c: Ditto. * gcc.target/i386/avx512f-vextracti32x4-2.c: Ditto. * gcc.target/i386/avx512f-vmaxpd-2.c: Ditto. * gcc.target/i386/avx512f-vmaxps-2.c: Ditto. * gcc.target/i386/avx512f-vminpd-2.c: Ditto. * gcc.target/i386/avx512f-vminps-2.c: Ditto. * gcc.target/i386/avx512f-vmulpd-2.c: Ditto. * gcc.target/i386/avx512f-vmulps-2.c: Ditto. * gcc.target/i386/avx512f-vpaddd-2.c: Ditto. * gcc.target/i386/avx512f-vpaddq-2.c: Ditto. * gcc.target/i386/avx512f-vpblendmd-2.c: Ditto. * gcc.target/i386/avx512f-vpblendmq-2.c: Ditto. * gcc.target/i386/avx512f-vpbroadcastd-2.c: Ditto. * gcc.target/i386/avx512f-vpbroadcastq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpeqd-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpeqq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpgtd-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpgtq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovdb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovdw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovqb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovqw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsdb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsdw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsqb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsqd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsqw-2.c: Ditto. * gcc.target/i386/avx512f-vpslld-2.c: Ditto. * gcc.target/i386/avx512f-vpslldi-2.c: Ditto. * gcc.target/i386/avx512f-vpsllq-2.c: Ditto. * gcc.target/i386/avx512f-vpsllqi-2.c: Ditto. * gcc.target/i386/avx512f-vpsrad-2.c: Ditto. * gcc.target/i386/avx512f-vpsradi-2.c: Ditto. * gcc.target/i386/avx512f-vpsraq-2.c: Ditto. * gcc.target/i386/avx512f-vpsraqi-2.c: Ditto. * gcc.target/i386/avx512f-vpsravd-2.c: Ditto. * gcc.target/i386/avx512f-vpsravq-2.c: Ditto. * gcc.target/i386/avx512f-vpsubd-2.c: Ditto. * gcc.target/i386/avx512f-vpsubq-2.c: Ditto. * gcc.target/i386/avx512f-vptestmd-2.c: Ditto. * gcc.target/i386/avx512f-vptestmq-2.c: Ditto. * gcc.target/i386/avx512f-vptestnmd-2.c: Ditto. * gcc.target/i386/avx512f-vptestnmq-2.c: Ditto. * gcc.target/i386/avx512f-vpunpckhdq-2.c: Ditto. * gcc.target/i386/avx512f-vpunpckhqdq-2.c: Ditto. * gcc.target/i386/avx512f-vpunpckldq-2.c: Ditto. * gcc.target/i386/avx512f-vpunpcklqdq-2.c: Ditto. * gcc.target/i386/avx512f-vscalefpd-2.c: Ditto. * gcc.target/i386/avx512f-vscalefps-2.c: Ditto. * gcc.target/i386/avx512f-vshuff32x4-2.c: Ditto. * gcc.target/i386/avx512f-vshuff64x2-2.c: Ditto. * gcc.target/i386/avx512f-vshufi32x4-2.c: Ditto. * gcc.target/i386/avx512f-vshufi64x2-2.c: Ditto. * gcc.target/i386/avx512f-vsubpd-2.c: Ditto. * gcc.target/i386/avx512f-vsubps-2.c: Ditto. * gcc.target/i386/avx512f-vpmovdb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovdw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovqb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovqw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsdb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsdw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsqb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsqd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsqw-2.c: Ditto. * gcc.target/i386/avx512f-vpsllvd-2.c: Ditto. * gcc.target/i386/avx512f-vpsllvq-2.c: Ditto. * gcc.target/i386/avx512f-vpsrld-2.c: Ditto. * gcc.target/i386/avx512f-vpsrldi-2.c: Ditto. * gcc.target/i386/avx512f-vpsrlq-2.c: Ditto. * gcc.target/i386/avx512f-vpsrlqi-2.c: Ditto. * gcc.target/i386/avx512f-vpsrlvd-2.c: Ditto. * gcc.target/i386/avx512f-vpsrlvq-2.c: Ditto. * gcc.target/i386/avx512f-vpshufd-2.c: Delete variables, void for TEST instead of static void. * gcc.target/i386/avx512f-vpcmpged-2.c: Add static void for CALC, delete unused variables. * gcc.target/i386/avx512f-vpcmpgeq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpgeud-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpgeuq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpled-2.c: Add static void for CALC, delete unused variables, void for TEST instead of static void. * gcc.target/i386/avx512f-vpcmpleq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpleud-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpleuq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpltd-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpltq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpltud-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpltuq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpneqd-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpneqq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpnequd-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpnequq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovqd-2.c: Ditto. * gcc.target/i386/avx512f-vpmaxsd-2.c: Add static void for CALC, initialize variables. * gcc.target/i386/avx512f-vpmaxsq-2.c:Ditto. * gcc.target/i386/avx512f-vpminsd-2.c: Ditto. * gcc.target/i386/avx512f-vpminsq-2.c: Ditto. * gcc.target/i386/avx512f-vcvttsd2si-1.c: Add missed type. * gcc.target/i386/avx512f-vcvttss2si-1.c: Ditto. * gcc.target/i386/avx512f-vcmpsd-2.c: Delete unused variables. * gcc.target/i386/avx512f-vcmpss-2.c: Ditto. * gcc.target/i386/avx512f-vpmuldq-2.c: Ditto. * gcc.target/i386/avx512f-vrndscalepd-2.c: Ditto. * gcc.target/i386/i386.exp: Ditto. * gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c: Add static void for CALC, void for TEST instead of static void, initialize variables. * gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c: Ditto. * gcc.target/i386/avx512cd-vpconflictd-2.c: Void for TEST instead of static void. * gcc.target/i386/avx512cd-vpconflictq-2.c: Ditto. * gcc.target/i386/avx512cd-vplzcntd-2.c: Ditto. * gcc.target/i386/avx512cd-vplzcntq-2.c: Ditto. * gcc.target/i386/avx512f-valignd-2.c: Ditto. * gcc.target/i386/avx512f-valignq-2.c: Ditto. * gcc.target/i386/avx512f-vcmppd-2.c: Ditto. * gcc.target/i386/avx512f-vcmpps-2.c: Ditto. * gcc.target/i386/avx512f-vcompresspd-2.c: Ditto. * gcc.target/i386/avx512f-vcompressps-2.c: Ditto. * gcc.target/i386/avx512f-vcvtdq2pd-2.c: Ditto. * gcc.target/i386/avx512f-vcvtdq2ps-2.c: Ditto. * gcc.target/i386/avx512f-vcvtpd2ps-2.c: Ditto. * gcc.target/i386/avx512f-vcvtph2ps-2.c: Ditto. * gcc.target/i386/avx512f-vcvtps2pd-2.c: Ditto. * gcc.target/i386/avx512f-vcvtps2ph-2.c: Ditto. * gcc.target/i386/avx512f-vcvttpd2dq-2.c: Ditto. * gcc.target/i386/avx512f-vexpandpd-2.c: Ditto. * gcc.target/i386/avx512f-vexpandps-2.c: Ditto. * gcc.target/i386/avx512f-vfixupimmss-2.c: Ditto. * gcc.target/i386/avx512f-vfmaddXXXpd-2.c: Ditto. * gcc.target/i386/avx512f-vfmaddXXXps-2.c: Ditto. * gcc.target/i386/avx512f-vfmaddsubXXXpd-2.c: Ditto. * gcc.target/i386/avx512f-vfmaddsubXXXps-2.c: Ditto. * gcc.target/i386/avx512f-vfmsubXXXpd-2.c: Ditto. * gcc.target/i386/avx512f-vfmsubXXXps-2.c: Ditto. * gcc.target/i386/avx512f-vfmsubaddXXXpd-2.c: Ditto. * gcc.target/i386/avx512f-vfmsubaddXXXps-2.c: Ditto. * gcc.target/i386/avx512f-vfnmaddXXXpd-2.c: Ditto. * gcc.target/i386/avx512f-vfnmaddXXXps-2.c: Ditto. * gcc.target/i386/avx512f-vfnmsubXXXpd-2.c: Ditto. * gcc.target/i386/avx512f-vfnmsubXXXps-2.c: Ditto. * gcc.target/i386/avx512f-vgetmantpd-2.c: Ditto. * gcc.target/i386/avx512f-vgetmantps-2.c: Ditto. * gcc.target/i386/avx512f-vinsertf32x4-2.c: Ditto. * gcc.target/i386/avx512f-vinserti32x4-2.c: Ditto. * gcc.target/i386/avx512f-vmovapd-2.c: Ditto. * gcc.target/i386/avx512f-vmovaps-2.c: Ditto. * gcc.target/i386/avx512f-vmovddup-2.c: Ditto. * gcc.target/i386/avx512f-vmovdqa32-2.c: Ditto. * gcc.target/i386/avx512f-vmovdqa64-2.c: Ditto. * gcc.target/i386/avx512f-vmovdqu32-2.c: Ditto. * gcc.target/i386/avx512f-vmovdqu64-2.c: Ditto. * gcc.target/i386/avx512f-vmovshdup-2.c: Ditto. * gcc.target/i386/avx512f-vmovsldup-2.c: Ditto. * gcc.target/i386/avx512f-vmovupd-2.c: Ditto. * gcc.target/i386/avx512f-vmovups-2.c: Ditto. * gcc.target/i386/avx512f-vpabsd-2.c: Ditto. * gcc.target/i386/avx512f-vpabsq-2.c: Ditto. * gcc.target/i386/avx512f-vpandd-2.c: Ditto. * gcc.target/i386/avx512f-vpandnd-2.c: Ditto. * gcc.target/i386/avx512f-vpandnq-2.c: Ditto. * gcc.target/i386/avx512f-vpandq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpd-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpq-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpud-2.c: Ditto. * gcc.target/i386/avx512f-vpcmpuq-2.c: Ditto. * gcc.target/i386/avx512f-vpcompressd-2.c: Ditto. * gcc.target/i386/avx512f-vpcompressq-2.c: Ditto. * gcc.target/i386/avx512f-vpermd-2.c: Ditto. * gcc.target/i386/avx512f-vpermi2d-2.c: Ditto. * gcc.target/i386/avx512f-vpermi2pd-2.c: Ditto. * gcc.target/i386/avx512f-vpermi2ps-2.c: Ditto. * gcc.target/i386/avx512f-vpermi2q-2.c: Ditto. * gcc.target/i386/avx512f-vpermilpd-2.c: Ditto. * gcc.target/i386/avx512f-vpermilpdi-2.c: Ditto. * gcc.target/i386/avx512f-vpermilps-2.c: Ditto. * gcc.target/i386/avx512f-vpermilpsi-2.c: Ditto. * gcc.target/i386/avx512f-vpermpd-2.c: Ditto. * gcc.target/i386/avx512f-vpermpdi-2.c: Ditto. * gcc.target/i386/avx512f-vpermps-2.c: Ditto. * gcc.target/i386/avx512f-vpermq-imm-2.c: Ditto. * gcc.target/i386/avx512f-vpermq-var-2.c: Ditto. * gcc.target/i386/avx512f-vpermt2d-2.c: Ditto. * gcc.target/i386/avx512f-vpermt2pd-2.c: Ditto. * gcc.target/i386/avx512f-vpermt2ps-2.c: Ditto. * gcc.target/i386/avx512f-vpermt2q-2.c: Ditto. * gcc.target/i386/avx512f-vpexpandd-2.c: Ditto. * gcc.target/i386/avx512f-vpexpandq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsxbd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsxbq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsxdq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsxwd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovsxwq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovzxbd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovzxbq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovzxdq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovzxwd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovzxwq-2.c: Ditto. * gcc.target/i386/avx512f-vpmulld-2.c: Ditto. * gcc.target/i386/avx512f-vpord-2.c: Ditto. * gcc.target/i386/avx512f-vporq-2.c: Ditto. * gcc.target/i386/avx512f-vpslld-2.c: Ditto. * gcc.target/i386/avx512f-vpternlogd-2.c: Ditto. * gcc.target/i386/avx512f-vpternlogq-2.c: Ditto. * gcc.target/i386/avx512f-vpxord-2.c: Ditto. * gcc.target/i386/avx512f-vpxorq-2.c: Ditto. * gcc.target/i386/avx512f-vrcp14pd-2.c: Ditto. * gcc.target/i386/avx512f-vrcp14ps-2.c: Ditto. * gcc.target/i386/avx512f-vrndscaleps-2.c: Ditto. * gcc.target/i386/avx512f-vrsqrt14pd-2.c: Ditto. * gcc.target/i386/avx512f-vrsqrt14ps-2.c: Ditto. * gcc.target/i386/avx512f-vshufpd-2.c: Ditto. * gcc.target/i386/avx512f-vshufps-2.c: Ditto. * gcc.target/i386/avx512f-vsqrtpd-2.c: Ditto. * gcc.target/i386/avx512f-vsqrtps-2.c: Ditto. * gcc.target/i386/avx512f-vunpckhpd-2.c: Ditto. * gcc.target/i386/avx512f-vunpckhps-2.c: Ditto. * gcc.target/i386/avx512f-vunpcklpd-2.c: Ditto. * gcc.target/i386/avx512f-vunpcklps-2.c: Ditto. * gcc.target/i386/avx512f-vprold-2.c: Put parentheses, void for TEST instead of static void. * gcc.target/i386/avx512f-vprolq-2.c: Ditto. * gcc.target/i386/avx512f-vprolvd-2.c: Ditto. * gcc.target/i386/avx512f-vprolvq-2.c: Ditto. * gcc.target/i386/avx512f-vprord-2.c: Ditto. * gcc.target/i386/avx512f-vprorq-2.c: Ditto. * gcc.target/i386/avx512f-vprorvd-2.c: Ditto. * gcc.target/i386/avx512f-vprorvq-2.c: Ditto. * gcc.target/i386/avx512f-vfixupimmpd-2.c: Void for TEST instead of static void, delete unused variables. * gcc.target/i386/avx512f-vfixupimmps-2.c: Ditto. * gcc.target/i386/avx512f-vfixupimmsd-2.c: Ditto. * gcc.target/i386/avx512f-vgetexppd-2.c: Ditto. * gcc.target/i386/avx512f-vgetexpps-2.c: Ditto. * gcc.target/i386/avx512f-vpmuludq-2.c: Void for TEST instead of static void, delete unused variables, Change parameters for UNION_CHECK, MASK_MERGE and MASK_ZERO. * gcc.target/i386/avx512f-vcvtpd2dq-2.c: Change type of parameter in CALC, void for TEST instead of static void. * gcc.target/i386/avx512f-vcvtpd2udq-2.c: Change parameters for UNION_CHECK, MASK_MERGE and MASK_ZERO, void for TEST instead of static void. * gcc.target/i386/avx512f-vcvttpd2udq-2.c: Ditto. * gcc.target/i386/avx512f-vcvtudq2pd-2.c: Void for TEST instead of static void, change type of parameter for UNION_TYPE. * gcc.target/i386/avx512f-vcvtudq2ps-2.c: Ditto. * gcc.target/i386/avx512f-vcvtps2udq-2.c: Add static void for CALC, void for TEST instead of static void, delete unused variables, change parameters for UNION_CHECK, MASK_MERGE and MASK_ZERO. * gcc.target/i386/avx512f-vcvttps2udq-2.c: Ditto. * gcc.target/i386/avx512f-vpmovusdb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovusdw-2.c: Ditto. * gcc.target/i386/avx512f-vpmovusqb-2.c: Ditto. * gcc.target/i386/avx512f-vpmovusqd-2.c: Ditto. * gcc.target/i386/avx512f-vpmovusqw-2.c: Ditto. * gcc.target/i386/avx512f-vpmaxud-2.c: Add static void for CALC, void for TEST instead of static void, change parameters for UNION_CHECK, UNION_TYPE, MASK_MERGE and MASK_ZERO. * gcc.target/i386/avx512f-vpmaxuq-2.c: Ditto. * gcc.target/i386/avx512f-vpminud-2.c: Ditto. * gcc.target/i386/avx512f-vpminuq-2.c: Ditto. * gcc.target/i386/avx512f-additional-reg-names.c: Add __attribute__((unused)). * gcc.target/i386/avx512f-dummy.c: Delete unused variables, add __attribute__((unused)). * gcc.target/i386/avx512f-kandnw-1.c: Initialize variables. * gcc.target/i386/avx512f-kandw-1.c: Ditto. * gcc.target/i386/avx512f-klogic-2.c: Ditto. * gcc.target/i386/avx512f-knotw-1.c: Ditto. * gcc.target/i386/avx512f-korw-1.c: Ditto. * gcc.target/i386/avx512f-kunpckbw-1.c: Ditto. * gcc.target/i386/avx512f-kxnorw-1.c: Ditto. * gcc.target/i386/avx512f-kxorw-1.c: Ditto. * gcc.target/i386/avx512f-kortestw-1.c: Initialize variables, add __attribute__((unused)). * gcc.target/i386/avx512f-vcvttsd2si-2.c: Exclude "avx512f-helper.h" * gcc.target/i386/avx512f-vcvttss2si-2.c:Ditto. * gcc.target/i386/avx512f-vgetexpsd-2.c: Ditto. * gcc.target/i386/avx512f-vgetexpss-2.c: Ditto. * gcc.target/i386/avx512f-vrndscalesd-2.c: Ditto. * gcc.target/i386/avx512f-vrndscaless-2.c: Ditto. * gcc.target/i386/avx512f-vscalefsd-2.c: Ditto. * gcc.target/i386/avx512f-vscalefss-2.c: Ditto. * gcc.target/i386/avx512f-vgetmantsd-2.c: Exclude "avx512f-helper.h", delete unused variables. * gcc.target/i386/avx512f-vgetmantss-2.c: Ditto. * gcc.target/i386/avx512f-vrcp14sd-2.c: Ditto. * gcc.target/i386/avx512f-vrcp14ss-2.c: Ditto. * gcc.target/i386/avx512f-vrsqrt14sd-2.c: Ditto. * gcc.target/i386/avx512f-vrsqrt14ss-2.c: Ditto. * gcc.target/i386/avx512f-helper.h: Void for test_512() instead of static void, mask_merging and zero_masking for unsigned types. * gcc.target/i386/m128-check.h: Add new unions, CHECK_EXP and CHECK_ARRAY for unsigned types. * gcc.target/i386/m256-check.h: Ditto. * gcc.target/i386/m512-check.h: Ditto. From-SVN: r211372
This commit is contained in:
parent
545fb0e8ec
commit
451c4fba28
|
@ -1,3 +1,317 @@
|
||||||
|
2014-06-09 Petr Murzin <petr.murzin@intel.com>
|
||||||
|
|
||||||
|
* gcc.target/i386/avx512f-vaddpd-2.c: Add static void for CALC,
|
||||||
|
void for TEST instead of static void.
|
||||||
|
* gcc.target/i386/avx512f-vaddps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vblendmpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vblendmps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vbroadcastf32x4-2.c:Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vbroadcastf64x4-2.c:Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vbroadcasti32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vbroadcasti64x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vbroadcastsd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vbroadcastss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtps2dq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvttps2dq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vdivpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vdivps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vextractf32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vextracti32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmaxpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmaxps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vminpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vminps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmulpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmulps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpaddd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpaddq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpblendmd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpblendmq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpbroadcastd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpbroadcastq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpeqd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpeqq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpgtd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpgtq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovdb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovdw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovqb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovqw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsdb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsdw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsqb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsqd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsqw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpslld-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpslldi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsllq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsllqi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrad-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsradi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsraq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsraqi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsravd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsravq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsubd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsubq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vptestmd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vptestmq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vptestnmd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vptestnmq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpunpckhdq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpunpckhqdq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpunpckldq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpunpcklqdq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vscalefpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vscalefps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vshuff32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vshuff64x2-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vshufi32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vshufi64x2-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vsubpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vsubps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovdb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovdw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovqb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovqw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsdb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsdw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsqb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsqd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsqw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsllvd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsllvq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrld-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrldi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrlq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrlqi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrlvd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpsrlvq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpshufd-2.c: Delete variables, void for TEST
|
||||||
|
instead of static void.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpged-2.c: Add static void for CALC,
|
||||||
|
delete unused variables.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpgeq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpgeud-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpgeuq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpled-2.c: Add static void for CALC,
|
||||||
|
delete unused variables, void for TEST instead of static void.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpleq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpleud-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpleuq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpltd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpltq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpltud-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpltuq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpneqd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpneqq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpnequd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpnequq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovqd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmaxsd-2.c: Add static void for CALC,
|
||||||
|
initialize variables.
|
||||||
|
* gcc.target/i386/avx512f-vpmaxsq-2.c:Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpminsd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpminsq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvttsd2si-1.c: Add missed type.
|
||||||
|
* gcc.target/i386/avx512f-vcvttss2si-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcmpsd-2.c: Delete unused variables.
|
||||||
|
* gcc.target/i386/avx512f-vcmpss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmuldq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrndscalepd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/i386.exp: Ditto.
|
||||||
|
* gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c: Add static void for CALC,
|
||||||
|
void for TEST instead of static void, initialize variables.
|
||||||
|
* gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512cd-vpconflictd-2.c: Void for TEST instead of
|
||||||
|
static void.
|
||||||
|
* gcc.target/i386/avx512cd-vpconflictq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512cd-vplzcntd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512cd-vplzcntq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-valignd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-valignq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcmppd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcmpps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcompresspd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcompressps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtdq2pd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtdq2ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtpd2ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtph2ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtps2pd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtps2ph-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvttpd2dq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vexpandpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vexpandps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfixupimmss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmaddXXXpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmaddXXXps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmaddsubXXXpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmaddsubXXXps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmsubXXXpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmsubXXXps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmsubaddXXXpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfmsubaddXXXps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfnmaddXXXpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfnmaddXXXps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfnmsubXXXpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfnmsubXXXps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetmantpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetmantps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vinsertf32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vinserti32x4-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovapd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovaps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovddup-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovdqa32-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovdqa64-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovdqu32-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovdqu64-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovshdup-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovsldup-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovupd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vmovups-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpabsd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpabsq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpandd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpandnd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpandnq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpandq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpud-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcmpuq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcompressd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpcompressq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermi2d-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermi2pd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermi2ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermi2q-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermilpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermilpdi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermilps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermilpsi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermpdi-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermq-imm-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermq-var-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermt2d-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermt2pd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermt2ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpermt2q-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpexpandd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpexpandq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsxbd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsxbq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsxdq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsxwd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovsxwq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovzxbd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovzxbq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovzxdq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovzxwd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovzxwq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmulld-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpord-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vporq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpslld-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpternlogd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpternlogq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpxord-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpxorq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrcp14pd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrcp14ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrndscaleps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrsqrt14pd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrsqrt14ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vshufpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vshufps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vsqrtpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vsqrtps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vunpckhpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vunpckhps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vunpcklpd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vunpcklps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprold-2.c: Put parentheses, void for TEST
|
||||||
|
instead of static void.
|
||||||
|
* gcc.target/i386/avx512f-vprolq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprolvd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprolvq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprord-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprorq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprorvd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vprorvq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfixupimmpd-2.c: Void for TEST instead of
|
||||||
|
static void, delete unused variables.
|
||||||
|
* gcc.target/i386/avx512f-vfixupimmps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vfixupimmsd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetexppd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetexpps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmuludq-2.c: Void for TEST instead of
|
||||||
|
static void, delete unused variables, Change parameters for
|
||||||
|
UNION_CHECK, MASK_MERGE and MASK_ZERO.
|
||||||
|
* gcc.target/i386/avx512f-vcvtpd2dq-2.c: Change type of parameter in
|
||||||
|
CALC, void for TEST instead of static void.
|
||||||
|
* gcc.target/i386/avx512f-vcvtpd2udq-2.c: Change parameters for
|
||||||
|
UNION_CHECK, MASK_MERGE and MASK_ZERO, void for TEST instead of static
|
||||||
|
void.
|
||||||
|
* gcc.target/i386/avx512f-vcvttpd2udq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtudq2pd-2.c: Void for TEST instead of
|
||||||
|
static void, change type of parameter for UNION_TYPE.
|
||||||
|
* gcc.target/i386/avx512f-vcvtudq2ps-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vcvtps2udq-2.c: Add static void for CALC,
|
||||||
|
void for TEST instead of static void, delete unused variables, change
|
||||||
|
parameters for UNION_CHECK, MASK_MERGE and MASK_ZERO.
|
||||||
|
* gcc.target/i386/avx512f-vcvttps2udq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovusdb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovusdw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovusqb-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovusqd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmovusqw-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpmaxud-2.c: Add static void for CALC,
|
||||||
|
void for TEST instead of static void, change parameters for UNION_CHECK,
|
||||||
|
UNION_TYPE, MASK_MERGE and MASK_ZERO.
|
||||||
|
* gcc.target/i386/avx512f-vpmaxuq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpminud-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vpminuq-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-additional-reg-names.c: Add
|
||||||
|
__attribute__((unused)).
|
||||||
|
* gcc.target/i386/avx512f-dummy.c: Delete unused variables, add
|
||||||
|
__attribute__((unused)).
|
||||||
|
* gcc.target/i386/avx512f-kandnw-1.c: Initialize variables.
|
||||||
|
* gcc.target/i386/avx512f-kandw-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-klogic-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-knotw-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-korw-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-kunpckbw-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-kxnorw-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-kxorw-1.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-kortestw-1.c: Initialize variables,
|
||||||
|
add __attribute__((unused)).
|
||||||
|
* gcc.target/i386/avx512f-vcvttsd2si-2.c: Exclude "avx512f-helper.h"
|
||||||
|
* gcc.target/i386/avx512f-vcvttss2si-2.c:Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetexpsd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetexpss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrndscalesd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrndscaless-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vscalefsd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vscalefss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vgetmantsd-2.c: Exclude "avx512f-helper.h",
|
||||||
|
delete unused variables.
|
||||||
|
* gcc.target/i386/avx512f-vgetmantss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrcp14sd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrcp14ss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrsqrt14sd-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-vrsqrt14ss-2.c: Ditto.
|
||||||
|
* gcc.target/i386/avx512f-helper.h: Void for test_512() instead of
|
||||||
|
static void, mask_merging and zero_masking for unsigned types.
|
||||||
|
* gcc.target/i386/m128-check.h: Add new unions, CHECK_EXP and
|
||||||
|
CHECK_ARRAY for unsigned types.
|
||||||
|
* gcc.target/i386/m256-check.h: Ditto.
|
||||||
|
* gcc.target/i386/m512-check.h: Ditto.
|
||||||
|
|
||||||
2014-06-09 Alan Lawrence <alan.lawrence@arm.com>
|
2014-06-09 Alan Lawrence <alan.lawrence@arm.com>
|
||||||
|
|
||||||
PR target/61062
|
PR target/61062
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (long long *res, __mmask8 src)
|
CALC (long long *res, __mmask8 src)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -17,13 +18,13 @@ CALC (long long *res, __mmask8 src)
|
||||||
res[i] = src;
|
res[i] = src;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) res;
|
UNION_TYPE (AVX512F_LEN, i_q) res;
|
||||||
long long res_ref[SIZE];
|
long long res_ref[SIZE];
|
||||||
__mmask8 src;
|
__mmask8 src = 0;
|
||||||
|
|
||||||
for (i = 0; i < SIZE; i++)
|
for (i = 0; i < SIZE; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (int *res, __mmask16 src)
|
CALC (int *res, __mmask16 src)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -17,13 +18,13 @@ CALC (int *res, __mmask16 src)
|
||||||
res[i] = src;
|
res[i] = src;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) res;
|
UNION_TYPE (AVX512F_LEN, i_d) res;
|
||||||
int res_ref[SIZE];
|
int res_ref[SIZE];
|
||||||
__mmask16 src;
|
__mmask16 src = 0;
|
||||||
|
|
||||||
for (i = 0; i < SIZE; i++)
|
for (i = 0; i < SIZE; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,7 +25,7 @@ CALC (int *s, int *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2, res3;
|
||||||
|
|
|
@ -25,7 +25,7 @@ CALC (long long *s, long long *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2, res3;
|
||||||
|
|
|
@ -25,7 +25,7 @@ CALC (int *s, int *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2, res3;
|
||||||
|
|
|
@ -25,7 +25,7 @@ CALC (long long *s, long long *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2, res3;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
void foo ()
|
void foo ()
|
||||||
{
|
{
|
||||||
register int zmm_var asm ("zmm9");
|
register int zmm_var asm ("zmm9") __attribute__((unused));
|
||||||
|
|
||||||
__asm__ __volatile__("vxorpd %%zmm0, %%zmm0, %%zmm7\n" : : : "zmm7" );
|
__asm__ __volatile__("vxorpd %%zmm0, %%zmm0, %%zmm7\n" : : : "zmm7" );
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
void static
|
void static
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
{
|
{
|
||||||
union512i_q u, s1, s2;
|
union512i_q u;
|
||||||
long long e[8];
|
long long e[8];
|
||||||
volatile int tst = check_union512i_q (u, e);
|
volatile int tst __attribute__((unused)) = check_union512i_q (u, e);
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,10 @@ MAKE_MASK_MERGE(i_d, int)
|
||||||
MAKE_MASK_MERGE(i_q, long long)
|
MAKE_MASK_MERGE(i_q, long long)
|
||||||
MAKE_MASK_MERGE(, float)
|
MAKE_MASK_MERGE(, float)
|
||||||
MAKE_MASK_MERGE(d, double)
|
MAKE_MASK_MERGE(d, double)
|
||||||
|
MAKE_MASK_MERGE(i_ub, unsigned char)
|
||||||
|
MAKE_MASK_MERGE(i_uw, unsigned short)
|
||||||
|
MAKE_MASK_MERGE(i_ud, unsigned int)
|
||||||
|
MAKE_MASK_MERGE(i_uq, unsigned long long)
|
||||||
|
|
||||||
#define MASK_MERGE(TYPE) merge_masking_##TYPE
|
#define MASK_MERGE(TYPE) merge_masking_##TYPE
|
||||||
|
|
||||||
|
@ -61,6 +65,11 @@ MAKE_MASK_ZERO(i_d, int)
|
||||||
MAKE_MASK_ZERO(i_q, long long)
|
MAKE_MASK_ZERO(i_q, long long)
|
||||||
MAKE_MASK_ZERO(, float)
|
MAKE_MASK_ZERO(, float)
|
||||||
MAKE_MASK_ZERO(d, double)
|
MAKE_MASK_ZERO(d, double)
|
||||||
|
MAKE_MASK_ZERO(i_ub, unsigned char)
|
||||||
|
MAKE_MASK_ZERO(i_uw, unsigned short)
|
||||||
|
MAKE_MASK_ZERO(i_ud, unsigned int)
|
||||||
|
MAKE_MASK_ZERO(i_uq, unsigned long long)
|
||||||
|
|
||||||
|
|
||||||
#define MASK_ZERO(TYPE) zero_masking_##TYPE
|
#define MASK_ZERO(TYPE) zero_masking_##TYPE
|
||||||
|
|
||||||
|
@ -82,7 +91,8 @@ MAKE_MASK_ZERO(d, double)
|
||||||
|
|
||||||
#define AVX512F_LEN 512
|
#define AVX512F_LEN 512
|
||||||
#define AVX512F_LEN_HALF 256
|
#define AVX512F_LEN_HALF 256
|
||||||
static void test_512 ();
|
|
||||||
|
void test_512 ();
|
||||||
|
|
||||||
#if defined (AVX512F)
|
#if defined (AVX512F)
|
||||||
void
|
void
|
||||||
|
|
|
@ -8,7 +8,7 @@ void
|
||||||
avx512f_test ()
|
avx512f_test ()
|
||||||
{
|
{
|
||||||
__mmask16 k1, k2, k3;
|
__mmask16 k1, k2, k3;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
||||||
|
|
|
@ -8,7 +8,7 @@ void
|
||||||
avx512f_test ()
|
avx512f_test ()
|
||||||
{
|
{
|
||||||
__mmask16 k1, k2, k3;
|
__mmask16 k1, k2, k3;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
||||||
|
|
|
@ -8,7 +8,7 @@ void
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
{
|
{
|
||||||
__mmask16 dst, src1, src2, dst_ref;
|
__mmask16 dst, src1, src2, dst_ref;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (src1) : "r" (0x0FFF) );
|
__asm__( "kmovw %1, %0" : "=k" (src1) : "r" (0x0FFF) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (src2) : "r" (0x0F0F) );
|
__asm__( "kmovw %1, %0" : "=k" (src2) : "r" (0x0F0F) );
|
||||||
|
|
|
@ -8,7 +8,7 @@ void
|
||||||
avx512f_test ()
|
avx512f_test ()
|
||||||
{
|
{
|
||||||
__mmask16 k1, k2;
|
__mmask16 k1, k2;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (45) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (45) );
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
void
|
void
|
||||||
avx512f_test () {
|
avx512f_test () {
|
||||||
volatile __mmask16 k1;
|
volatile __mmask16 k1 = 0;
|
||||||
__mmask16 k2;
|
__mmask16 k2 = 0;
|
||||||
volatile __mmask8 k3;
|
volatile __mmask8 k3 = 0;
|
||||||
__mmask8 k4;
|
__mmask8 k4 = 0;
|
||||||
|
|
||||||
volatile short r;
|
volatile short r __attribute__((unused));
|
||||||
|
|
||||||
/* Check that appropriate insn sequence is generated at -O0. */
|
/* Check that appropriate insn sequence is generated at -O0. */
|
||||||
r = _mm512_kortestc (k1, k2);
|
r = _mm512_kortestc (k1, k2);
|
||||||
|
|
|
@ -8,7 +8,8 @@ void
|
||||||
avx512f_test ()
|
avx512f_test ()
|
||||||
{
|
{
|
||||||
__mmask16 k1, k2, k3;
|
__mmask16 k1, k2, k3;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
void
|
void
|
||||||
avx512f_test () {
|
avx512f_test () {
|
||||||
__mmask16 k1, k2, k3;
|
__mmask16 k1, k2, k3;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
||||||
|
|
|
@ -8,7 +8,7 @@ void
|
||||||
avx512f_test ()
|
avx512f_test ()
|
||||||
{
|
{
|
||||||
__mmask16 k1, k2, k3;
|
__mmask16 k1, k2, k3;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
||||||
|
|
|
@ -8,7 +8,7 @@ void
|
||||||
avx512f_test ()
|
avx512f_test ()
|
||||||
{
|
{
|
||||||
__mmask16 k1, k2, k3;
|
__mmask16 k1, k2, k3;
|
||||||
volatile __m512 x;
|
volatile __m512 x = _mm512_setzero_ps();
|
||||||
|
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
__asm__( "kmovw %1, %0" : "=k" (k1) : "r" (1) );
|
||||||
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
__asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s1, double *s2)
|
CALC (double *r, double *s1, double *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s1, float *s2)
|
CALC (float *r, float *s1, float *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -27,7 +27,7 @@ CALC (int *s1, int *s2, int *r)
|
||||||
r[i] = s[i + N];
|
r[i] = s[i + N];
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, s1, s2;
|
UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, s1, s2;
|
||||||
|
|
|
@ -27,7 +27,7 @@ CALC (long long *s1, long long *s2, long long *r)
|
||||||
r[i] = s[i + N];
|
r[i] = s[i + N];
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, s1, s2;
|
UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, s1, s2;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s1, double *s2, MASK_TYPE mask)
|
CALC (double *r, double *s1, double *s2, MASK_TYPE mask)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2, MASK_TYPE mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s1, float *s2, MASK_TYPE mask)
|
CALC (float *r, float *s1, float *s2, MASK_TYPE mask)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2, MASK_TYPE mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s)
|
CALC (float *r, float *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s)
|
CALC (double *r, double *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (int *r, int *s)
|
CALC (int *r, int *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (int *r, int *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (long long *r, long long *s)
|
CALC (long long *r, long long *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (long long *r, long long *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s)
|
CALC (double *r, double *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s)
|
CALC (float *r, float *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
if ((dst_ref & mask) != dst2) abort();
|
if ((dst_ref & mask) != dst2) abort();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST ()
|
TEST ()
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) source1, source2;
|
UNION_TYPE (AVX512F_LEN, d) source1, source2;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
if ((dst_ref & mask) != dst2) abort();
|
if ((dst_ref & mask) != dst2) abort();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST ()
|
TEST ()
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN,) source1, source2;
|
UNION_TYPE (AVX512F_LEN,) source1, source2;
|
||||||
|
|
|
@ -27,7 +27,6 @@ avx512f_test ()
|
||||||
__m128d source1, source2;
|
__m128d source1, source2;
|
||||||
__mmask8 dst, dst2, mask;
|
__mmask8 dst, dst2, mask;
|
||||||
mask = 1;
|
mask = 1;
|
||||||
int i;
|
|
||||||
|
|
||||||
CMP(_CMP_EQ_OQ, !isunordered(s1[0], s2[0]) && s1[0] == s2[0]);
|
CMP(_CMP_EQ_OQ, !isunordered(s1[0], s2[0]) && s1[0] == s2[0]);
|
||||||
CMP(_CMP_LT_OS, !isunordered(s1[0], s2[0]) && s1[0] < s2[0]);
|
CMP(_CMP_LT_OS, !isunordered(s1[0], s2[0]) && s1[0] < s2[0]);
|
||||||
|
|
|
@ -26,7 +26,6 @@ avx512f_test ()
|
||||||
{
|
{
|
||||||
__m128 source1, source2;
|
__m128 source1, source2;
|
||||||
__mmask8 dst, dst2, mask;
|
__mmask8 dst, dst2, mask;
|
||||||
int i;
|
|
||||||
|
|
||||||
mask = 1;
|
mask = 1;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ CALC (double *s, double *r, MASK_TYPE mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s, res1, res2;
|
UNION_TYPE (AVX512F_LEN, d) s, res1, res2;
|
||||||
|
|
|
@ -23,7 +23,7 @@ CALC (float *s, float *r, MASK_TYPE mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s, res1, res2;
|
UNION_TYPE (AVX512F_LEN, ) s, res1, res2;
|
||||||
|
|
|
@ -21,7 +21,7 @@ CALC (int *s, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN_HALF, i_d) s;
|
UNION_TYPE (AVX512F_LEN_HALF, i_d) s;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (int *s, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s;
|
UNION_TYPE (AVX512F_LEN, i_d) s;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#define DST_SIZE ((AVX512F_LEN_HALF) / 32)
|
#define DST_SIZE ((AVX512F_LEN_HALF) / 32)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
CALC (double *s, unsigned *r)
|
CALC (double *s, int *r)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ CALC (double *s, unsigned *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s;
|
UNION_TYPE (AVX512F_LEN, d) s;
|
||||||
|
|
|
@ -17,7 +17,7 @@ CALC (float *e, UNION_TYPE (AVX512F_LEN, d) s1)
|
||||||
e[i] = (float) s1.a[i];
|
e[i] = (float) s1.a[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1;
|
UNION_TYPE (AVX512F_LEN, d) s1;
|
||||||
|
|
|
@ -21,11 +21,11 @@ CALC (double *s, unsigned *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s;
|
UNION_TYPE (AVX512F_LEN, d) s;
|
||||||
UNION_TYPE (AVX512F_LEN_HALF, i_d) res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN_HALF, i_ud) res1, res2, res3;
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
unsigned res_ref[DST_SIZE] = { 0 };
|
unsigned res_ref[DST_SIZE] = { 0 };
|
||||||
int i;
|
int i;
|
||||||
|
@ -44,14 +44,14 @@ TEST (void)
|
||||||
|
|
||||||
CALC (s.a, res_ref);
|
CALC (s.a, res_ref);
|
||||||
|
|
||||||
if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res1, res_ref))
|
if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res1, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_MERGE (i_d) (res_ref, mask, SRC_SIZE);
|
MASK_MERGE (i_ud) (res_ref, mask, SRC_SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res2, res_ref))
|
if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res2, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_ZERO (i_d) (res_ref, mask, SRC_SIZE);
|
MASK_ZERO (i_ud) (res_ref, mask, SRC_SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res3, res_ref))
|
if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res3, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN_HALF, i_w) val;
|
UNION_TYPE (AVX512F_LEN_HALF, i_w) val;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (int *r, float *s)
|
CALC (int *r, float *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -16,7 +17,7 @@ CALC (int *r, float *s)
|
||||||
r[i] = (s[i] >= 0) ? (int) (s[i] + 0.5) : (int) (s[i] - 0.5);
|
r[i] = (s[i] >= 0) ? (int) (s[i] + 0.5) : (int) (s[i] - 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -21,7 +21,7 @@ CALC (float *s, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN_HALF, ) s;
|
UNION_TYPE (AVX512F_LEN_HALF, ) s;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN,) val;
|
UNION_TYPE (AVX512F_LEN,) val;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (unsigned *r, float *s)
|
CALC (unsigned *r, float *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -16,11 +17,11 @@ CALC (unsigned *r, float *s)
|
||||||
r[i] = (unsigned) (s[i] + 0.5);
|
r[i] = (unsigned) (s[i] + 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i;
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3;
|
||||||
UNION_TYPE (AVX512F_LEN,) src;
|
UNION_TYPE (AVX512F_LEN,) src;
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
unsigned res_ref[SIZE];
|
unsigned res_ref[SIZE];
|
||||||
|
@ -37,14 +38,14 @@ TEST (void)
|
||||||
|
|
||||||
CALC (res_ref, src.a);
|
CALC (res_ref, src.a);
|
||||||
|
|
||||||
if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
|
if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_MERGE (i_d) (res_ref, mask, SIZE);
|
MASK_MERGE (i_ud) (res_ref, mask, SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
|
if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_ZERO (i_d) (res_ref, mask, SIZE);
|
MASK_ZERO (i_ud) (res_ref, mask, SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
|
if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ CALC (double *s, int *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s;
|
UNION_TYPE (AVX512F_LEN, d) s;
|
||||||
|
|
|
@ -21,11 +21,11 @@ CALC (double *s, unsigned *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s;
|
UNION_TYPE (AVX512F_LEN, d) s;
|
||||||
UNION_TYPE (AVX512F_LEN_HALF, i_d) res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN_HALF, i_ud) res1, res2, res3;
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
unsigned res_ref[DST_SIZE] = { 0 };
|
unsigned res_ref[DST_SIZE] = { 0 };
|
||||||
int i;
|
int i;
|
||||||
|
@ -44,14 +44,14 @@ TEST (void)
|
||||||
|
|
||||||
CALC (s.a, res_ref);
|
CALC (s.a, res_ref);
|
||||||
|
|
||||||
if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res1, res_ref))
|
if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res1, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_MERGE (i_d) (res_ref, mask, SRC_SIZE);
|
MASK_MERGE (i_ud) (res_ref, mask, SRC_SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res2, res_ref))
|
if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res2, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_ZERO (i_d) (res_ref, mask, SRC_SIZE);
|
MASK_ZERO (i_ud) (res_ref, mask, SRC_SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res3, res_ref))
|
if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res3, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (int *r, float *s)
|
CALC (int *r, float *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -16,7 +17,7 @@ CALC (int *r, float *s)
|
||||||
r[i] = (int) s[i];
|
r[i] = (int) s[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (unsigned *r, float *s)
|
CALC (unsigned *r, float *s)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -16,11 +17,11 @@ CALC (unsigned *r, float *s)
|
||||||
r[i] = (unsigned) s[i];
|
r[i] = (unsigned) s[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i;
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3;
|
||||||
UNION_TYPE (AVX512F_LEN,) src;
|
UNION_TYPE (AVX512F_LEN,) src;
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
unsigned res_ref[SIZE];
|
unsigned res_ref[SIZE];
|
||||||
|
@ -37,14 +38,14 @@ TEST (void)
|
||||||
|
|
||||||
CALC (res_ref, src.a);
|
CALC (res_ref, src.a);
|
||||||
|
|
||||||
if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
|
if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_MERGE (i_d) (res_ref, mask, SIZE);
|
MASK_MERGE (i_ud) (res_ref, mask, SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
|
if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
MASK_ZERO (i_d) (res_ref, mask, SIZE);
|
MASK_ZERO (i_ud) (res_ref, mask, SIZE);
|
||||||
if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
|
if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
||||||
volatile __m128d x;
|
volatile __m128d x;
|
||||||
volatile y;
|
volatile int y;
|
||||||
|
|
||||||
void extern
|
void extern
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
#include "avx512f-check.h"
|
#include "avx512f-check.h"
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#include "avx512f-helper.h"
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
__attribute__ ((noinline, unused))
|
__attribute__ ((noinline, unused))
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
||||||
volatile __m128 x;
|
volatile __m128 x;
|
||||||
volatile y;
|
volatile int y;
|
||||||
|
|
||||||
void extern
|
void extern
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
#include "avx512f-check.h"
|
#include "avx512f-check.h"
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#include "avx512f-helper.h"
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
__attribute__ ((noinline, unused))
|
__attribute__ ((noinline, unused))
|
||||||
|
|
|
@ -21,10 +21,10 @@ CALC (unsigned *s, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN_HALF, i_d) s;
|
UNION_TYPE (AVX512F_LEN_HALF, i_ud) s;
|
||||||
UNION_TYPE (AVX512F_LEN, d) res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, d) res1, res2, res3;
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
double res_ref[DST_SIZE];
|
double res_ref[DST_SIZE];
|
||||||
|
|
|
@ -20,10 +20,10 @@ CALC (unsigned *s, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s;
|
UNION_TYPE (AVX512F_LEN, i_ud) s;
|
||||||
UNION_TYPE (AVX512F_LEN, ) res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, ) res1, res2, res3;
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
float res_ref[SIZE];
|
float res_ref[SIZE];
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s1, double *s2)
|
CALC (double *r, double *s1, double *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s1, float *s2)
|
CALC (float *r, float *s1, float *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -21,7 +21,7 @@ CALC (double *s, double *r, MASK_TYPE mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, res2, res3, res4, res5;
|
UNION_TYPE (AVX512F_LEN, d) s1, res2, res3, res4, res5;
|
||||||
|
|
|
@ -21,7 +21,7 @@ CALC (float *s, float *r, MASK_TYPE mask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, res2, res3, res4, res5;
|
UNION_TYPE (AVX512F_LEN, ) s1, res2, res3, res4, res5;
|
||||||
|
|
|
@ -10,14 +10,14 @@
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
void
|
static void
|
||||||
CALC (UNION_TYPE (AVX512F_LEN,) s1, float *res_ref, int mask)
|
CALC (UNION_TYPE (AVX512F_LEN,) s1, float *res_ref, int mask)
|
||||||
{
|
{
|
||||||
memset (res_ref, 0, 16);
|
memset (res_ref, 0, 16);
|
||||||
memcpy (res_ref, s1.a + mask * 4, 16);
|
memcpy (res_ref, s1.a + mask * 4, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN,) s1;
|
UNION_TYPE (AVX512F_LEN,) s1;
|
||||||
|
|
|
@ -10,14 +10,14 @@
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
void
|
static void
|
||||||
CALC (UNION_TYPE (AVX512F_LEN, i_d) s1, int *res_ref, int mask)
|
CALC (UNION_TYPE (AVX512F_LEN, i_d) s1, int *res_ref, int mask)
|
||||||
{
|
{
|
||||||
memset (res_ref, 0, 16);
|
memset (res_ref, 0, 16);
|
||||||
memcpy (res_ref, s1.a + mask * 4, 16);
|
memcpy (res_ref, s1.a + mask * 4, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s1;
|
UNION_TYPE (AVX512F_LEN, i_d) s1;
|
||||||
|
|
|
@ -70,10 +70,10 @@ CALC (double *r, double src, long long tbl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, j, k;
|
int i, j;
|
||||||
UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s1;
|
UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s1;
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) s2;
|
UNION_TYPE (AVX512F_LEN, i_q) s2;
|
||||||
double res_ref[SIZE];
|
double res_ref[SIZE];
|
||||||
|
|
|
@ -71,10 +71,10 @@ CALC (float *r, float src, int tbl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, j, k;
|
int i, j;
|
||||||
UNION_TYPE (AVX512F_LEN,) res1, res2, res3, s1;
|
UNION_TYPE (AVX512F_LEN,) res1, res2, res3, s1;
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s2;
|
UNION_TYPE (AVX512F_LEN, i_d) s2;
|
||||||
float res_ref[SIZE];
|
float res_ref[SIZE];
|
||||||
|
|
|
@ -67,13 +67,13 @@ compute_fixupimmpd (double *r, double src, long long tbl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
{
|
{
|
||||||
union128d s1, res1, res2, res3;
|
union128d s1, res1, res2, res3;
|
||||||
union128i_q s2;
|
union128i_q s2;
|
||||||
double res_ref[2];
|
double res_ref[2];
|
||||||
int i, j, k;
|
int i, j;
|
||||||
|
|
||||||
float vals[2] = { -10, 10 };
|
float vals[2] = { -10, 10 };
|
||||||
int controls[10] = { 0x11111111,
|
int controls[10] = { 0x11111111,
|
||||||
|
|
|
@ -67,7 +67,7 @@ compute_fixupimmps (float *r, float src, int tbl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
{
|
{
|
||||||
union128 s1, res1, res2, res3;
|
union128 s1, res1, res2, res3;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -23,7 +23,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -23,7 +23,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -23,7 +23,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -23,7 +23,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
|
||||||
|
|
|
@ -18,13 +18,12 @@ CALC (double *s, double *r)
|
||||||
r[i] = floor (log (s[i]) / log (2));
|
r[i] = floor (log (s[i]) / log (2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s;
|
UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s;
|
||||||
double res_ref[SIZE];
|
double res_ref[SIZE];
|
||||||
double res_ref_mask[SIZE];
|
|
||||||
|
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
|
|
||||||
|
|
|
@ -18,13 +18,12 @@ CALC (float *s, float *r)
|
||||||
r[i] = floor (log (s[i]) / log (2));
|
r[i] = floor (log (s[i]) / log (2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
UNION_TYPE (AVX512F_LEN, ) res1,res2,res3,s;
|
UNION_TYPE (AVX512F_LEN, ) res1,res2,res3,s;
|
||||||
float res_ref[SIZE];
|
float res_ref[SIZE];
|
||||||
float res_ref_mask[SIZE];
|
|
||||||
|
|
||||||
MASK_TYPE mask = MASK_VALUE;
|
MASK_TYPE mask = MASK_VALUE;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "avx512f-check.h"
|
#include "avx512f-check.h"
|
||||||
#include "avx512f-helper.h"
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
compute_vgetexpsd (double *s, double *r)
|
compute_vgetexpsd (double *s, double *r)
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "avx512f-check.h"
|
#include "avx512f-check.h"
|
||||||
#include "avx512f-helper.h"
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
compute_vgetexpss (float *s, float *r)
|
compute_vgetexpss (float *s, float *r)
|
||||||
|
|
|
@ -83,7 +83,7 @@ CALC (double *r, double *s, int interv, int signctrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -84,7 +84,7 @@ CALC (float *r, float *s, int interv, int signctrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
/* { dg-require-effective-target c99_runtime } */
|
/* { dg-require-effective-target c99_runtime } */
|
||||||
|
|
||||||
#include "avx512f-check.h"
|
#include "avx512f-check.h"
|
||||||
#include "avx512f-helper.h"
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
union fp_int_t
|
union fp_int_t
|
||||||
|
@ -77,7 +76,6 @@ compute_vgetmantsd (double *r, double *s1, double *s2, int interv,
|
||||||
static void
|
static void
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
|
||||||
union128d res1, src1, src2;
|
union128d res1, src1, src2;
|
||||||
double res_ref[2];
|
double res_ref[2];
|
||||||
int interv = _MM_MANT_NORM_p5_1;
|
int interv = _MM_MANT_NORM_p5_1;
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
/* { dg-require-effective-target c99_runtime } */
|
/* { dg-require-effective-target c99_runtime } */
|
||||||
|
|
||||||
#include "avx512f-check.h"
|
#include "avx512f-check.h"
|
||||||
#include "avx512f-helper.h"
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
union fp_int_t
|
union fp_int_t
|
||||||
|
@ -82,7 +81,6 @@ compute_vgetmantss (float *r, float *s1, float *s2, int interv,
|
||||||
static void
|
static void
|
||||||
avx512f_test (void)
|
avx512f_test (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
|
||||||
union128 res1, src1, src2;
|
union128 res1, src1, src2;
|
||||||
float res_ref[4];
|
float res_ref[4];
|
||||||
int interv = _MM_MANT_NORM_p5_1;
|
int interv = _MM_MANT_NORM_p5_1;
|
||||||
|
|
|
@ -17,7 +17,7 @@ CALC (UNION_TYPE (AVX512F_LEN,) s1, union128 s2, float *res_ref, int imm)
|
||||||
memcpy (res_ref + imm * 4, s2.a, 16);
|
memcpy (res_ref + imm * 4, s2.a, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN,) s1, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN,) s1, res1, res2, res3;
|
||||||
|
|
|
@ -17,7 +17,7 @@ CALC (UNION_TYPE (AVX512F_LEN, i_d) s1, union128i_d s2, int *res_ref, int imm)
|
||||||
memcpy (res_ref + imm * 4, s2.a, 16);
|
memcpy (res_ref + imm * 4, s2.a, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s1, double *s2)
|
CALC (double *r, double *s1, double *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s1, float *s2)
|
CALC (float *r, float *s1, float *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 64)
|
#define SIZE (AVX512F_LEN / 64)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (double *r, double *s1, double *s2)
|
CALC (double *r, double *s1, double *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define SIZE (AVX512F_LEN / 32)
|
#define SIZE (AVX512F_LEN / 32)
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
|
|
||||||
|
static void
|
||||||
CALC (float *r, float *s1, float *s2)
|
CALC (float *r, float *s1, float *s2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
int i, sign;
|
int i, sign;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#define ALIGN ((AVX512F_LEN) / 8)
|
#define ALIGN ((AVX512F_LEN) / 8)
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s2, s3, res1, res3, res4, res5, res6;
|
UNION_TYPE (AVX512F_LEN, d) s2, s3, res1, res3, res4, res5, res6;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#define ALIGN ((AVX512F_LEN) / 8)
|
#define ALIGN ((AVX512F_LEN) / 8)
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, ) s2, s3, res1, res3, res4, res5, res6;
|
UNION_TYPE (AVX512F_LEN, ) s2, s3, res1, res3, res4, res5, res6;
|
||||||
|
|
|
@ -21,7 +21,7 @@ CALC (double *s, double *r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void static
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, d) s, res1, res2, res3;
|
UNION_TYPE (AVX512F_LEN, d) s, res1, res2, res3;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#define ALIGN ((AVX512F_LEN) / 8)
|
#define ALIGN ((AVX512F_LEN) / 8)
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s2, s3, res1, res2, res5, res6, res7, res8;
|
UNION_TYPE (AVX512F_LEN, i_d) s2, s3, res1, res2, res5, res6, res7, res8;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "avx512f-mask-type.h"
|
#include "avx512f-mask-type.h"
|
||||||
#define ALIGN ((AVX512F_LEN) / 8)
|
#define ALIGN ((AVX512F_LEN) / 8)
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) s2, s3, res1, res3, res4, res5, res6;
|
UNION_TYPE (AVX512F_LEN, i_q) s2, s3, res1, res3, res4, res5, res6;
|
||||||
|
|
|
@ -15,7 +15,7 @@ typedef struct
|
||||||
int a[SIZE];
|
int a[SIZE];
|
||||||
} __attribute__ ((packed)) EVAL(unaligned_array, AVX512F_LEN,);
|
} __attribute__ ((packed)) EVAL(unaligned_array, AVX512F_LEN,);
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_d) s2, res1, res3, res4;
|
UNION_TYPE (AVX512F_LEN, i_d) s2, res1, res3, res4;
|
||||||
|
|
|
@ -15,7 +15,7 @@ typedef struct
|
||||||
long long a[SIZE];
|
long long a[SIZE];
|
||||||
} __attribute__ ((packed)) EVAL(unaligned_array, AVX512F_LEN,);
|
} __attribute__ ((packed)) EVAL(unaligned_array, AVX512F_LEN,);
|
||||||
|
|
||||||
static void
|
void
|
||||||
TEST (void)
|
TEST (void)
|
||||||
{
|
{
|
||||||
UNION_TYPE (AVX512F_LEN, i_q) s2, res1, res2;
|
UNION_TYPE (AVX512F_LEN, i_q) s2, res1, res2;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue