+++ /dev/null
-/* { dg-do compile { target { ! ia32 } } } */
-/* { dg-options "-Ofast -mavx10.1" } */
-
-void
-f1 (float x)
-{
- register float a __asm ("xmm16");
- a = x;
- asm volatile ("" : "+v" (a));
- a = __builtin_fabsf (a);
- asm volatile ("" : "+v" (a));
-}
-/*
-void
-f2 (float x, float y)
-{
- register float a __asm ("xmm16"), b __asm ("xmm17");
- a = x;
- b = y;
- asm volatile ("" : "+v" (a), "+v" (b));
- a = __builtin_copysignf (a, b);
- asm volatile ("" : "+v" (a));
-}
-*/
-void
-f3 (float x)
-{
- register float a __asm ("xmm16");
- a = x;
- asm volatile ("" : "+v" (a));
- a = -a;
- asm volatile ("" : "+v" (a));
-}
-
-void
-f4 (double x)
-{
- register double a __asm ("xmm18");
- a = x;
- asm volatile ("" : "+v" (a));
- a = __builtin_fabs (a);
- asm volatile ("" : "+v" (a));
-}
-/*
-void
-f5 (double x, double y)
-{
- register double a __asm ("xmm18"), b __asm ("xmm19");
- a = x;
- b = y;
- asm volatile ("" : "+v" (a), "+v" (b));
- a = __builtin_copysign (a, b);
- asm volatile ("" : "+v" (a));
-}
-*/
-void
-f6 (double x)
-{
- register double a __asm ("xmm18");
- a = x;
- asm volatile ("" : "+v" (a));
- a = -a;
- asm volatile ("" : "+v" (a));
-}
-
-/* { dg-final { scan-assembler "vandps\[^\n\r\]*xmm16" } } */
-/* { dg-final { scan-assembler "vxorps\[^\n\r\]*xmm16" } } */
-/* { dg-final { scan-assembler "vandpd\[^\n\r\]*xmm18" } } */
-/* { dg-final { scan-assembler "vxorpd\[^\n\r\]*xmm18" } } */
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vandpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vandpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vandpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vandpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256d y;
-volatile __m128d x;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- y = _mm256_mask_and_pd (y, m, y, y);
- y = _mm256_maskz_and_pd (m, y, y);
- x = _mm_mask_and_pd (x, m, x, x);
- x = _mm_maskz_and_pd (m, x, x);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vandps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vandps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vandps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vandps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256 y;
-volatile __m128 x;
-volatile __mmask8 m2;
-
-void extern
-avx10_1_test (void)
-{
- y = _mm256_mask_and_ps (y, m2, y, y);
- y = _mm256_maskz_and_ps (m2, y, y);
- x = _mm_mask_and_ps (x, m2, x, x);
- x = _mm_maskz_and_ps (m2, x, x);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vcvtps2qq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2qq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2qq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2qq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2qq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2qq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i x1;
-volatile __m128i x2;
-volatile __m256 z1;
-volatile __m128 z2;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- x1 = _mm256_cvtps_epi64 (z2);
- x1 = _mm256_mask_cvtps_epi64 (x1, m, z2);
- x1 = _mm256_maskz_cvtps_epi64 (m, z2);
- x2 = _mm_cvtps_epi64 (z2);
- x2 = _mm_mask_cvtps_epi64 (x2, m, z2);
- x2 = _mm_maskz_cvtps_epi64 (m, z2);
-}
-
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vcvtps2uqq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2uqq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2uqq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2uqq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2uqq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtps2uqq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i x1;
-volatile __m128i x2;
-volatile __m256 z1;
-volatile __m128 z2;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- x1 = _mm256_cvtps_epu64 (z2);
- x1 = _mm256_mask_cvtps_epu64 (x1, m, z2);
- x1 = _mm256_maskz_cvtps_epu64 (m, z2);
- x2 = _mm_cvtps_epu64 (z2);
- x2 = _mm_mask_cvtps_epu64 (x2, m, z2);
- x2 = _mm_maskz_cvtps_epu64 (m, z2);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vcvtqq2pd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2pd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2pd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2pd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2pd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2pd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i s1;
-volatile __m128i s2;
-volatile __m256d res1;
-volatile __m128d res2;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- res1 = _mm256_cvtepi64_pd (s1);
- res1 = _mm256_mask_cvtepi64_pd (res1, m, s1);
- res1 = _mm256_maskz_cvtepi64_pd (m, s1);
- res2 = _mm_cvtepi64_pd (s2);
- res2 = _mm_mask_cvtepi64_pd (res2, m, s2);
- res2 = _mm_maskz_cvtepi64_pd (m, s2);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vcvtqq2psx\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2psx\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2psx\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2psy\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2psy\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtqq2psy\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i s1;
-volatile __m128i s2;
-volatile __m128 res;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- res = _mm256_cvtepi64_ps (s1);
- res = _mm256_mask_cvtepi64_ps (res, m, s1);
- res = _mm256_maskz_cvtepi64_ps (m, s1);
- res = _mm_cvtepi64_ps (s2);
- res = _mm_mask_cvtepi64_ps (res, m, s2);
- res = _mm_maskz_cvtepi64_ps (m, s2);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vcvtuqq2pd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2pd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2pd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2pd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2pd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2pd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i s1;
-volatile __m128i s2;
-volatile __m256d res1;
-volatile __m128d res2;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- res1 = _mm256_cvtepu64_pd (s1);
- res1 = _mm256_mask_cvtepu64_pd (res1, m, s1);
- res1 = _mm256_maskz_cvtepu64_pd (m, s1);
- res2 = _mm_cvtepu64_pd (s2);
- res2 = _mm_mask_cvtepu64_pd (res2, m, s2);
- res2 = _mm_maskz_cvtepu64_pd (m, s2);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vcvtuqq2psx\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2psx\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2psx\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2psy\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2psy\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtuqq2psy\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i s1;
-volatile __m128i s2;
-volatile __m256 res1;
-volatile __m128 res2;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- res2 = _mm256_cvtepu64_ps (s1);
- res2 = _mm256_mask_cvtepu64_ps (res2, m, s1);
- res2 = _mm256_maskz_cvtepu64_ps (m, s1);
- res2 = _mm_cvtepu64_ps (s2);
- res2 = _mm_mask_cvtepu64_ps (res2, m, s2);
- res2 = _mm_maskz_cvtepu64_ps (m, s2);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vorpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vorpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vorpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vorpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256d y;
-volatile __m128d x;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- y = _mm256_mask_or_pd (y, m, y, y);
- y = _mm256_maskz_or_pd (m, y, y);
-
- x = _mm_mask_or_pd (x, m, x, x);
- x = _mm_maskz_or_pd (m, x, x);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vorps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vorps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vorps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vorps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256 y;
-volatile __m128 x;
-volatile __mmask8 n;
-
-void extern
-avx10_1_test (void)
-{
- y = _mm256_mask_or_ps (y, n, y, y);
- y = _mm256_maskz_or_ps (n, y, y);
-
- x = _mm_mask_or_ps (x, n, x, x);
- x = _mm_maskz_or_ps (n, x, x);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vpmovd2m\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vpmovd2m\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i x256;
-volatile __m128i x128;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- m = _mm_movepi32_mask (x128);
- m = _mm256_movepi32_mask (x256);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vpmovm2d\[ \\t\]+\[^\{\n\]*%k\[0-7\]\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vpmovm2d\[ \\t\]+\[^\{\n\]*%k\[0-7\]\[^\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i x256;
-volatile __m128i x128;
-volatile __mmask8 m8;
-
-void extern
-avx10_1_test (void)
-{
- x128 = _mm_movm_epi32 (m8);
- x256 = _mm256_movm_epi32 (m8);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vpmovm2q\[ \\t\]+\[^\{\n\]*%k\[0-7\]\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vpmovm2q\[ \\t\]+\[^\{\n\]*%k\[0-7\]\[^\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i x256;
-volatile __m128i x128;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- x128 = _mm_movm_epi64 (m);
- x256 = _mm256_movm_epi64 (m);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vpmovq2m\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vpmovq2m\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256i x256;
-volatile __m128i x128;
-volatile __mmask8 m;
-
-void extern
-avx10_1_test (void)
-{
- m = _mm_movepi64_mask (x128);
- m = _mm256_movepi64_mask (x256);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vxorpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vxorpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vxorpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vxorpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256d y;
-volatile __m128d x;
-volatile __mmask8 m;
-
-
-void extern
-avx10_1_test (void)
-{
- y = _mm256_mask_xor_pd (y, m, y, y);
- y = _mm256_maskz_xor_pd (m, y, y);
-
- x = _mm_mask_xor_pd (x, m, x, x);
- x = _mm_maskz_xor_pd (m, x, x);
-}
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-mavx10.1 -O2" } */
-/* { dg-final { scan-assembler-times "vxorps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vxorps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vxorps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vxorps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
-
-#include <immintrin.h>
-
-volatile __m256 y;
-volatile __m128 x;
-volatile __mmask8 n;
-
-void extern
-avx10_1_test (void)
-{
- y = _mm256_mask_xor_ps (y, n, y, y);
- y = _mm256_maskz_xor_ps (n, y, y);
-
- x = _mm_mask_xor_ps (x, n, x, x);
- x = _mm_maskz_xor_ps (n, x, x);
-}