]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
avx512f-vaddpd-2.c: Add static void for CALC, void for TEST instead of static void.
authorPetr Murzin <petr.murzin@intel.com>
Mon, 9 Jun 2014 11:32:03 +0000 (11:32 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Mon, 9 Jun 2014 11:32:03 +0000 (11:32 +0000)
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

277 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmb2q-2.c
gcc/testsuite/gcc.target/i386/avx512cd-vpbroadcastmw2d-2.c
gcc/testsuite/gcc.target/i386/avx512cd-vpconflictd-2.c
gcc/testsuite/gcc.target/i386/avx512cd-vpconflictq-2.c
gcc/testsuite/gcc.target/i386/avx512cd-vplzcntd-2.c
gcc/testsuite/gcc.target/i386/avx512cd-vplzcntq-2.c
gcc/testsuite/gcc.target/i386/avx512f-additional-reg-names.c
gcc/testsuite/gcc.target/i386/avx512f-dummy.c
gcc/testsuite/gcc.target/i386/avx512f-helper.h
gcc/testsuite/gcc.target/i386/avx512f-kandnw-1.c
gcc/testsuite/gcc.target/i386/avx512f-kandw-1.c
gcc/testsuite/gcc.target/i386/avx512f-klogic-2.c
gcc/testsuite/gcc.target/i386/avx512f-knotw-1.c
gcc/testsuite/gcc.target/i386/avx512f-kortestw-1.c
gcc/testsuite/gcc.target/i386/avx512f-korw-1.c
gcc/testsuite/gcc.target/i386/avx512f-kunpckbw-1.c
gcc/testsuite/gcc.target/i386/avx512f-kxnorw-1.c
gcc/testsuite/gcc.target/i386/avx512f-kxorw-1.c
gcc/testsuite/gcc.target/i386/avx512f-vaddpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vaddps-2.c
gcc/testsuite/gcc.target/i386/avx512f-valignd-2.c
gcc/testsuite/gcc.target/i386/avx512f-valignq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vblendmpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vblendmps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vbroadcastf32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vbroadcastf64x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vbroadcasti32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vbroadcasti64x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vbroadcastsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vbroadcastss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcmppd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcmpps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcmpsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcmpss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcompresspd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcompressps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtdq2pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtdq2ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtpd2dq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtpd2ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtpd2udq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtph2ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtps2dq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtps2pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtps2ph-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtps2udq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttpd2dq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttpd2udq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttps2dq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttps2udq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttsd2si-1.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttsd2si-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttss2si-1.c
gcc/testsuite/gcc.target/i386/avx512f-vcvttss2si-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtudq2pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtudq2ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vdivpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vdivps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vexpandpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vexpandps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vextractf32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vextracti32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfixupimmpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfixupimmps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfixupimmsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfixupimmss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmaddXXXpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmaddXXXps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmaddsubXXXpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmaddsubXXXps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmsubXXXpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmsubXXXps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmsubaddXXXpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfmsubaddXXXps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfnmaddXXXpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfnmaddXXXps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfnmsubXXXpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vfnmsubXXXps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetexppd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetexpps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetexpsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetexpss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetmantpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetmantps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetmantsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vgetmantss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vinsertf32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vinserti32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmaxpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmaxps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vminpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vminps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovapd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovaps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovddup-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovdqa32-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovdqa64-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovdqu32-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovdqu64-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovshdup-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovsldup-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovupd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovups-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmulpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmulps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpabsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpabsq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpaddd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpaddq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpandd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpandnd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpandnq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpandq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpblendmd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpblendmq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpeqd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpeqq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpged-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpgeq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpgeud-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpgeuq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpgtd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpgtq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpled-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpleq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpleud-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpleuq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpltd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpltq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpltud-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpltuq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpneqd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpneqq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpnequd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpnequq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpud-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcmpuq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcompressd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpcompressq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermi2d-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermi2pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermi2ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermi2q-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermilpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermilpdi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermilps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermilpsi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermpdi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermq-imm-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermq-var-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermt2d-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermt2pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermt2ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpermt2q-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpexpandd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpexpandq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmaxsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmaxsq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmaxud-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmaxuq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpminsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpminsq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpminud-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpminuq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovdb-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovdw-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovqb-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovqd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovqw-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsdb-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsdw-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsqb-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsqd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsqw-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsxbd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsxbq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsxdq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsxwd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovsxwq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovusdb-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovusdw-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovusqb-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovusqd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovusqw-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovzxbd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovzxbq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovzxdq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovzxwd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmovzxwq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmuldq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmulld-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpmuludq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpord-2.c
gcc/testsuite/gcc.target/i386/avx512f-vporq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprold-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprolq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprolvd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprolvq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprord-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprorq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprorvd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vprorvq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpshufd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpslld-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpslldi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsllq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsllqi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsllvd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsllvq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrad-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsradi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsraq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsraqi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsravd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsravq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrld-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrldi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrlq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrlqi-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrlvd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsrlvq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsubd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpsubq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpternlogd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpternlogq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vptestmd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vptestmq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vptestnmd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vptestnmq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpunpckhdq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpunpckhqdq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpunpcklqdq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpxord-2.c
gcc/testsuite/gcc.target/i386/avx512f-vpxorq-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrcp14pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrcp14ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrcp14sd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrcp14ss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrndscalepd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrndscaleps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrndscalesd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrndscaless-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14pd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14ps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14sd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14ss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vscalefpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vscalefps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vscalefsd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vscalefss-2.c
gcc/testsuite/gcc.target/i386/avx512f-vshuff32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vshuff64x2-2.c
gcc/testsuite/gcc.target/i386/avx512f-vshufi32x4-2.c
gcc/testsuite/gcc.target/i386/avx512f-vshufi64x2-2.c
gcc/testsuite/gcc.target/i386/avx512f-vshufpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vshufps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vsqrtpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vsqrtps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vsubpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vsubps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vunpckhpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vunpckhps-2.c
gcc/testsuite/gcc.target/i386/avx512f-vunpcklpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vunpcklps-2.c
gcc/testsuite/gcc.target/i386/i386.exp
gcc/testsuite/gcc.target/i386/m128-check.h
gcc/testsuite/gcc.target/i386/m256-check.h
gcc/testsuite/gcc.target/i386/m512-check.h

index cbf634b6a63e5d0fbaa58ba45123319f8c6a4f74..544b80be58473a5892dde8f8ae6917c3a70c9769 100644 (file)
@@ -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>
 
        PR target/61062
index 05f4bfc4252ec768a812f3d5110db11a13636d2d..2e0a082c13aa01c0e1e4c1cc8aae9992ce736449 100644 (file)
@@ -9,6 +9,7 @@
 
 #define SIZE (AVX512F_LEN / 64)
 
+static void
 CALC (long long *res, __mmask8 src)
 {
   int i;
@@ -17,13 +18,13 @@ CALC (long long *res, __mmask8 src)
     res[i] = src;
 }
 
-static void
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) res;
   long long res_ref[SIZE];
-  __mmask8 src;
+  __mmask8 src = 0;
 
   for (i = 0; i < SIZE; i++)
     {
index 7282110ab371630ba19b01681f2762f1d556ec0e..f4bd7e7a60e9876a2d8cbd85fbe51bc621aa30cf 100644 (file)
@@ -9,6 +9,7 @@
 
 #define SIZE (AVX512F_LEN / 32)
 
+static void
 CALC (int *res, __mmask16 src)
 {
   int i;
@@ -17,13 +18,13 @@ CALC (int *res, __mmask16 src)
     res[i] = src;
 }
 
-static void
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) res;
   int res_ref[SIZE];
-  __mmask16 src;
+  __mmask16 src = 0;
 
   for (i = 0; i < SIZE; i++)
     {
index 16597fbafb0c36f42da028367ef83ce35c80af27..47bfc6702828baf2bde828a959525ccb93332a2c 100644 (file)
@@ -25,7 +25,7 @@ CALC (int *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2, res3;
index a2695195c48c1f8a9159b8b44b0f4ed8400c6fcc..c36025b63131dc40716a119cccd4e8c5f3b092f0 100644 (file)
@@ -25,7 +25,7 @@ CALC (long long *s, long long *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2, res3;
index 0a357b69fa60d70220c9921958a1b7b2f9767672..ce495317cb1f756542a6ffe18638aed5fbe108f6 100644 (file)
@@ -25,7 +25,7 @@ CALC (int *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2, res3;
index f0cc40304c9ded54c255b4b544948338f6575244..42bd7970e7d1decd545374daffdaa56ef0bfddf3 100644 (file)
@@ -25,7 +25,7 @@ CALC (long long *s, long long *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2, res3;
index 1bd428aed16d5eed86e784f54e107e67f3faa9d4..164a1deb08eca152e461bb9886b30540deb30b87 100644 (file)
@@ -3,7 +3,7 @@
 
 void foo ()
 {
-  register int zmm_var asm ("zmm9");
+  register int zmm_var asm ("zmm9") __attribute__((unused));
 
   __asm__ __volatile__("vxorpd %%zmm0, %%zmm0, %%zmm7\n" : : : "zmm7" );
 }
index 84b062789b9b63a23d559db9230a741e009fbb9b..0ef000389feec6e8046e2de03fdec98e129d906b 100644 (file)
@@ -7,7 +7,7 @@
 void static
 avx512f_test (void)
 {
-  union512i_q u, s1, s2;
+  union512i_q u;
   long long e[8];
-  volatile int tst = check_union512i_q (u, e);
+  volatile int tst __attribute__((unused)) = check_union512i_q (u, e);
 }
index 61b2e90d197c599ccb04af5fa825d80228863acd..9beabdf5e43acddf258629f715b94d134fa6e833 100644 (file)
@@ -40,6 +40,10 @@ MAKE_MASK_MERGE(i_d, int)
 MAKE_MASK_MERGE(i_q, long long)
 MAKE_MASK_MERGE(, float)
 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
 
@@ -61,6 +65,11 @@ MAKE_MASK_ZERO(i_d, int)
 MAKE_MASK_ZERO(i_q, long long)
 MAKE_MASK_ZERO(, float)
 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
 
@@ -82,7 +91,8 @@ MAKE_MASK_ZERO(d, double)
 
 #define AVX512F_LEN 512
 #define AVX512F_LEN_HALF 256
-static void test_512 ();
+
+void test_512 ();
 
 #if defined (AVX512F)
 void
index 3d777c830151f0aac59907f1d5804e849d6bbf10..b81fa6e3f3e73581b66dacef9266941e06515d23 100644 (file)
@@ -8,7 +8,7 @@ void
 avx512f_test ()
 {
   __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" (k2) : "r" (2) );
index 19a3cf4dbc320f495e514af9831eafb04bdb61e9..78ab14305f43547a48d4ed448469d92fdad03f6e 100644 (file)
@@ -8,7 +8,7 @@ void
 avx512f_test ()
 {
   __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" (k2) : "r" (2) );
index df7fc9b7b7d8b435c64cd920f2963c53d88df9d6..48d4d84df4f907c47484059e5b53bc63fcbfd84c 100644 (file)
@@ -8,7 +8,7 @@ void
 avx512f_test (void)
 {
   __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" (src2) : "r" (0x0F0F) );
index a8f8f10b6be5cb40bd1a99cd44c1134db2e648bf..32715a31bca9780a0aed0e48706fc560396e4af7 100644 (file)
@@ -8,7 +8,7 @@ void
 avx512f_test ()
 {
   __mmask16 k1, k2;
-  volatile __m512 x;
+  volatile __m512 x = _mm512_setzero_ps(); 
 
   __asm__( "kmovw %1, %0" : "=k" (k1) : "r" (45) );
 
index a3cdd4a1ab7f0fc57888461e2283d1233c2807d2..a33dbf23d5e8827b08fe0d6dc13bf3effa49d2e6 100644 (file)
@@ -6,12 +6,12 @@
 
 void
 avx512f_test () {
-  volatile __mmask16 k1;
-  __mmask16 k2;
-  volatile __mmask8 k3;
-  __mmask8 k4;
+  volatile __mmask16 k1 = 0;
+  __mmask16 k2 = 0;
+  volatile __mmask8 k3 = 0;
+  __mmask8 k4 = 0;
 
-  volatile short r;
+  volatile short r __attribute__((unused));
 
   /* Check that appropriate insn sequence is generated at -O0.  */
   r = _mm512_kortestc (k1, k2);
index 96f837b96b0c4775ee99f2ac9768c8eb67d4fd28..9168dd3b571b70b2ac9764e09f367e169b40a162 100644 (file)
@@ -8,7 +8,8 @@ void
 avx512f_test ()
 {
   __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" (k2) : "r" (2) );
index bc55f8b301ce2a7de121c56058e98033e59c9e7e..f82a9c87a77ee74c709e3e2de9ca28212c588da3 100644 (file)
@@ -7,7 +7,7 @@
 void
 avx512f_test () {
   __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" (k2) : "r" (2) );
index 8b12b2ac896c7f07c3f1f35eb41bb685af1e803a..15df525217b7defe01375eb6b2eefee3551b14b2 100644 (file)
@@ -8,7 +8,7 @@ void
 avx512f_test ()
 {
   __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" (k2) : "r" (2) );
index 7ae1bc462048a065b0295afa55719790e3c49b15..e45462449c8d85ae56ad9dcd8673044fccb1a3c9 100644 (file)
@@ -8,7 +8,7 @@ void
 avx512f_test ()
 {
   __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" (k2) : "r" (2) );
index ce6918ed66ee1ce2250716992d3c053f4faa498d..a2467185b29d17933a8f08c9d81a77d0430da714 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 6c982bcaffc62cde941fd1f70add292fdf902e88..e1ea3df5a8ef3cc5ff8b9abd4bbde5a0159405bb 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 3d2a71ca1c8a6b63413fbfee16238099e9d2c99e..e0cf231b6a818c9395c4dc473eeb4fd5addbd8ac 100644 (file)
@@ -27,7 +27,7 @@ CALC (int *s1, int *s2, int *r)
     r[i] = s[i + N];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, s1, s2;
index b3c09c7b1a3a6f5986595de30a6da323e53d5732..92d01440a94ee2b673bde2a16be6203a4ded188b 100644 (file)
@@ -27,7 +27,7 @@ CALC (long long *s1, long long *s2, long long *r)
     r[i] = s[i + N];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, s1, s2;
index 1fe4cb61605d7298c8831cbd1a520d638d935599..027a74fcd99ff0d9d84c95d5c1529cb45d700c9e 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2, MASK_TYPE mask)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2, MASK_TYPE mask)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index e92c70c37e5e64584bf83f6fc2da5f57085e0139..e0c9c692287cfe425a2fc8592fe554dbf6d5366c 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2, MASK_TYPE mask)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2, MASK_TYPE mask)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 79abcdc0d27b29711f5de1800341a35cb543eeae..d0a3f7e6492a0702e85d54e140237195b9f0c037 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index bc5f6a1cc6f4bbdc8ad4febe0ab3c829b1b763a3..f646b2c9eff3dc9b8b89a4d5664a75859e1654ee 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 61dccc227a1ebdea4f31e012eb0c4ec37dd17a8f..37fb0d0424bfbe8cbf41665898253ca177396ace 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (int *r, int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 6286fca81784d7fc7e4ea1bef08ee0b4331da788..a54e9872b642ff0ca586227d920b1244b6c1d77f 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (long long *r, long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 3ecc1a7c588f9620130f4545fa01924f0a2a686f..b2c056ce6968fe285fabaf1e953abad987bbf5d5 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index f3f339825bdc55b593175d1687bad2bf963f55b9..ac9ab1ac62b89b8b5e6f86206a68f5a8a77e201f 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index add23d07a19e1038f9185b2e0116b373a7611a02..a81f36256cd35663701a48608b466b41fc21a58d 100644 (file)
@@ -26,7 +26,7 @@
     if ((dst_ref & mask) != dst2) abort();
 #endif
 
-static void
+void
 TEST ()
 {
     UNION_TYPE (AVX512F_LEN, d) source1, source2;
index 15c314e2d60ed0a418274c0fa9c01a5c8f52ba7f..88dc8908596f4cedfa6962e03063527f1b587b4d 100644 (file)
@@ -26,7 +26,7 @@
     if ((dst_ref & mask) != dst2) abort();
 #endif
 
-static void
+void
 TEST ()
 {
     UNION_TYPE (AVX512F_LEN,) source1, source2;
index 3e4729e4aac8491cfdd5af5071a7805e3144a05a..0190722e7f4b7d9b1dd9a4485e0308458d83e8c1 100644 (file)
@@ -27,7 +27,6 @@ avx512f_test ()
     __m128d source1, source2;
     __mmask8 dst, dst2, mask;
     mask = 1;
-    int i;
 
     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]);
index 7343cb05cdbe853cf201add1a0065ecda5d7ffe7..4a014f1440cb6391a3d34ef3a8c82a63d5f51eed 100644 (file)
@@ -26,7 +26,6 @@ avx512f_test ()
 {
     __m128 source1, source2;
     __mmask8 dst, dst2, mask;
-    int i;
 
     mask = 1;
 
index 4acbadbe729a296a797becd74ea9b34184715af4..04553da5f7ba277d8ce57303a86b9610b5fa739c 100644 (file)
@@ -23,7 +23,7 @@ CALC (double *s, double *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s, res1, res2;
index f996452b0917d9c465187c14ea45ffee4e982faa..e934a5f55e0ee4706f1b802828a7ee8653f50755 100644 (file)
@@ -23,7 +23,7 @@ CALC (float *s, float *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s, res1, res2;
index 77cdbab0eea7313f12064a26b94d320b3b7a8e0e..2e4f051a5a3bcf69963cc04a7434a2379ee5f1c1 100644 (file)
@@ -21,7 +21,7 @@ CALC (int *s, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN_HALF, i_d) s;
index 4a3e3aa4baf212c7a4ddc8cdcbfe665f7e1164ef..ca8e56e4254d252887180e95dc371830b55f3924 100644 (file)
@@ -20,7 +20,7 @@ CALC (int *s, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s;
index 5ecb640aec5bd75f372fc5a77ee2ec182eecd7d9..cdaa182f31b5279ef197877c39f874b647f8b678 100644 (file)
@@ -11,7 +11,7 @@
 #define DST_SIZE ((AVX512F_LEN_HALF) / 32)
 
 static void
-CALC (double *s, unsigned *r)
+CALC (double *s, int *r)
 {
   int i;
 
@@ -22,7 +22,7 @@ CALC (double *s, unsigned *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s;
index fa17ef9aa4c9734e56bb90b55f81b57d0a570258..e79e014e61dc072e99def016968228f212117c48 100644 (file)
@@ -17,7 +17,7 @@ CALC (float *e, UNION_TYPE (AVX512F_LEN, d) s1)
     e[i] = (float) s1.a[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1;
index 24788d97a441af1ce845d5d8a3a4a701b6ff4720..1873cf8e08e3dec362c5beedef8fa73a0e2d8a0c 100644 (file)
@@ -21,11 +21,11 @@ CALC (double *s, unsigned *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   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;
   unsigned res_ref[DST_SIZE] = { 0 };
   int i;
@@ -44,14 +44,14 @@ TEST (void)
 
   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 ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SRC_SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SRC_SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SRC_SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SRC_SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res3, res_ref))
     abort ();
 }
index 725e1e87bb763be960eb6ce5db6004d2a1c8e73f..ec98f4b3ad548ccda166f8d9a04148b68164e0a8 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN_HALF, i_w) val;
index a35c2ad02dd19a944aa9641db7d67e7a4919a9de..35edd69088f8363f370d15dd91524e3ab7cb75a4 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, float *s)
 {
   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);
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 5bed4f33fc9153351bc825cf7811e6a422cd558e..6dc6d209b67f3754d7a92c363f2a55e2cf4d5302 100644 (file)
@@ -21,7 +21,7 @@ CALC (float *s, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN_HALF, ) s;
index 6fe9effd6a031be7f53b0e872b4a71a7c798df93..540bf29a4f9cdfbeb5df5766d782b9bad8a42ec8 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) val;
index 7826e2d795c0fd07af6f323099a79f87b973d9e1..f97e9f5acd086a2a32d6eff47a724a1b8f6ecdb6 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (unsigned *r, float *s)
 {
   int i;
@@ -16,11 +17,11 @@ CALC (unsigned *r, float *s)
     r[i] = (unsigned) (s[i] + 0.5);
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3;
+  int i;
+  UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3;
   UNION_TYPE (AVX512F_LEN,) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned res_ref[SIZE];
@@ -37,14 +38,14 @@ TEST (void)
 
   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 ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 }
index f73c5c3c9f8a4b7e18014a2a10130385c57bd829..cba83ca8df899f67a0e2bd6fac942990c68ad841 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s;
index a8d3adc8d46dce5dbb7257bbf60d78f79073094e..5345589c4f963131da4c5a221d2a8da7d1619877 100644 (file)
@@ -21,11 +21,11 @@ CALC (double *s, unsigned *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   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;
   unsigned res_ref[DST_SIZE] = { 0 };
   int i;
@@ -44,14 +44,14 @@ TEST (void)
 
   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 ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SRC_SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SRC_SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SRC_SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SRC_SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res3, res_ref))
     abort ();
 }
index f2cb5c708d269a4b1f20af61ae39adbcb3413735..ed8fe5e093d1ffe6b0521cc6aacfca943b045bc6 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, float *s)
 {
   int i;
@@ -16,7 +17,7 @@ CALC (int *r, float *s)
     r[i] = (int) s[i];
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 2b0212e1c549336f4af0de7f3ca94472d837d7a3..e1ab847a54de32ed2139ce9107b6a81a74412abf 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (unsigned *r, float *s)
 {
   int i;
@@ -16,11 +17,11 @@ CALC (unsigned *r, float *s)
     r[i] = (unsigned) s[i];
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3;
+  int i;
+  UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3;
   UNION_TYPE (AVX512F_LEN,) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned res_ref[SIZE];
@@ -37,14 +38,14 @@ TEST (void)
 
   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 ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 }
index e813a24a0a198c24c2f305bef97918bbffadb719..a5517aefd986380e0293da95638f688977dcabd0 100644 (file)
@@ -5,7 +5,7 @@
 #include <immintrin.h>
 
 volatile __m128d x;
-volatile y;
+volatile int y;
 
 void extern
 avx512f_test (void)
index a447a873421859c29e9226ee22afe1217f68d24e..6584fc860a2048bf879088b8f011b04cb5b08fda 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "avx512f-check.h"
 #include "avx512f-mask-type.h"
-#include "avx512f-helper.h"
 
 static int
 __attribute__ ((noinline, unused))
index 7669a1729a281e3fb245390513c2d0f8446005c8..32d57cc08aa2ad55fd13107b5caa8a5cafdd397e 100644 (file)
@@ -5,7 +5,7 @@
 #include <immintrin.h>
 
 volatile __m128 x;
-volatile y;
+volatile int y;
 
 void extern
 avx512f_test (void)
index 2aa62c07140b8d1b8e2a5b8e9f5030a21ea5d8c6..dae96c6e2e9079ea36e70bd81046f333c4f8de72 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "avx512f-check.h"
 #include "avx512f-mask-type.h"
-#include "avx512f-helper.h"
 
 static int
 __attribute__ ((noinline, unused))
index 814a7b769c2250e6da1157b93d8b0b8c95e2e77f..977141d0c40c109d3ffbee1c61e89f05165175ba 100644 (file)
@@ -21,10 +21,10 @@ CALC (unsigned *s, double *r)
     }
 }
 
-static void
+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;
   MASK_TYPE mask = MASK_VALUE;
   double res_ref[DST_SIZE];
index c43df063abc4480329f2867d34549d0bd6b9821f..28c174ee8ef96cd6660340932128605a58a9eb74 100644 (file)
@@ -20,10 +20,10 @@ CALC (unsigned *s, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
-  UNION_TYPE (AVX512F_LEN, i_d) s;
+  UNION_TYPE (AVX512F_LEN, i_ud) s;
   UNION_TYPE (AVX512F_LEN, ) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   float res_ref[SIZE];
index 761ee20f8981dffd853b73560952c2bf4bb3a997..397aa41ecd2b8110bff99dfb7d3a41169cf3b2fb 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index f5a7b78f7a445d59d62e36b623e3ff6f699a838d..ce591af85d7593976bb2894931ec6f82ad5dcf46 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 373c17df161d8c41903830ec36213913a33b3700..9c0589a2900c5ccb7aaac5d7826ceefcacada24a 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s, double *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, res2, res3, res4, res5;
index 7143c8ae238f575f17c3a01e42270275b8e1ac7e..7b6a5404f6d9b248306026a115825ebd2239fb80 100644 (file)
@@ -21,7 +21,7 @@ CALC (float *s, float *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, res2, res3, res4, res5;
index 35377b4302a22166e28bd8d6a8f6f6c80a7f908b..39d463d9697c0873a298c21f9df2bd7696e1d70f 100644 (file)
 #include "avx512f-mask-type.h"
 #include "string.h"
 
-void
+static void
 CALC (UNION_TYPE (AVX512F_LEN,) s1, float *res_ref, int mask)
 {
   memset (res_ref, 0, 16);
   memcpy (res_ref, s1.a + mask * 4, 16);
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s1;
index 1ea77b034227ec0cad2e95ed3c9b1f27b5058920..b51b6ce24e87daf3969e2b480b7002014faa2fc2 100644 (file)
 #include "avx512f-mask-type.h"
 #include "string.h"
 
-void
+static void
 CALC (UNION_TYPE (AVX512F_LEN, i_d) s1, int *res_ref, int mask)
 {
   memset (res_ref, 0, 16);
   memcpy (res_ref, s1.a + mask * 4, 16);
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1;
index d4ddd32145b20d87d80c49219d6da33ca5aad01b..3f338b9e90d1c050dde93e715cb2e75db882f9e7 100644 (file)
@@ -70,10 +70,10 @@ CALC (double *r, double src, long long tbl)
     }
 }
 
-void static
+void
 TEST (void)
 {
-  int i, j, k;
+  int i, j;
   UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s1;
   UNION_TYPE (AVX512F_LEN, i_q) s2;
   double res_ref[SIZE];
index 6c2539d0f4e8113ba0ef3efb8da42199b4073de0..bc334ff3b058e9f4dad67196e1afdfee7df6be63 100644 (file)
@@ -71,10 +71,10 @@ CALC (float *r, float src, int tbl)
 }
 
 
-void static
+void
 TEST (void)
 {
-  int i, j, k;
+  int i, j;
   UNION_TYPE (AVX512F_LEN,) res1, res2, res3, s1;
   UNION_TYPE (AVX512F_LEN, i_d) s2;
   float res_ref[SIZE];
index 1344c7fd1bc8df364fc164b87735df6fb0f1fbff..a0139da00e475f62557accad8e1201a3eee7ef78 100644 (file)
@@ -67,13 +67,13 @@ compute_fixupimmpd (double *r, double src, long long tbl)
     }
 }
 
-void static
+void
 avx512f_test (void)
 {
   union128d s1, res1, res2, res3;
   union128i_q s2;
   double res_ref[2];
-  int i, j, k;
+  int i, j;
 
   float vals[2] = { -10, 10 };
   int controls[10] = { 0x11111111,
index 25e165ff51dd052a05fcef87927b26c10f2c668d..692d15ec92921a4c086273a0c931b63ffa42e9d5 100644 (file)
@@ -67,7 +67,7 @@ compute_fixupimmps (float *r, float src, int tbl)
     }
 }
 
-void static
+void
 avx512f_test (void)
 {
   union128 s1, res1, res2, res3;
index 797363008699e5405cd146e551f7c793d9bf8c03..165cd7260aec875afa204a50e2336dc089239e9f 100644 (file)
@@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
index 6883b77d7fbe0b26361b6b2f119d23a67d941392..5e6647d0d53272764cb4840f0f3b2db043ea9bd6 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
index c546520335fa15da5f8af6dcc777991cfff920b1..a243e6c2df9e05cddbb2239e56e004db17bccfef 100644 (file)
@@ -23,7 +23,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
index 2e27ffb46be89db3ccee35f5549766be18602a66..4cafccc45c520f7c39d5dae163be1b75127ead9f 100644 (file)
@@ -23,7 +23,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
index caebada6d183c97800a21f1c549defe7dbe4a3f2..1cd0ae0d8130bd25524f1baf41ce5260f122bb09 100644 (file)
@@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
index da8908f33cab48889b6fb08a55ddc9d2f1c375b8..5952f9d14ee2c19018ea98cb6ad8eb4a03ec0964 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
index 537948b1c4bc72ff5896df51c80e3c0675523557..e32eec829c58e1b7d120733e00b23a092ba2e2d4 100644 (file)
@@ -23,7 +23,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
index 85be77ccb12b8145bd5f7bde5a8e17672cf77dd9..3971c4ed60221346ec36c4ceb4cc4be21e38882b 100644 (file)
@@ -23,7 +23,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
index 71939a5628b0b173e29b984890a4fdc9a392a396..a1d694aea89bf47dee51f7843fa65b3b615664e4 100644 (file)
@@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
index b591d23aaa9c38710ce7918ce294e07fdfa1d96f..3f8785d11ae1aeff88a0994dfa8ea1e209001b76 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
index 177ea73062a045b0b5dbd6c8ccc87f7f2503fab3..bf93501601001ab5abcf5eb99ecfa608124ea55c 100644 (file)
@@ -20,7 +20,7 @@ CALC (double *s1, double *s2, double *s3, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, s3, res1, res2, res3, res4;
index 379708b464a0aaa729aa2ea641e603691699238f..e2831c4358270d5411c1b732db1c1b7410bddf29 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s1, float *s2, float *s3, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, s3, res1, res2, res3, res4;
index ec9321aa8948c88a64ea965bf38c941c0acdf8df..96740e8a47bcbeb424c9e8780c4d7e9d5c47b368 100644 (file)
@@ -18,13 +18,12 @@ CALC (double *s, double *r)
     r[i] = floor (log (s[i]) / log (2));
 }
 
-void static
+void
 TEST (void)
 {
   int j;
   UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s;
   double res_ref[SIZE];
-  double res_ref_mask[SIZE];
 
   MASK_TYPE mask = MASK_VALUE;
 
index 56f4eaa15fe4ce763a94105a4ca12774b5c9cdb2..6bce4166957d699ad510a0f0a3bdccd1ea8da9af 100644 (file)
@@ -18,13 +18,12 @@ CALC (float *s, float *r)
     r[i] = floor (log (s[i]) / log (2));
 }
 
-void static
+void
 TEST (void)
 {
   int j;
   UNION_TYPE (AVX512F_LEN, ) res1,res2,res3,s;
   float res_ref[SIZE];
-  float res_ref_mask[SIZE];
 
   MASK_TYPE mask = MASK_VALUE;
 
index c1e5e5f22021cf44e9d2c1aca6d9f7d0a930bf37..4f7c94db9ae2902e7430a1b31bd816536dc66fe4 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_vgetexpsd (double *s, double *r)
index 39d77c7a0262b178cf61d0c356904c3bedb8d636..926f4d87ffb7a9c04738989298cc695f94a3e480 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_vgetexpss (float *s, float *r)
index 0209021b8b18c28ffc721c4febd8dab3a172eb7f..cb24b97f1597e7a6afa4619eae28c634d575c737 100644 (file)
@@ -83,7 +83,7 @@ CALC (double *r, double *s, int interv, int signctrl)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 25e41d182175d9a3e59517f6975bb2367d783990..480dd743b5171d4dd212156002c491f6ba9bcda4 100644 (file)
@@ -84,7 +84,7 @@ CALC (float *r, float *s, int interv, int signctrl)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 563d3cc221c61798706793580ed1ea0e4a0cdc5a..3a34ca4f05ddfca160c9158ccefa2fd08e32a851 100644 (file)
@@ -4,7 +4,6 @@
 /* { dg-require-effective-target c99_runtime } */
 
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 #include <math.h>
 
 union fp_int_t
@@ -77,7 +76,6 @@ compute_vgetmantsd (double *r, double *s1, double *s2, int interv,
 static void
 avx512f_test (void)
 {
-  int i, sign;
   union128d res1, src1, src2;
   double res_ref[2];
   int interv = _MM_MANT_NORM_p5_1;
index 3ffab4ee1552f02e7d0125d0c3a23d759d7e057d..7c30ea7d8e66fe1c52501d9343905afe7f6cae4a 100644 (file)
@@ -4,7 +4,6 @@
 /* { dg-require-effective-target c99_runtime } */
 
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 #include <math.h>
 
 union fp_int_t
@@ -82,7 +81,6 @@ compute_vgetmantss (float *r, float *s1, float *s2, int interv,
 static void
 avx512f_test (void)
 {
-  int i, sign;
   union128 res1, src1, src2;
   float res_ref[4];
   int interv = _MM_MANT_NORM_p5_1;
index 9231163c32767f1f991d91c075ce43c0bfaaf775..2a6c51a905d8a305117d59b437320baf2a092f28 100644 (file)
@@ -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);
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s1, res1, res2, res3;
index c0cce565b4be97f8a3bc993c5c19d40958156786..0140f04511a4639f46afecf38341d7dfb8f23351 100644 (file)
@@ -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);
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3;
index 70f60a9688e824afbab516b1e182878bc82b4b7f..334f0edbc756b8ef8c1fa70b45ccbd35909f29c8 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index fc92eaa3aaaa835f85aab830fb426b7c1d5e5009..01f8ed0b9c273bb87a241125be5ba3dea7d14638 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index cfb355539e3b2b166533da6d5015e120157e3b3f..9a13129a1e46e394eb6cb17fe6c829b78b7aa950 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index f619b12fe586a1502118da3dfda9d16b0f057183..d63c3d3dfb490be1af0a6878ad7c9b717cc4a364 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 5e720ae8292cfdfb82aafd6535e951bd5940b282..f2116ca2d236c33e79b0f6ce32b41e69617e7618 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #define ALIGN ((AVX512F_LEN) / 8)
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s2, s3, res1, res3, res4, res5, res6;
index d92ec968b63e5862fde71831ee60fc0b3205aa01..74be618840f40fe41de6d604bce01958979f5aeb 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #define ALIGN ((AVX512F_LEN) / 8)
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s2, s3, res1, res3, res4, res5, res6;
index 57619c1429b6e7c1d7b9bcc83fd44300e64be016..b789bc179c762b78e62bcd6005dec5047e5c3c90 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s, double *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s, res1, res2, res3;
index 685b58b60b4985fe9e6f9996577283eef1193560..91a0350908ea1493e54704b8c7eb5fdd229e6dc5 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #define ALIGN ((AVX512F_LEN) / 8)
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s2, s3, res1, res2, res5, res6, res7, res8;
index d5f51f2d13a93632d96748142fbfc42442b7d0ce..2a7136fb1934cf0084a8020b77940b8751159cc8 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #define ALIGN ((AVX512F_LEN) / 8)
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s2, s3, res1, res3, res4, res5, res6;
index f1ae73c1d824c0d4590dcacb05502de3aa75fb0f..f2edc3dff7b5d6296e6ff08c848ce6c0bbfffc6d 100644 (file)
@@ -15,7 +15,7 @@ typedef struct
   int a[SIZE];
 } __attribute__ ((packed)) EVAL(unaligned_array, AVX512F_LEN,);
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s2, res1, res3, res4;
index 867a2517d546f211c10a30d00bb34e2d940b334e..14176965ace37dbe059c1232f234c944ef8c1f06 100644 (file)
@@ -15,7 +15,7 @@ typedef struct
   long long a[SIZE];
 } __attribute__ ((packed)) EVAL(unaligned_array, AVX512F_LEN,);
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s2, res1, res2;
index 1cd8a6b9e9969af167f435f225b32780e7806696..e2f06a5d7de6a6df91e10a2d1720770d37533306 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s, float *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s, res1, res2, res3;
index 032fec82e31c2d13c71e659428efe73852c0c588..2b91467aee180c3e153d0a9fce7d7752a308cae1 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s, float *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s, res1, res2, res3;
index 7e76e29b7516cb80257a18ca258d6d6da0bf2bb0..bf602f52d36a6b01d63194c5896c90230a3af31b 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) res1, res2, res3, s2;
index 7225bda54e28551ea8b1f832e86156e2843fa164..a937fd136b83380d8a00866b86e42d71f1e370a5 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) res1, res2, res3, s2;
index bfd2a51559ba185341d4197bbf8c149bb56b8244..08bfe04ac53f13767d184a23ec89908f32d76071 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 09bb29967afb6cef5c77dfcc36f1008c0332c5e1..ec61ae72e067347654bab479cbe3e700b2a244c3 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 124e2e1a93854ee051f26882c9d3f6f66d60a042..533bd7876adccabcf23a2d644cbae941cb614280 100644 (file)
@@ -21,7 +21,7 @@ CALC (int *i1, int *r)
       r[i] = i1[i];
 }
 
-static void
+void
 TEST (void)
 {
   int ck[SIZE];
index ff906f6d41da8bf59080f1dca8f46d24b3751fe7..2918eb9ccca1fb599ba4ee7d1344499d59c833b8 100644 (file)
@@ -21,7 +21,7 @@ CALC (long long *i1, long long *r)
       r[i] = i1[i];
 }
 
-static void
+void
 TEST (void)
 {
   long long ck[SIZE];
index 8aff11eb952af885f2ef42eaabe91b4390806316..243c2b70b8b17c72337aa1db63689ca5e5e255c8 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (int *r, int *s1, int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index a9d31715229302d1fdcc626084563cdcc1d29114..d35c60ec734546a17e5795111ab49593f8a7a215 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (long long *r, long long *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index b422c9d5dbd4a1ffd2c3754add96a3e1da070db1..b5654d2fe8c6ed320d7c15494ba695a8a48e59f4 100644 (file)
@@ -18,7 +18,7 @@ CALC (int *s1, int *s2, int *r)
     r[i] = s1[i] & s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2, res1, res2, res3, res4;
index f1b12b6e6b0b6a8aed36062ed8be153283194d1b..418b96e6edf634e95e31cdc3e255a0c784f9849a 100644 (file)
@@ -18,7 +18,7 @@ CALC (int *s1, int *s2, int *r)
     r[i] = (~s1[i]) & s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2, res1, res2, res3, res4;
index d03bd0692f215087d93287015ea8fd14b9e73c3f..585d2885991907d2c728cff53308a6a9d31187b2 100644 (file)
@@ -18,7 +18,7 @@ CALC (long long *s1, long long *s2, long long *r)
     r[i] = (~s1[i]) & s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, s2, res1, res2, res3;
index 86ab76ba890d92411006c3e95ccf0e82a7d71219..b2f39456449ce6823d0ffd310cc7eb045049a001 100644 (file)
@@ -18,7 +18,7 @@ CALC (long long *s1, long long *s2, long long *r)
     r[i] = s1[i] & s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, s2, res1, res2, res3;
index c2670fbf9cf60ea6fdec34827af565c1dbb93787..04a586bfee9a16714ced4580b33f8d809ce3c833 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int *s2, MASK_TYPE mask)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (int *r, int *s1, int *s2, MASK_TYPE mask)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 1fc8a5b571064551e1ed9b7272ff91d1310f600e..cd85676142d43652189b006160d8eb9c10075d05 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2, MASK_TYPE mask)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (long long *r, long long *s1, long long *s2, MASK_TYPE mask)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 67bd3ac2d3812bf4543e14fe1312fafbd2ce7696..895c99a97cbca19bc1978bd3d3a8cf0a1c8087a5 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (int *r, int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 4518f6ef4fb7b0adb3e753f0b05cadf5ae03ab8b..cbd9d7b85d4ea17ee168876b46a43feff94f616b 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (long long *r, long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 600dfd2c0ca2409c91df6b500c098c76c653bcfa..3a2dccfd4bd85476940fa70f4309b48319b86a80 100644 (file)
@@ -25,7 +25,7 @@
     if ((mask & dst_ref) != dst2) abort();
 #endif
 
-static void
+void
 TEST ()
 {
     UNION_TYPE (AVX512F_LEN, i_d) source1, source2;
index 9a4c493aa6dbf5d67929d48e14cdb7605df771a4..42089f81997ae8d198efbbcb8ec56ba5d6bc9a31 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 8c269eeb10cdc7e77a4d5cb7aa55410fee21518c..7f2ea5787b3fd1c0b649433eff5774e4ff7db4d7 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 988587810bdecc57610ae0a6d14b5db859276012..f2e781281582c7f43872f602ed558f899ffbd6fd 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index dfff1dc34845c43cb6aca54646b566a995b3cd69..b77798a3512c7a376b6c9716f2161dee460c5d0f 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 7bb366783979ebae954deff8462268135f720f16..ed739347cee5a4e3b58e96b3281ab1ef3fa3f583 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 78cae6941ca1636800de26e24f1c16e17a170ac4..a4ae995dbc1fe3b34fe2483504c46e075c4e04d3 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 6c824360519346f8cd058c68e4ba2778c5f8f714..87146dd36b485800db253e292379ae3c7f0bc166 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index c1eb5801b2bbb78c6909f55a0850ed16c748f548..39dfd76d3d1dea653eff023d1061d20674bd4036 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 15573766c317f187fc274d9f83f8f62b8de53b6b..1def42156d57bcc284d83057a50c7f8f41a45e70 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 5fdf9d75203c85e5dacccb8cfd2feb07abd0f520..9ed536def825b16cad242e8154252ee42fda7116 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 22c825a09b5a013aa573e7d6436af247c0668508..56dcc81a8291443efc3b7ded8b3960182495ed23 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index e7843d1e4feff0e93edbd2986b5b963e392d95af..d0c3587b5434c231d7443703c589699f6977f2e6 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index f8728cd0db1b89910c9bd6561d7a937ce8876eff..f0033f60902a809c36f30853024b3deebf13399b 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 204b69e5753c1c0ceb72f1348da29aeb9fe6c88e..f4e68cff7f6bcc7579e1e0990a7f51dc9c12a037 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index aea70ec84c6e0b46340dbe1cdfe7ad55a3bff6b0..5168e56460401875d8ec11b2cce078232ae5fb0d 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 83becbd6f3dcf272a3c309e2b44c52aa8ec5cb33..df813d533783cb58355a6de2a6797710c7d13cff 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index fd9bfc5aa4a1d784e7549d5042c8509d6facbc80..0655779af11b056dc6bd303527317d0341e1d2f0 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 1beacd4490108b418e2a839dbf6ab2b93f3d487d..69685843f7a4d703d9be8e0e70ac15baab591182 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 09d11f52ca8e74b65e6445ec453d9f1c641e4cd0..3ca100bc2af9144633b91c38705fe203b4ab564b 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, int *s1, int *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, int *s1, int *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2;
   MASK_TYPE res_ref, res1;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 41e1f5b63a3d693768bd603995bfeb0c871524da..b3298068cb188ce18bfe303b17b6bafee05ca32e 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,13 +21,12 @@ CALC (MASK_TYPE *r, long long *s1, long long *s2)
       *r = *r | (one << i);
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2;
   MASK_TYPE res1, res_ref;
-  MASK_TYPE mask = MASK_VALUE;
   res1 = 0;
 
   for (i = 0; i < SIZE / 2; i++)
index 2a9ceb6a9f0f4699af9d11c705549fc92d28fdbd..7c9b888b255ca2de04298ee0ee9faa647d155d1d 100644 (file)
@@ -25,7 +25,7 @@ __mmask8 dst_ref;
     if (dst_ref != dst1) abort();                      \
     if ((mask & dst_ref) != dst2) abort();
 
-static void
+void
 TEST ()
 {
     UNION_TYPE (AVX512F_LEN, i_d) source1, source2;
index c0bb97839f22400e3384156923b8af8023b1cc3e..7a1ed898271466ef6a3b203e0b0972e0987fa188 100644 (file)
@@ -25,7 +25,7 @@
     if ((mask & dst_ref) != dst2) abort();
 #endif
 
-static void
+void
 TEST ()
 {
     unsigned int s1[16] = {2134,  6678,  453, 54646,
index 3bd1b865623b24ed0d1072a87be4e4ce0cbef7e0..f8db6c643a9f79b416dafaef73e85be53c4109a8 100644 (file)
@@ -25,7 +25,7 @@
     if ((mask & dst_ref) != dst2) abort();
 #endif
 
-static void
+void
 TEST ()
 {
     UNION_TYPE (AVX512F_LEN, i_q) source1, source2;
index 2c1e3f586d8765bbf68ac458a3cd51ff124963b8..ce06b33c2deb51e2dc37f03ce1c0639910bbb755 100644 (file)
@@ -23,7 +23,7 @@ CALC (int *s, int *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s, res1, res2;
index 0ea69f0ab77cdb2c1d1e393c46d6f1b78d41e7ad..ebec241751926ec8d09e3cae5ee5391d712e95f1 100644 (file)
@@ -23,7 +23,7 @@ CALC (long long *s, long long *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s, res1, res2;
index 1c494e3d1d5a64d703d461e0f6d4e2d9da4b1516..1b2ce756abbb4f89bc3277a0f764aed04f2de17f 100644 (file)
@@ -21,7 +21,7 @@ CALC (int *mask, int *src1, int *dst)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, src1, src2;
index 9aa104bbf5da2c69f6197f1692bca6c49cb1153c..1c4a80d4ec524d184718bb1f4c770bb0e2342638 100644 (file)
@@ -25,7 +25,7 @@ CALC (int *dst, int *src1, int *ind, int *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index a2daca0bd55476715893e890f309f564f26bb51d..af73a172c2b3c5e9faba51e071c747c17e986902 100644 (file)
@@ -25,7 +25,7 @@ CALC (double *dst, double *src1, long long *ind, double *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, k;
index 56215cfca14bd2e51a3a71f51b4496d0c80b3d73..aa6fbb10a17558576429a1ef36d237536cd44ac4 100644 (file)
@@ -25,7 +25,7 @@ CALC (float *dst, float *src1, int *ind, float *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, k;
index 9d7b9bec3f39cc4db19aef68375e3df219810804..c1adb13a2a94a64ce93458a6e1299b940951d52a 100644 (file)
@@ -25,7 +25,7 @@ CALC (long long *dst, long long *src1, long long *ind, long long *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 27d697bd84603c56c5e5160e983f7e6c8af26e5a..800c7f358f51d15a9b11bd3074ffa4faf8d76941 100644 (file)
@@ -25,7 +25,7 @@ CALC (double *s1, long long *s2, double *r)
     r[i] = s1[(2 * (i / 2)) + ((s2[i] & 0x02) >> 1)];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, res1, res2, res3;
index 9b5ecd4c6c596dc50518a375513e37cc543e762e..26f5a775c73d2f8adb17595b069e1ea42a9be93b 100644 (file)
@@ -24,7 +24,7 @@ CALC (double *s1, int s2, double *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, res1, res2, res3;
index 92c65538d106450d17a7ab06853c80c04aad8e3a..fc1ded7b4b60c469a207794550d6e4d61d267e7a 100644 (file)
@@ -25,7 +25,7 @@ CALC (float *s1, int *s2, float *r)
     r[i] = s1[(4 * (i / 4)) + (s2[i] & 0x03)];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s1, res1, res2, res3;
index 381a794b4ed05ee31a9d97c2e4b16d0464895f75..986dbd17aa284bb484a2643cb8ea0d1cdcbfa73a 100644 (file)
@@ -49,7 +49,7 @@ CALC (float *s, float *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s1, res1, res2, res3;
index 00d171b790d39a2f52ece3ad023ec2b63e8b41c7..1007aef9b15ee5a34e7d471686b3cbc6027c89c8 100644 (file)
@@ -20,7 +20,7 @@ CALC (long long *mask, double *s1, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) src1, res1, res2, res3;
index eb8e583812f46272688e8ad6c175d168daa74ac0..d979828a6324eaa67c3f0cf0ad797e1ef4926407 100644 (file)
@@ -24,7 +24,7 @@ CALC (double *s1, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) src1, res1, res2, res3;
index 53081c48e9c843752a5e57ed4a2d8afce93792e5..ce95fc315683871cc0e55af6eed7642e73161a75 100644 (file)
@@ -20,7 +20,7 @@ CALC (int *mask, float *s1, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) src1, res1, res2, res3;
index 6b1d778c6fd36400df7ae0fe4e4ec0f692e1c5fa..dd88cd46c0b18c4903fff1c370fa0296d90a2c0a 100644 (file)
@@ -25,7 +25,7 @@ CALC (long long *src1, int mask, long long *dst)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, src1;
index ff330a571b7d82862f523721413f77d1f87719a8..b7c36a5f1410483b003ebbc21bd9e07736593347 100644 (file)
@@ -21,7 +21,7 @@ CALC (long long *mask, long long *src1, long long *dst)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, src1, src2;
index ef8d1951b6d1689afb08139bf378e139b90fbbb9..f9bd6b5e5949164d78a3309d0dd7179a7a26497b 100644 (file)
@@ -25,7 +25,7 @@ CALC (int *dst, int *src1, int *ind, int *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 511a47015f99819906c5bcd8912313f82628b325..4a72aa4773e4862257f5fbada295639081ae3f0f 100644 (file)
@@ -25,7 +25,7 @@ CALC (double *dst, double *src1, long long *ind, double *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index cd35d1237ae6468abe6ff3826ab90c7acd1fbdcc..0c35df14d8301c19d2bd7ffdc5fb64a44fe3bac0 100644 (file)
@@ -25,7 +25,7 @@ CALC (float *dst, float *src1, int *ind, float *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 5f449adec2e67c90f0035c31d94012ba3bda00c2..c38729093519d6f5a3739753525aca94c263c073 100644 (file)
@@ -25,7 +25,7 @@ CALC (long long *dst, long long *src1, long long *ind, long long *src2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
index 31b3b5a05eed3cae5f73310e1fa4c6eb2fd9f825..7fb0590f7fcade3978abb1204aee39aac8b4ba41 100644 (file)
@@ -21,7 +21,7 @@ CALC (int *s, int *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3, res4;
index f72799c574ee8ca089f853101bc239a789d46ada..c346382bae2fd28e24a58c8b4bece976a5ef1761 100644 (file)
@@ -21,7 +21,7 @@ CALC (long long *s, long long *r, MASK_TYPE mask)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, res1, res2, res3, res4;
index 78c5511a37aa2f84833969054a20e20f11470e8a..765ce6215ba43472a27441e35de1948eff886103 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-
+void static
 CALC (int *src1, int *src2, int *dst)
 {
   int i;
@@ -18,10 +18,10 @@ CALC (int *src1, int *src2, int *dst)
     dst[i] = src1[i] > src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
+  int i, sign = 1;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   int res_ref[SIZE];
index 10bcd8230f694ad58e9030040f640dc5021e81c4..4c2993f72010d4db22229cfbe267e03b6eedfdac 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-
+void static
 CALC (long long *src1, long long *src2, long long *dst)
 {
   int i;
@@ -18,10 +18,10 @@ CALC (long long *src1, long long *src2, long long *dst)
     dst[i] = src1[i] > src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
+  int i, sign = 1;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   long long res_ref[SIZE];
index b014be8627ff1079b7267f84e0ddf6394cbe2d94..860539403c691cfdcfa4a9130ef7bf989449201a 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-
+static void
 CALC (unsigned *src1, unsigned *src2,
       unsigned *dst)
 {
@@ -19,14 +19,13 @@ CALC (unsigned *src1, unsigned *src2,
     dst[i] = src1[i] > src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_d) src1, src2, res1, res2, res3;
+  UNION_TYPE (AVX512F_LEN, i_ud) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   unsigned res_ref[SIZE];
-
   for (i = 0; i < SIZE; i++)
     {
       src1.a[i] =  i;
@@ -40,14 +39,14 @@ TEST (void)
 
   CALC (src1.a, src2.a, res_ref);
 
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 }
index e2daacd3983ac7d4326529acf9ded1dcb266fdfe..fbd42de2c2333ec79c0eb855532dab33ace39c90 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-
+static void
 CALC (unsigned long long *src1, unsigned long long *src2,
     unsigned long long *dst)
 {
@@ -19,11 +19,11 @@ CALC (unsigned long long *src1, unsigned long long *src2,
     dst[i] = src1[i] > src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_q) src1, src2, res1, res2, res3;
+  UNION_TYPE (AVX512F_LEN, i_uq) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   unsigned long long res_ref[SIZE];
 
@@ -40,14 +40,14 @@ TEST (void)
 
   CALC (src1.a, src2.a, res_ref);
 
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+  MASK_MERGE (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+  MASK_ZERO (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
     abort ();
 }
index 1a6b82bfdd4590579c2e40ca3d80c250e5a85abf..1f8ec1dd3373ce868f087c94ec12465b80a8fe36 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-
+void static
 CALC (int *src1, int *src2, int *dst)
 {
   int i;
@@ -18,10 +18,10 @@ CALC (int *src1, int *src2, int *dst)
     dst[i] = src1[i] < src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
+  int i, sign = 1;
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   int res_ref[SIZE];
index f646489ad444704310e63af49c0ea3752d4d1f45..519873f9d129f045d6f6912b5ca057bfaef5b257 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-
+void static
 CALC (long long *src1, long long *src2, long long *dst)
 {
   int i;
@@ -18,10 +18,10 @@ CALC (long long *src1, long long *src2, long long *dst)
     dst[i] = src1[i] < src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
+  int i, sign = 1;
   UNION_TYPE (AVX512F_LEN, i_q) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   long long res_ref[SIZE];
index 17aac43a5adaa09442e1f7dbb2565d7e35e8d3d8..d66df8ad8562d9b87e0dc316f7ffe17989b9d7fe 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-
+static void
 CALC (unsigned *src1, unsigned *src2,
       unsigned *dst)
 {
@@ -19,11 +19,11 @@ CALC (unsigned *src1, unsigned *src2,
     dst[i] = src1[i] < src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_d) src1, src2, res1, res2, res3;
+  UNION_TYPE (AVX512F_LEN, i_ud) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   unsigned res_ref[SIZE];
 
@@ -40,14 +40,14 @@ TEST (void)
 
   CALC (src1.a, src2.a, res_ref);
 
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 }
index 4c27977ace88583945053bd7e0157cb9bdaafa76..34d0723be97019f08e9e6b2ceb7575c89fd3cf8f 100644 (file)
@@ -9,7 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-
+static void
 CALC (unsigned long long *src1, unsigned long long *src2,
     unsigned long long *dst)
 {
@@ -19,11 +19,11 @@ CALC (unsigned long long *src1, unsigned long long *src2,
     dst[i] = src1[i] < src2[i] ? src1[i] : src2[i];
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_q) src1, src2, res1, res2, res3;
+  UNION_TYPE (AVX512F_LEN, i_uq) src1, src2, res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   unsigned long long res_ref[SIZE];
 
@@ -40,14 +40,14 @@ TEST (void)
 
   CALC (src1.a, src2.a, res_ref);
 
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+  MASK_MERGE (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+  MASK_ZERO (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
     abort ();
 }
index cc63f481654828e196eebc204962c3ab48b5c39b..0e418f98ed272a76fbfd13dab36f2f0887e65f27 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (char *r, int *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (char *r, int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 43fe8cb163af4dfc8e66ea7e5bddbffe8c4b0744..376c105c0b22f2f2eb301432c6ecd1c1cf490eaf 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #define SIZE_HALF (AVX512F_LEN_HALF / 16)
 
+void static
 CALC (short *r, int *s)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (short *r, int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 1b0fbbb3d05b411558cbac3e579a7c82ebe9b324..892ad74e0d187f004ba0eb64cf7a39f4b1b680f6 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (char *r, long long *s, int mem)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (char *r, long long *s, int mem)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index db5054b9323c803ea9a7aac48e9ab539f5ad4117..57170faf8f84ba2ca77cc1b538a7f41387b00103 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #define SIZE_HALF (AVX512F_LEN_HALF / 32)
 
+void static
 CALC (int *r, long long *s)
 {
   int i;
@@ -19,11 +20,11 @@ CALC (int *r, long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
-  UNION_TYPE (AVX512F_LEN_HALF, i_d) res1, res2, res3, res5;
+  UNION_TYPE (AVX512F_LEN_HALF, i_d) res1, res2, res3;
   int res4[SIZE_HALF];
   UNION_TYPE (AVX512F_LEN, i_q) src;
   MASK_TYPE mask = MASK_VALUE;
index 9bdd6e10d6f419c818c29e8098e96ebeb711dfab..27b816511da04971fe57876078bbc44f8e83c74e 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (short *r, long long *s)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (short *r, long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 4ac69b51717e576c0a662e22029d5a732e507b69..116c8b69e717d6095700edb1d392990efd26829f 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <limits.h>
 
+static void
 CALC (char *r, int *s)
 {
   int i;
@@ -25,7 +26,7 @@ CALC (char *r, int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 98d8745d9feccf6cead0fdf8ef9ebf152a5a2c11..e175cce1c48bf6e98622d465f285b88d1591a214 100644 (file)
@@ -11,6 +11,7 @@
 #define SIZE_HALF (AVX512F_LEN_HALF / 16)
 #include <limits.h>
 
+static void
 CALC (short *r, int *s)
 {
   int i;
@@ -26,7 +27,7 @@ CALC (short *r, int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 0fb7883de059ebb4e7d216ab15041e5604e974c6..babe6e22b99f1109336711947b5a8fe1effe8a5b 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <limits.h>
 
+void static
 CALC (char *r, long long *s, int mem)
 {
   int i;
@@ -26,7 +27,7 @@ CALC (char *r, long long *s, int mem)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 3230528a3b08493c4d574e12a04a8c563f2a33e0..342f9cb76b52ef1e07372842f145dc1a55eb5ad7 100644 (file)
@@ -11,6 +11,7 @@
 #define SIZE_HALF (AVX512F_LEN_HALF / 32)
 #include <limits.h>
 
+static void
 CALC (int *r, long long *s)
 {
   int i;
@@ -26,7 +27,7 @@ CALC (int *r, long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 25e54a73dee8ec990f9c3a5fc0c76e40470b913e..bc1619a8308b44052d82e2f19abb2894db205ba9 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <limits.h>
 
+void static
 CALC (short *r, long long *s)
 {
   int i;
@@ -25,7 +26,7 @@ CALC (short *r, long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 3bfb6ab75f925b76a770f297bbc12db07479a090..2e8e2cbeea48388c9d23a15f79f558e73d18dbe4 100644 (file)
@@ -20,7 +20,7 @@ CALC (char *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   union128i_b s;
index 540d21819a6d3ce9250f2cff78aa77101e7e0137..18b6c1b4f561a4f9aaaa56bcd04165ff2bc63679 100644 (file)
@@ -20,7 +20,7 @@ CALC (char *s, long long int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   union128i_b s;
index f1e131e00ae6635efdb10cd3a229ff6cf70fb2e7..aaa94223aae7f237d5db20f116a146b350ebc0e9 100644 (file)
@@ -20,7 +20,7 @@ CALC (int *s, long long int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN_HALF, i_d) s;
index 04b43a6e83a4b28fbcd20d426cdd5a4a685435ec..56aa43da1e0db4b65b6b035c56d6add28146e7ed 100644 (file)
@@ -20,7 +20,7 @@ CALC (short *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN_HALF, i_w) s;
index 9e6832d86de5d4dff8d8807139d56cc500a08e4e..c77607bd46644972e8c66a9d17a4c55421f9b898 100644 (file)
@@ -20,7 +20,7 @@ CALC (short *s, long long int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   union128i_w s;
index f13bb95b3d88cf91d48e2b3767755605d5b6397b..8907a72f3ea8317ff5217ce164a215ad9b6e49a9 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <limits.h>
 
+static void
 CALC (unsigned char *r, unsigned int *s)
 {
   int i;
@@ -20,13 +21,13 @@ CALC (unsigned char *r, unsigned int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (128, i_b) res1, res2, res3;
+  int i;
+  UNION_TYPE (128, i_ub) res1, res2, res3;
   unsigned char res4[16];
-  UNION_TYPE (AVX512F_LEN, i_d) src;
+  UNION_TYPE (AVX512F_LEN, i_ud) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned char res_ref[16];
 
@@ -44,17 +45,17 @@ TEST (void)
 
   CALC (res_ref, src.a);
 
-  if (UNION_CHECK (128, i_b) (res1, res_ref))
+  if (UNION_CHECK (128, i_ub) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_b) (res_ref, mask, SIZE);
-  if (UNION_CHECK (128, i_b) (res2, res_ref))
+  MASK_MERGE (i_ub) (res_ref, mask, SIZE);
+  if (UNION_CHECK (128, i_ub) (res2, res_ref))
     abort ();
 
-  if (checkVc (res4, res_ref, 16))
+  if (checkVuc (res4, res_ref, 16))
     abort ();
 
-  MASK_ZERO (i_b) (res_ref, mask, SIZE);
-  if (UNION_CHECK (128, i_b) (res3, res_ref))
+  MASK_ZERO (i_ub) (res_ref, mask, SIZE);
+  if (UNION_CHECK (128, i_ub) (res3, res_ref))
     abort ();
 }
index c33a10b71156d6e79b487bfcfbd1c3fe3b386f76..c2c2624b498791f9603c4ddacc74076222a2ba80 100644 (file)
@@ -11,6 +11,7 @@
 #define SIZE_HALF (AVX512F_LEN_HALF / 16)
 #include <limits.h>
 
+static void
 CALC (unsigned short *r, unsigned int *s)
 {
   int i;
@@ -21,13 +22,13 @@ CALC (unsigned short *r, unsigned int *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (AVX512F_LEN_HALF, i_w) res1, res2, res3;
+  int i;
+  UNION_TYPE (AVX512F_LEN_HALF, i_uw) res1, res2, res3;
   unsigned short res4[SIZE_HALF];
-  UNION_TYPE (AVX512F_LEN, i_d) src;
+  UNION_TYPE (AVX512F_LEN, i_ud) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned short res_ref[SIZE_HALF];
 
@@ -45,17 +46,17 @@ TEST (void)
 
   CALC (res_ref, src.a);
 
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_w) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_uw) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_w) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_w) (res2, res_ref))
+  MASK_MERGE (i_uw) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_uw) (res2, res_ref))
     abort ();
 
-  if (checkVs (res4, res_ref, SIZE_HALF))
+  if (checkVus (res4, res_ref, SIZE_HALF))
     abort ();
 
-  MASK_ZERO (i_w) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_w) (res3, res_ref))
+  MASK_ZERO (i_uw) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_uw) (res3, res_ref))
     abort ();
 }
index 43fb9d275ccf4e373503c0501af7dd88902c87df..8c20544524b7d6ee77ff1c516c587abc3e31ef80 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <limits.h>
 
+static void
 CALC (unsigned char *r, unsigned long long *s, int mem)
 {
   int i;
@@ -21,13 +22,13 @@ CALC (unsigned char *r, unsigned long long *s, int mem)
     }
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (128, i_b) res1, res2, res3;
+  int i;
+  UNION_TYPE (128, i_ub) res1, res2, res3;
   unsigned char res4[16];
-  UNION_TYPE (AVX512F_LEN, i_q) src;
+  UNION_TYPE (AVX512F_LEN, i_uq) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned char res_ref[16];
   unsigned char res_ref2[16];
@@ -51,23 +52,23 @@ TEST (void)
 
   CALC (res_ref, src.a, 0);
 
-  if (UNION_CHECK (128, i_b) (res1, res_ref))
+  if (UNION_CHECK (128, i_ub) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_b) (res_ref, mask, SIZE);
-  if (UNION_CHECK (128, i_b) (res2, res_ref))
+  MASK_MERGE (i_ub) (res_ref, mask, SIZE);
+  if (UNION_CHECK (128, i_ub) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_b) (res_ref, mask, SIZE);
-  if (UNION_CHECK (128, i_b) (res3, res_ref))
+  MASK_ZERO (i_ub) (res_ref, mask, SIZE);
+  if (UNION_CHECK (128, i_ub) (res3, res_ref))
     abort ();
 
   INTRINSIC (_mask_cvtusepi64_storeu_epi8) (res4, mask, src.x);
 
   CALC (res_ref2, src.a, 1);
-  MASK_MERGE (i_b) (res_ref2, mask, SIZE);
+  MASK_MERGE (i_ub) (res_ref2, mask, SIZE);
 
-  if (checkVc (res4, res_ref2, 16))
+  if (checkVuc (res4, res_ref2, 16))
     abort ();
 
 }
index 79613b36ac3411b65b468a455e0a93cd6fb9224c..f500ea3c2850234a9e0b17ab62d492b9d32dd9c8 100644 (file)
@@ -11,6 +11,7 @@
 #define SIZE_HALF (AVX512F_LEN_HALF / 32)
 #include <limits.h>
 
+static void
 CALC (unsigned int *r, unsigned long long *s)
 {
   int i;
@@ -21,13 +22,13 @@ CALC (unsigned int *r, unsigned long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (AVX512F_LEN_HALF, i_d) res1, res2, res3;
+  int i;
+  UNION_TYPE (AVX512F_LEN_HALF, i_ud) res1, res2, res3;
   unsigned int res4[SIZE_HALF];
-  UNION_TYPE (AVX512F_LEN, i_q) src;
+  UNION_TYPE (AVX512F_LEN, i_uq) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned int res_ref[SIZE_HALF];
 
@@ -45,17 +46,17 @@ TEST (void)
 
   CALC (res_ref, src.a);
 
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res2, res_ref))
     abort ();
 
-  if (checkVi (res4, res_ref, SIZE_HALF))
+  if (checkVui (res4, res_ref, SIZE_HALF))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN_HALF, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN_HALF, i_ud) (res3, res_ref))
     abort ();
 }
index f905eed83f0d27e0f7fd7d188cf21636bd5660b2..c1ce9ed65bc313e1b47bbef2e252d0e6538b5859 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <limits.h>
 
+static void
 CALC (unsigned short *r, unsigned long long *s)
 {
   int i;
@@ -20,13 +21,13 @@ CALC (unsigned short *r, unsigned long long *s)
     }
 }
 
-void static
+void
 TEST (void)
 {
-  int i, sign;
-  UNION_TYPE (128, i_w) res1, res2, res3;
+  int i;
+  UNION_TYPE (128, i_uw) res1, res2, res3;
   unsigned short res4[8];
-  UNION_TYPE (AVX512F_LEN, i_q) src;
+  UNION_TYPE (AVX512F_LEN, i_uq) src;
   MASK_TYPE mask = MASK_VALUE;
   unsigned short res_ref[8];
 
@@ -44,17 +45,17 @@ TEST (void)
 
   CALC (res_ref, src.a);
 
-  if (UNION_CHECK (128, i_w) (res1, res_ref))
+  if (UNION_CHECK (128, i_uw) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_w) (res_ref, mask, SIZE);
-  if (UNION_CHECK (128, i_w) (res2, res_ref))
+  MASK_MERGE (i_uw) (res_ref, mask, SIZE);
+  if (UNION_CHECK (128, i_uw) (res2, res_ref))
     abort ();
 
-  if (checkVs (res4, res_ref, 8))
+  if (checkVus (res4, res_ref, 8))
     abort ();
 
-  MASK_ZERO (i_w) (res_ref, mask, SIZE);
-  if (UNION_CHECK (128, i_w) (res3, res_ref))
+  MASK_ZERO (i_uw) (res_ref, mask, SIZE);
+  if (UNION_CHECK (128, i_uw) (res3, res_ref))
     abort ();
 }
index eb2b9509f5ec77ca62e08e00d3bf83a3b9c4d31d..2184d8e1550d08c0f70df5068f4515442d7ca497 100644 (file)
@@ -20,10 +20,10 @@ CALC (unsigned char *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
-  union128i_b s;
+  union128i_ub s;
   UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   int res_ref[SIZE];
index e1629951ad4d2f4c22014014a4011e3fe3dc7d6a..6d9c935f14bd28c38386f4a973f7a781a03fd28d 100644 (file)
@@ -20,10 +20,10 @@ CALC (unsigned char *s, long long int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
-  union128i_b s;
+  union128i_ub s;
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   long long int res_ref[SIZE];
index 69c352279d0ac3d49263607cb3499ee15a2710b7..650be93be5ec8e1287f32aa6fde45329a7d54d27 100644 (file)
@@ -20,10 +20,10 @@ CALC (unsigned *s, long long int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
-  UNION_TYPE (AVX512F_LEN_HALF, i_d) s;
+  UNION_TYPE (AVX512F_LEN_HALF, i_ud) s;
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   long long int res_ref[SIZE];
index ea53314337436b69d3e25e3b06a37474fa1e58db..8823b892060cac1c0c317f58a2c2b4f745f3772d 100644 (file)
@@ -20,10 +20,10 @@ CALC (unsigned short *s, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
-  UNION_TYPE (AVX512F_LEN_HALF, i_w) s;
+  UNION_TYPE (AVX512F_LEN_HALF, i_uw) s;
   UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   int res_ref[SIZE];
index 9e0fc7668cceea083cc0444a3623e03d3974931c..fcff47bd4c975a59e714e44f71898c633a85f4a0 100644 (file)
@@ -20,10 +20,10 @@ CALC (unsigned short *s, long long int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
-  union128i_w s;
+  union128i_uw s;
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   long long int res_ref[SIZE];
index 83058dcf897704e0d4d76d9c2ca7d2cfc0b9ffba..a827c99f3eff7476dea617231baaa2e28d11bf95 100644 (file)
@@ -19,14 +19,14 @@ CALC (int *s1, int *s2, long long int *r)
     r[i] = s1[i * 2] * s2[i * 2];
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2;
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   long long res_ref[DST_SIZE];
-  int i, sign = 1;
+  int i;
 
   for (i = 0; i < SRC_SIZE; i++)
     {
index a08120c436ddfc4db273f8946a7106e1adbfb5fe..71b964085a0d68438e76d3d4f55be628819bcf58 100644 (file)
@@ -19,7 +19,7 @@ CALC (int *src1, int *src2, int *dst)
     dst[i] = src1[i] * src2[i];
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) src1, src2, res1, res2, res3;
index fc0416b6cf6595393dea9bec3ee01fa934ccd446..e7e087229ee0bdea47e68d05a0109060f024b468 100644 (file)
@@ -19,14 +19,14 @@ CALC (unsigned int *s1, unsigned int *s2, unsigned long long *r)
     r[i] = s1[i * 2] * s2[i * 2];
 }
 
-static void
+void
 TEST (void)
 {
-  UNION_TYPE (AVX512F_LEN, i_d) s1, s2;
-  UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3;
+  UNION_TYPE (AVX512F_LEN, i_ud) s1, s2;
+  UNION_TYPE (AVX512F_LEN, i_uq) res1, res2, res3;
   MASK_TYPE mask = MASK_VALUE;
   unsigned long long res_ref[DST_SIZE];
-  int i, sign = 1;
+  int i;
 
   for (i = 0; i < SRC_SIZE; i++)
     {
@@ -42,14 +42,14 @@ TEST (void)
   res2.x = INTRINSIC (_mask_mul_epu32) (res2.x, mask, s1.x, s2.x);
   res3.x = INTRINSIC (_maskz_mul_epu32) (mask, s1.x, s2.x);
 
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_q) (res_ref, mask, DST_SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+  MASK_MERGE (i_uq) (res_ref, mask, DST_SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_q) (res_ref, mask, DST_SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+  MASK_ZERO (i_uq) (res_ref, mask, DST_SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
     abort ();
 }
index 9493aa01fbc31105252c5bd02f80b94badbac56b..5656a81e3fb9a5e36042bbcbdd2ee475af232b0a 100644 (file)
@@ -18,7 +18,7 @@ CALC (int *s1, int *s2, int *r)
     r[i] = s1[i] | s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2, res1, res2, res3, res4;
index 843ecbd37f32f06c13687e5ba155790d3573b7a5..9af7172e31c23008ab5fd9861cfce7914b794725 100644 (file)
@@ -18,7 +18,7 @@ CALC (long long *s1, long long *s2, long long *r)
     r[i] = s1[i] | s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, s2, res1, res2, res3;
index e56115d19a7c475b4428c069c69d717e88962321..350b2ff5aeab45c70de2eab6799647fb9d8be852 100644 (file)
@@ -17,10 +17,10 @@ CALC (int *s1, int count, int *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] << count) | (s1[i] >> sizeof (s1[i]) * 8 - count);
+    r[i] = (s1[i] << count) | (s1[i] >> (sizeof (s1[i]) * 8 - count));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3;
index 116a6aa6bd7c88c57f9dfe9a4176d3a3424f5ef2..8a5718fbddbe89727eab5cfde474a23dd713980a 100644 (file)
@@ -17,10 +17,10 @@ CALC (long long *s1, int count, long long *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] << count) | (s1[i] >> sizeof (s1[i]) * 8 - count);
+    r[i] = (s1[i] << count) | (s1[i] >> (sizeof (s1[i]) * 8 - count));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, res1, res2, res3;
index e537ae8f95dbc25d8f93ab28cd7b2547dbb4a3da..2d6f4d33f6b0f63d61fe92187226988e11b2fdfb 100644 (file)
@@ -15,10 +15,10 @@ CALC (int *s1, int *s2, int *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] << s2[i]) | (s1[i] >> sizeof (s1[i]) * 8 - s2[i]);
+    r[i] = (s1[i] << s2[i]) | (s1[i] >> (sizeof (s1[i]) * 8 - s2[i]));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2, res1, res2, res3;
index a1c748d50b6a41644a7471b19eadb5c0e3767d57..bcfeb057fc2841d77a1e153d622962679a312072 100644 (file)
@@ -15,10 +15,10 @@ CALC (long long *s1, long long *s2, long long *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] << s2[i]) | (s1[i] >> sizeof (s1[i]) * 8 - s2[i]);
+    r[i] = (s1[i] << s2[i]) | (s1[i] >> (sizeof (s1[i]) * 8 - s2[i]));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, s2, res1, res2, res3;
index 5223fe0a7d1eb8ddef1c9852b01834d92e1db6bd..7592e3e4194e92954722842bc4132f5bb2df9776 100644 (file)
@@ -17,10 +17,10 @@ CALC (int *s1, int count, int *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] >> count) | (s1[i] << sizeof (s1[i]) * 8 - count);
+    r[i] = (s1[i] >> count) | (s1[i] << (sizeof (s1[i]) * 8 - count));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3;
index 704b0a50a7e23a5dcba53a5d1c189faf8c8458a4..95c9bdaae092e9ec8a2f3ddc6db39472505f4377 100644 (file)
@@ -17,10 +17,10 @@ CALC (long long *s1, int count, long long *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] >> count) | (s1[i] << sizeof (s1[i]) * 8 - count);
+    r[i] = (s1[i] >> count) | (s1[i] << (sizeof (s1[i]) * 8 - count));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, res1, res2, res3;
index eaf8df92e4beedeacaf98d0c54d6e64d03daa30a..0be8d69e9f9755e787d29ab2ed207a1d20fa678b 100644 (file)
@@ -15,10 +15,10 @@ CALC (int *s1, int *s2, int *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] >> s2[i]) | (s1[i] << sizeof (s1[i]) * 8 - s2[i]);
+    r[i] = (s1[i] >> s2[i]) | (s1[i] << (sizeof (s1[i]) * 8 - s2[i]));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2, res1, res2, res3;
index 035ce96772cff7e18994a05f9e987e0e26cc1e3e..b8738bf2618674e46b1fc6eac894ca6d8c2fa7f5 100644 (file)
@@ -15,10 +15,10 @@ CALC (long long *s1, long long *s2, long long *r)
   unsigned int i;
 
   for (i = 0; i < SIZE; i++)
-    r[i] = (s1[i] >> s2[i]) | (s1[i] << sizeof (s1[i]) * 8 - s2[i]);
+    r[i] = (s1[i] >> s2[i]) | (s1[i] << (sizeof (s1[i]) * 8 - s2[i]));
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, s2, res1, res2, res3;
index a6379c372e8194671e2aa8e1f04966f102b2decc..6bab108659daf40f43cf011e4fb5ed3cee864362 100644 (file)
@@ -23,17 +23,17 @@ CALC (int *s1, unsigned char imm, int *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, res1, res2, res3;
   int res_ref[SIZE];
-  int i, j, sign = 1;
+  int j, sign = 1;
   MASK_TYPE mask = MASK_VALUE;
 
   for (j = 0; j < SIZE; j++)
     {
-      s1.a[j] = j * i * sign;
+      s1.a[j] = j * sign;
       res1.a[j] = DEFAULT_VALUE;
       res2.a[j] = DEFAULT_VALUE;
       res3.a[j] = DEFAULT_VALUE;
index c6c8a9c1c7b6a99bc1ee796475b48d0b82933b12..b11f7f7db88e99f0e92088fa01a0f72aa93cab0a 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, long long* s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (int *r, int *s1, long long* s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index c3bfdd28a5d2b7e9a19bc92f5f61996dbf8d58bb..638b882ab17837109713651ae04d2d3acb3f0592 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int count)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (int *r, int *s1, int count)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 5addaa517981669f9d0944b1e230c597a3a3f0aa..0f818fd2a27fd427725769ac75b065b250f39a95 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1,  long long* s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (long long *r, long long *s1,  long long* s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index e15b324d11a1f66798494361bb3808c470233c35..39be492d0e3016a7fe4969b0c9625188e838a8fd 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long count)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (long long *r, long long *s1, long long count)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 82ff3a6525328c0fcba85c4a435a13355dd29002..5f094ddd475f331dade95965766bbc4e15118464 100644 (file)
@@ -9,7 +9,8 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-CALC (unsigned int *r, unsigned int *s1, unsigned int *s2)
+static void
+CALC (int *r, int *s1, int *s2)
 {
   int i;
   for (i = 0; i < SIZE; i++)
@@ -18,13 +19,13 @@ CALC (unsigned int *r, unsigned int *s1, unsigned int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, src1, src2;
   MASK_TYPE mask = MASK_VALUE;
-  unsigned int res_ref[SIZE];
+  int res_ref[SIZE];
 
   for (i = 0; i < SIZE; i++)
     {
index e2b48d7fdde2584feaab73bc42e5e7dc7d45bb19..7ddacdffe66e75e2c4e92cb07cc9bb5090d2876a 100644 (file)
@@ -9,8 +9,9 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-CALC (unsigned long long *r, unsigned long long *s1,
-      unsigned long long *s2)
+static void
+CALC (long long *r, long long *s1,
+      long long *s2)
 {
   int i;
   for (i = 0; i < SIZE; i++)
@@ -19,13 +20,13 @@ CALC (unsigned long long *r, unsigned long long *s1,
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
   UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, src1, src2;
   MASK_TYPE mask = MASK_VALUE;
-  unsigned long long res_ref[SIZE];
+  long long res_ref[SIZE];
 
   for (i = 0; i < SIZE; i++)
     {
index 596f98b4397988dbbcebb963cb52a15cbf2758d1..7b433e0c1fe2da118b6a0007e54d23e5697ccd8d 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, long long *s2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (int *r, int *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 3ba3ff1315b1345dda15b6ebfb87a0eb474f29ab..c74d085b2d6b3e0ae67065d534b5d38dbf9d7419 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int count)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (int *r, int *s1, int count)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index c5ae9c67d19ca2ded188d0054ded2a3acead2f87..575291a82d6ab6a2ff8cef26ff725c01e6b3a49b 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2)
 {
   int i;
@@ -21,7 +22,7 @@ CALC (long long *r, long long *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 47c273297da21c2a8b6be00001f4256301ef0b61..d45a620df5402dedbf7681ad3cf8d180d2bb5ec3 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long count)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (long long *r, long long *s1, long long count)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 0651c24cc0078e690dab721f9d1023570fce7594..ff97489b7b639f37bf6f3a09dd6aa4be5924f7cd 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int *s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (int *r, int *s1, int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 3b7063f57a287e5e5fefb10017c4807ad525b674..57d2a94011829001cdf3b26cf44ccb6e9dc88a70 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (long long *r, long long *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 653a8f8f3043dc5c38a48abd7f13c7f67b433304..1bd748a1ba8b6e6fc7088ec714e9dd25287c42d3 100644 (file)
@@ -9,7 +9,8 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-CALC (unsigned int *r, unsigned int *s1,  unsigned long long* s2)
+static void
+CALC (unsigned int *r, unsigned int *s1, unsigned long long *s2)
 {
   int i;
   unsigned int count = s2[0];
@@ -19,12 +20,12 @@ CALC (unsigned int *r, unsigned int *s1,  unsigned long long* s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, src1;
-  UNION_TYPE (128, i_q) src2;
+  UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3, src1;
+  UNION_TYPE (128, i_uq) src2;
   MASK_TYPE mask = MASK_VALUE;
   unsigned int res_ref[SIZE];
 
@@ -46,15 +47,15 @@ TEST (void)
 
       CALC (res_ref, src1.a, src2.a);
 
-      if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
+      if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
        abort ();
 
-      MASK_MERGE (i_d) (res_ref, mask, SIZE);
-      if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+      MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+      if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
        abort ();
 
-      MASK_ZERO (i_d) (res_ref, mask, SIZE);
-      if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+      MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+      if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
        abort ();
     }
 }
index e178445fb73d156cf38c051a42ab13e24c1ef4b6..0e73097939834181946753a1f7585e79b8cb677e 100644 (file)
@@ -9,7 +9,8 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
-CALC (unsigned int *r, unsigned int *s1, unsigned int count)
+static void
+CALC (unsigned int *r, unsigned int *s1, int count)
 {
   int i;
   for (i = 0; i < SIZE; i++)
@@ -18,11 +19,11 @@ CALC (unsigned int *r, unsigned int *s1, unsigned int count)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, src1;
+  UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3, src1;
   MASK_TYPE mask = MASK_VALUE;
   unsigned int res_ref[SIZE];
 
@@ -41,15 +42,15 @@ TEST (void)
 
   CALC (res_ref, src1.a, 3);
 
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 
 
@@ -63,14 +64,14 @@ TEST (void)
 
   CALC (res_ref, src1.a, 33);
 
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 }
index 40305287350421676df75b16fde58679a9963269..8f362bce8ddd63b69b31371b5622feee9b6f000c 100644 (file)
@@ -9,7 +9,8 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-CALC (unsigned long long *r, unsigned long long *s1,  unsigned long long* s2)
+static void
+CALC (unsigned long long *r, unsigned long long *s1, unsigned long long* s2)
 {
   int i;
   unsigned long long count = s2[0];
@@ -19,12 +20,12 @@ CALC (unsigned long long *r, unsigned long long *s1,  unsigned long long* s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, src1;
-  UNION_TYPE (128, i_q) src2;
+  UNION_TYPE (AVX512F_LEN, i_uq) res1, res2, res3, src1;
+  UNION_TYPE (128, i_uq) src2;
   MASK_TYPE mask = MASK_VALUE;
   unsigned long long res_ref[SIZE];
 
@@ -46,15 +47,15 @@ TEST (void)
 
       CALC (res_ref, src1.a, src2.a);
 
-      if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+      if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
        abort ();
 
-      MASK_MERGE (i_q) (res_ref, mask, SIZE);
-      if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+      MASK_MERGE (i_uq) (res_ref, mask, SIZE);
+      if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
        abort ();
 
-      MASK_ZERO (i_q) (res_ref, mask, SIZE);
-      if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+      MASK_ZERO (i_uq) (res_ref, mask, SIZE);
+      if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
        abort ();
     }
 }
index 3fedac4c88f99fbcfc700e29d4bb74f889591a78..c68a629b8f8099e55ee81e490d90534faabb5d32 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (unsigned long long *r, unsigned long long *s1,
       unsigned long long count)
 {
@@ -19,11 +20,11 @@ CALC (unsigned long long *r, unsigned long long *s1,
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, src1;
+  UNION_TYPE (AVX512F_LEN, i_uq) res1, res2, res3, src1;
   MASK_TYPE mask = MASK_VALUE;
   unsigned long long res_ref[SIZE];
 
@@ -42,15 +43,15 @@ TEST (void)
 
   CALC (res_ref, src1.a, 3);
 
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+  MASK_MERGE (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+  MASK_ZERO (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
     abort ();
 
 
@@ -64,14 +65,14 @@ TEST (void)
 
   CALC (res_ref, src1.a, 65);
 
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+  MASK_MERGE (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+  MASK_ZERO (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
     abort ();
 }
index 514d36a37dc59ae0e3b6a1bc66102ceefd99e231..8e04d6db4913827550dd36b4b5237363fe4789e2 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (unsigned int *r, unsigned int *s1, unsigned int *s2)
 {
   int i;
@@ -18,11 +19,11 @@ CALC (unsigned int *r, unsigned int *s1, unsigned int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_d) res1, res2, res3, src1, src2;
+  UNION_TYPE (AVX512F_LEN, i_ud) res1, res2, res3, src1, src2;
   MASK_TYPE mask = MASK_VALUE;
   unsigned int res_ref[SIZE];
 
@@ -41,14 +42,14 @@ TEST (void)
 
   CALC (res_ref, src1.a, src2.a);
 
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res2, res_ref))
+  MASK_MERGE (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_d) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_d) (res3, res_ref))
+  MASK_ZERO (i_ud) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_ud) (res3, res_ref))
     abort ();
 }
index 586b8c2f93033ab96c74aa141bbc4a05cf44c1e2..3cc4b11be99685ebf4e585ae404c60c654b6ce5e 100644 (file)
@@ -9,8 +9,8 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
-CALC (unsigned long long *r, unsigned long long *s1,
-      unsigned long long *s2)
+static void
+CALC (unsigned long long *r, unsigned long long *s1, unsigned long long *s2)
 {
   int i;
   for (i = 0; i < SIZE; i++)
@@ -19,11 +19,11 @@ CALC (unsigned long long *r, unsigned long long *s1,
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i;
-  UNION_TYPE (AVX512F_LEN, i_q) res1, res2, res3, src1, src2;
+  UNION_TYPE (AVX512F_LEN, i_uq) res1, res2, res3, src1, src2;
   MASK_TYPE mask = MASK_VALUE;
   unsigned long long res_ref[SIZE];
 
@@ -42,14 +42,14 @@ TEST (void)
 
   CALC (res_ref, src1.a, src2.a);
 
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res1, res_ref))
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res1, res_ref))
     abort ();
 
-  MASK_MERGE (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res2, res_ref))
+  MASK_MERGE (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res2, res_ref))
     abort ();
 
-  MASK_ZERO (i_q) (res_ref, mask, SIZE);
-  if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref))
+  MASK_ZERO (i_uq) (res_ref, mask, SIZE);
+  if (UNION_CHECK (AVX512F_LEN, i_uq) (res3, res_ref))
     abort ();
 }
index acc26ce832ca02097ac9fb26a05122a9a7059a22..902ccffba5b272564f97fa91a89868eea53af67b 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (int *r, int *s1, int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index ba16ee18470802e958856b0984a34774b3fe659e..a78d85f6ab4065c20b228f4562a96489a9526d7b 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (long long *r, long long *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index c9813ed2432d5d0eebbf5f8d5cc53bbe67e60902..67df0d46581372a65c58685010305c8bccc520bc 100644 (file)
@@ -32,7 +32,7 @@ CALC (int *src1, int *src2, int *src3, int imm, int *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) src2, src3, res1, res2, res3;
index a8065541ecc780e668956b2e6bf7ff4a1f050d74..4bbb864a0cbd26610df0aef28b5e7f8a820f320e 100644 (file)
@@ -34,7 +34,7 @@ CALC (long long *src1, long long *src2, long long *src3,
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) src2, src3, res1, res2, res3;
index 5025fab30886d2fb1316400ea63d6d554f2f0b8d..e776fdc7e368bf40e3f940c749e16be6509b7dac 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *res, int *src1, int *src2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *res, int *src1, int *src2)
       *res = *res | one << i;
 }
 
-static void
+void
 TEST (void)
 {
   int i, sign = 1;
index 9ec9e48b3b19187fb17e867c545561ddbcd324e2..283a8447145f2bbc041a8762ac73275da96f8840 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *res, long long *src1, long long *src2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *res, long long *src1, long long *src2)
       *res = *res | one << i;
 }
 
-static void
+void
 TEST (void)
 {
   int i, sign = 1;
index b2b4d0e1e6740d678f02bc70c4203b4aba2e2476..f72954b9969a512cd80051ce2b017a4ee3c4bb84 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *res, int *src1, int *src2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *res, int *src1, int *src2)
       *res = *res | one << i;
 }
 
-static void
+void
 TEST (void)
 {
   int i, sign = 1;
index b6330d21342a4b41975d7ceff7a7ea9628ba51f3..d35a944259a91ece9a025c7a5ebf31bdb5ddcdb0 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (MASK_TYPE *res, long long *src1, long long *src2)
 {
   int i;
@@ -20,7 +21,7 @@ CALC (MASK_TYPE *res, long long *src1, long long *src2)
       *res = *res | one << i;
 }
 
-static void
+void
 TEST (void)
 {
   int i, sign = 1;
index adb9b7a53aa2d4b740606c8b4020e4b703559e93..f499fdf5318e6ce0c1b91ab3c57f3bf8ed06233e 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int *s2)
 {
   int i;
@@ -21,7 +22,7 @@ CALC (int *r, int *s1, int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index b226274df169ad6ca5a503d943a01d29824c25a9..b0c8c2324df61e865c47f6b72c0aafc705c902aa 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (long long *r, long long *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index b715fde17ad3fa36b877e22cb8f060e20e56df8a..7cdaa74358c78989a5f40f07a0ac983b40753e87 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (int *r, int *s1, int *s2)
 {
   int i;
@@ -21,7 +22,7 @@ CALC (int *r, int *s1, int *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 2892f1c32109e041014b9a9ec102b3346ac134bc..2d84fb98cb30ffd5038badf5cfa1f56c743466aa 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (long long *r, long long *s1, long long *s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (long long *r, long long *s1, long long *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 7a9666ce7c60fdf75c8c3d6c9ad42343bc9db3c7..fa431aed14087419d3eaf055c00ce447a432371a 100644 (file)
@@ -18,7 +18,7 @@ CALC (int *s1, int *s2, int *r)
     r[i] = s1[i] ^ s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) s1, s2, res1, res2, res3, res4;
index 288b0085ff6ee3bb6d9ebb84c20cbaa0f8b0d30a..ef605476bbcd2fee2e8755dcff11fbfb853eb325 100644 (file)
@@ -18,7 +18,7 @@ CALC (long long *s1, long long *s2, long long *r)
     r[i] = s1[i] ^ s2[i];
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) s1, s2, res1, res2, res3;
index 4653d77309b805a54c34dc7e8283cee3e9f14103..00e3308716d05f3c4d40b7255054dac8e58dd682 100644 (file)
@@ -20,7 +20,7 @@ CALC (double *s, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s, res1, res2, res3;
index 6e0e577914bfc1bce834ac739b2db48ea025d061..d730a0642c2511b23f71c6775e145804a7050ec3 100644 (file)
@@ -20,7 +20,7 @@ CALC (float *s, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s, res1, res2, res3;
index f94460036c04bae393b0a000ada5db66ee093aeb..cb405c38b084fc45a1469c7cf4b6f82617d76203 100644 (file)
@@ -3,7 +3,6 @@
 /* { dg-require-effective-target avx512f } */
 
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_vrcp14sd (double *s1, double *s2, double *r)
@@ -15,12 +14,11 @@ compute_vrcp14sd (double *s1, double *s2, double *r)
 static void
 avx512f_test (void)
 {
-  union128d s1, s2, res1, res2, res3;
+  union128d s1, s2, res1;
   double res_ref[2];
 
   s1.x = _mm_set_pd (-3.0, 111.111);
   s2.x = _mm_set_pd (222.222, -2.0);
-  res2.a[0] = DEFAULT_VALUE;
 
   res1.x = _mm_rcp14_sd (s1.x, s2.x);
 
index 7aca591bfcaf5faf430491d64931b31093c27d5d..40025896a28162abefc62e337f6693bb839f345d 100644 (file)
@@ -3,7 +3,6 @@
 /* { dg-require-effective-target avx512f } */
 
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_vrcp14ss (float *s1, float *s2, float *r)
@@ -17,12 +16,11 @@ compute_vrcp14ss (float *s1, float *s2, float *r)
 static void
 avx512f_test (void)
 {
-  union128 s1, s2, res1, res2, res3;
+  union128 s1, s2, res1;
   float res_ref[4];
 
   s1.x = _mm_set_ps (-24.043, 68.346, -43.35, 546.46);
   s2.x = _mm_set_ps (222.222, 333.333, 444.444, -2.0);
-  res2.a[0] = DEFAULT_VALUE;
 
   res1.x = _mm_rcp14_ss (s1.x, s2.x);
 
index f18cdcbcab2343242ef3d2e5838f90cbc7158330..d882d2fb2edf2b7acf52accfef8d8b12ae106030 100644 (file)
@@ -31,13 +31,12 @@ CALC (double *s, double *r, int imm)
       }
 }
 
-void static
+void
 TEST (void)
 {
   int imm, i, j;
   UNION_TYPE (AVX512F_LEN, d) res1,res2,res3,s;
   double res_ref[SIZE];
-  double res_ref_mask[SIZE];
 
   MASK_TYPE mask = 6 ^ (0xff >> SIZE);
 
index 097253d754c78e635ba886da7e5fb9a19bc4e761..ca8edad8f406326ecaf4b26b015ddc1348457eb0 100644 (file)
@@ -31,7 +31,7 @@ CALC (float *s, float *r, int imm)
       }
 }
 
-void static
+void
 TEST (void)
 {
   int imm, i, j;
index 5b4e8423cadd482f23724ca6e54af1027aa84622..b96aa462790e31107d2b34c48ab42bf67e61ea7a 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_rndscalesd (double *s1, double *s2, double *r, int imm)
index 45052bc61fc0917e25e853fe2be48676dbcd5942..42dd645ab8797ab7b27b616e15714a037df699ee 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_rndscaless (float *s1, float *s2, float *r, int imm)
index 76e39cf805a2ce0df7715f79baa08fc77bf0d026..3648fcc135c100e3ff1c7d529896909bad6b3851 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s, res1, res2, res3;
index 4e6f77dd40a9a1e3888293eae0883593902165dd..2c120a2d64a23d35199d485fee43ad987b5f568d 100644 (file)
@@ -21,7 +21,7 @@ CALC (float *s, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s, res1, res2, res3;
index ef4e407f7d189e5d2083d1722c58fc9212f5c32b..dc96158b289e77342cee13e21dd86d5a5de58362 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_vrsqrt14sd (double *s1, double *s2, double *r)
@@ -16,12 +15,11 @@ compute_vrsqrt14sd (double *s1, double *s2, double *r)
 static void
 avx512f_test (void)
 {
-  union128d s1, s2, res1, res2, res3;
+  union128d s1, s2, res1;
   double res_ref[2];
 
   s1.x = _mm_set_pd (-3.0, 111.111);
   s2.x = _mm_set_pd (222.222, 4.0);
-  res2.a[0] = DEFAULT_VALUE;
 
   res1.x = _mm_rsqrt14_sd (s1.x, s2.x);
 
index b01420f7af068a747a5d033a6dedc5efedcc0503..10d8664cda8e630dba1d43c6a3ebba0aa364a9af 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 static void
 compute_vrsqrt14ss (float *s1, float *s2, float *r)
@@ -18,12 +17,11 @@ compute_vrsqrt14ss (float *s1, float *s2, float *r)
 static void
 avx512f_test (void)
 {
-  union128 s1, s2, res1, res2, res3;
+  union128 s1, s2, res1;
   float res_ref[4];
 
   s1.x = _mm_set_ps (-24.43, 68.346, -43.35, 546.46);
   s2.x = _mm_set_ps (222.222, 333.333, 444.444, 4.0);
-  res2.a[0] = DEFAULT_VALUE;
 
   res1.x = _mm_rsqrt14_ss (s1.x, s2.x);
 
index 829f7418f4f5ef6c2f20c401aae471168bb97bc1..cbfe3de91e682533033375b10c64e903dea8bf96 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <math.h>
 
+void static
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 59c32369f96f4251cab6dba44c2caa878736d701..bf4a25a3cb503f8c93ee2f9fc503ba23944b31d3 100644 (file)
@@ -10,6 +10,7 @@
 #include "avx512f-mask-type.h"
 #include <math.h>
 
+void static
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -19,7 +20,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 131fc67c032a7ed4ee210b96b9a0091625d242cc..28738f7783786bf317be8ca355656be0a7af7825 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 #define SIZE (128 / 64)
 
index 3e8f6d193455296b30c3b78bad082d8c37dcb0ae..935618438a1bd50d2f283dbde252389c0c381090 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <math.h>
 #include "avx512f-check.h"
-#include "avx512f-helper.h"
 
 #define SIZE (128 / 32)
 
index 35eabc2cfe06975fd4cb6061105001d03e127fbd..fa976260af497df5fa3d4060432c0f9bbbd6cdb8 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #include "string.h"
 
-void
+static void
 CALC (float *e, UNION_TYPE (AVX512F_LEN,) s1, UNION_TYPE (AVX512F_LEN,) s2,
       int imm)
 {
@@ -31,7 +31,7 @@ CALC (float *e, UNION_TYPE (AVX512F_LEN,) s1, UNION_TYPE (AVX512F_LEN,) s2,
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) u1, u2, u3, s1, s2;
index 9fee4201ac8a59fcc5dd1b6819cbbc36bbc35dac..9f5e093b39b37c68849caf32d96f6fd5868ff878 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #include "string.h"
 
-void
+static void
 CALC (double *e, UNION_TYPE (AVX512F_LEN, d) s1,
       UNION_TYPE (AVX512F_LEN, d) s2, int imm)
 {
@@ -31,7 +31,7 @@ CALC (double *e, UNION_TYPE (AVX512F_LEN, d) s1,
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) u1, u2, u3, s1, s2;
index 9b1603c66fb7e5e8f89beabf15857c554454d58e..b51eec7d97f5db662f0e06a0bfbcc3cb0c9a2933 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #include "string.h"
 
-void
+static void
 CALC (int *e, UNION_TYPE (AVX512F_LEN, i_d) s1,
       UNION_TYPE (AVX512F_LEN, i_d) s2, int imm)
 {
@@ -31,7 +31,7 @@ CALC (int *e, UNION_TYPE (AVX512F_LEN, i_d) s1,
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_d) u1, u2, u3, s1, s2;
index 85a591883332527dea1bd573e11d028fb3df011e..5428eaeeb6089a416958d7cd77ee34f2233a2cda 100644 (file)
@@ -10,7 +10,7 @@
 #include "avx512f-mask-type.h"
 #include "string.h"
 
-void
+static void
 CALC (long long *e, UNION_TYPE (AVX512F_LEN, i_q) s1,
       UNION_TYPE (AVX512F_LEN, i_q) s2, int imm)
 {
@@ -31,7 +31,7 @@ CALC (long long *e, UNION_TYPE (AVX512F_LEN, i_q) s1,
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, i_q) u1, u2, u3, s1, s2;
index d70228af17e1e551e763a5b71063652b009353e6..3645fd7e21a9e42a0d3eaf379d78b584a0ed49a9 100644 (file)
@@ -26,7 +26,7 @@ CALC (double *e, UNION_TYPE (AVX512F_LEN, d) s1,
 #endif
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) u1, u2, u3, s1, s2;
index ed378d1c40b2fe76cd2b5bb3b7541650813f518e..c3243812947e5a4bb790c2757908cf0b675ba4d3 100644 (file)
@@ -35,7 +35,7 @@ CALC (float *e, UNION_TYPE (AVX512F_LEN,) s1, UNION_TYPE (AVX512F_LEN,) s2,
 #endif
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) u1, u2, u3, s1, s2;
index 27b649157f1ae726369497eff8eb462bf2f7f964..b334079f91fcda78951ef37e6887d821372d3250 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s, double *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s, res1, res2, res3;
index 4fc45e3953f18631c5e9800eab3461f5a29c41a9..19fb9e9751a295562c8b69d17073bf319bb233b6 100644 (file)
@@ -21,7 +21,7 @@ CALC (float *s, float *r)
     }
 }
 
-static void
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s, res1, res2, res3;
index a462631b2c32d36df4e0355f68bd0faabb27d6ad..98291942dacfdbbca166282f4954632de817ec59 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 64)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (double *r, double *s1, double *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (double *r, double *s1, double *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 366b7e744364dba25bdafad0e663a5d01ae09c2d..921be5b996fbfddd036261754d8ad745141ca8df 100644 (file)
@@ -9,6 +9,7 @@
 #define SIZE (AVX512F_LEN / 32)
 #include "avx512f-mask-type.h"
 
+static void
 CALC (float *r, float *s1, float *s2)
 {
   int i;
@@ -18,7 +19,7 @@ CALC (float *r, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   int i, sign;
index 60898bbf22c71cf3db19bad5425ae6026bf35880..35172ef4fe3cefc0622b88d7085af7430111076a 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s1, double *s2, double *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, res1, res2, res3;
index 6047985bc705e3e919bcbd9f60dc05b5615a15c2..d77806823007bf4277e5fa8a579f71bbfea05392 100644 (file)
@@ -23,7 +23,7 @@ CALC (float *s1, float *s2, float *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, ) s1, s2, res1, res2, res3;
index 3317e4acff98d2bc225335a2de986772fe3028f8..1b9a06ff5c6585783e22ab2ae66dd28b4c08cee4 100644 (file)
@@ -21,7 +21,7 @@ CALC (double *s1, double *s2, double *r)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN, d) s1, s2, res1, res2, res3;
index 538a9fa80ec080b9c4c0520fe1ec97c06b63947e..e30c6c516a977556e23723e97ca731ed79fadfd2 100644 (file)
@@ -22,7 +22,7 @@ CALC (float *e, float *s1, float *s2)
     }
 }
 
-void static
+void
 TEST (void)
 {
   UNION_TYPE (AVX512F_LEN,) s1, s2, u1, u2, u3;
index d9b36cd30da31b635c5ee5a2c6358dd119e238d1..c753a2b6658ac02757814059ffd00a8300be4762 100644 (file)
@@ -261,8 +261,7 @@ proc check_effective_target_avx512f { } {
        __v8di
        mm512_and_epi64  (__v8di __X, __v8di __Y)
        {
-            __v8di __W;
-            return __builtin_ia32_pandq512_mask (__X, __Y, __W, -1);
+            return __builtin_ia32_pandq512_mask (__X, __Y, __X, -1);
        }
     } "-mavx512f" ]
 }
@@ -288,8 +287,7 @@ proc check_effective_target_avx512er { } {
        __v16sf
        mm512_exp2a23_ps  (__v16sf __X)
        {
-        __v16sf __W;
-           return __builtin_ia32_exp2ps_mask (__X, __W, -1, 4);
+           return __builtin_ia32_exp2ps_mask (__X, __X, -1, 4);
        }
    } "-Wno-psabi -mavx512er" ]
 }
index 98dc269983924ac51c273e077b7d72971e172398..abb792b09dc521ab0b8c07720165be7d00a0f6e4 100644 (file)
@@ -34,12 +34,25 @@ typedef union
   int a[4];
 } union128i_d;
 
+typedef union
+{
+  __m128i x;
+  unsigned int a[4];
+} union128i_ud;
+
 typedef union
 {
   __m128i x;
   long long a[2];
 } union128i_q;
 
+typedef union
+{
+  __m128i x;
+  unsigned long long a[2];
+} union128i_uq;
+
+
 typedef union
 {
   __m128d x;
@@ -87,7 +100,9 @@ CHECK_EXP (union128i_ub, unsigned char, "%d")
 CHECK_EXP (union128i_w, short, "%d")
 CHECK_EXP (union128i_uw, unsigned short, "%d")
 CHECK_EXP (union128i_d, int, "0x%x")
+CHECK_EXP (union128i_ud, unsigned int, "0x%x")
 CHECK_EXP (union128i_q, long long, "0x%llx")
+CHECK_EXP (union128i_uq, unsigned long long, "0x%llx")
 CHECK_EXP (union128d, double, "%f")
 #endif
 
@@ -117,6 +132,12 @@ CHECK_ARRAY(c, char, "0x%hhx")
 CHECK_ARRAY(s, short, "0x%hx")
 CHECK_ARRAY(i, int, "0x%x")
 CHECK_ARRAY(l, long long, "0x%llx")
+CHECK_ARRAY(uc, unsigned char, "0x%hhx")
+CHECK_ARRAY(us, unsigned short, "0x%hx")
+CHECK_ARRAY(ui, unsigned int, "0x%x")
+CHECK_ARRAY(ul, unsigned long long, "0x%llx")
+
+
 
 #define CHECK_FP_ARRAY(ARRAY, TYPE, ESP, FMT)                   \
 static int                                              \
index e1843550ecdad39d78bd035192aba025cb66dbde..6dbc3a0d9d76fbd9acd326efa3c5b73c8956fff6 100644 (file)
@@ -44,12 +44,40 @@ typedef union
   double a[4];
 } union256d;
 
+typedef union
+{
+  __m256i x;
+  unsigned char a[32];
+} union256i_ub;
+         
+typedef union
+{
+  __m256i x;
+  unsigned short a[16];
+} union256i_uw;
+                 
+typedef union
+{
+  __m256i x;
+  unsigned int a[8];
+} union256i_ud;
+  
+typedef union
+{
+  __m256i x;
+  unsigned long long a[4];
+} union256i_uq;
+                          
 CHECK_EXP (union256i_b, char, "%d")
 CHECK_EXP (union256i_w, short, "%d")
 CHECK_EXP (union256i_d, int, "0x%x")
 CHECK_EXP (union256i_q, long long, "0x%llx")
 CHECK_EXP (union256, float, "%f")
 CHECK_EXP (union256d, double, "%f")
+CHECK_EXP (union256i_ub, unsigned char, "%d")
+CHECK_EXP (union256i_uw, unsigned short, "%d")
+CHECK_EXP (union256i_ud, unsigned int, "0x%x")
+CHECK_EXP (union256i_uq, unsigned long long, "0x%llx")
 
 #define CHECK_FP_EXP(UINON_TYPE, VALUE_TYPE, ESP, FMT)         \
 static int                                                     \
index 375b15ade7964ae5b80c2e11f650e0b50b5e7975..64e085bc60262365cafd0a26ee50283787ad0de4 100644 (file)
@@ -37,12 +37,42 @@ typedef union
   double a[8];
 } union512d;
 
+typedef union
+{
+  __m512i x;
+  unsigned char a[64];
+} union512i_ub;
+          
+typedef union
+{
+ __m512i x;
+ unsigned short a[32];
+ } union512i_uw;
+                      
+typedef union
+{
+ __m512i x;
+ unsigned int a[16];
+} union512i_ud;
+                  
+typedef union
+{
+ __m512i x;
+ unsigned long long a[8];
+} union512i_uq;
+                                    
+
 CHECK_EXP (union512i_b, char, "%d")
 CHECK_EXP (union512i_w, short, "%d")
 CHECK_EXP (union512i_d, int, "0x%x")
 CHECK_EXP (union512i_q, long long, "0x%llx")
 CHECK_EXP (union512, float, "%f")
 CHECK_EXP (union512d, double, "%f")
+CHECK_EXP (union512i_ub, unsigned char, "%d")
+CHECK_EXP (union512i_uw, unsigned short, "%d")
+CHECK_EXP (union512i_ud, unsigned int, "0x%x")
+CHECK_EXP (union512i_uq, unsigned long long, "0x%llx")
+     
 
 CHECK_FP_EXP (union512, float, ESP_FLOAT, "%f")
 CHECK_FP_EXP (union512d, double, ESP_DOUBLE, "%f")