[MLIR][TOSA] Update CustomOp input and output names (#118408)
[llvm-project.git] / clang / test / CodeGen / X86 / mmx-inline-asm.c
blob17fce1a48755e67134eaf936a80d1421da6ab649
1 // RUN: %clang_cc1 -emit-llvm -triple i386 -target-feature +mmx -target-feature +sse2 %s -o - | FileCheck %s
2 #include <mmintrin.h>
4 // CHECK: { <1 x i64>, <1 x i64>, <1 x i64>, <1 x i64>, <1 x i64>, <1 x i64>, <1 x i64> }
6 void foo(long long fill) {
7 __m64 vfill = _mm_cvtsi64_m64(fill);
8 __m64 v1, v2, v3, v4, v5, v6, v7;
10 __asm__ __volatile__ (
11 "\tmovq %7, %0\n"
12 "\tmovq %7, %1\n"
13 "\tmovq %7, %2\n"
14 "\tmovq %7, %3\n"
15 "\tmovq %7, %4\n"
16 "\tmovq %7, %5\n"
17 "\tmovq %7, %6"
18 : "=&y" (v1), "=&y" (v2), "=&y" (v3),
19 "=&y" (v4), "=&y" (v5), "=&y" (v6), "=y" (v7)
20 : "y" (vfill));