brintos

brintos / llvm-project-archived public Read only

0
0
Text · 712 B · cf27e30 Raw
18 lines · c
1// RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding -triple=x86_64-unknown-unknown -target-feature +avx10.2 \2// RUN: -emit-llvm -o - -Wall -Werror -pedantic -Wno-gnu-statement-expression | FileCheck %s3 4#include <immintrin.h>5#include <stddef.h>6 7__m128i test_mm_move_epi32(__m128i A) {8  // CHECK-LABEL: test_mm_move_epi329  // CHECK: shufflevector <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> <i32 0, i32 4, i32 4, i32 4>10  return _mm_move_epi32(A);11}12 13__m128i test_mm_move_epi16(__m128i A) {14  // CHECK-LABEL: test_mm_move_epi1615  // CHECK: shufflevector <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i32> <i32 0, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8>16  return _mm_move_epi16(A);17}18