clang/test/CodeGen/X86/amx_tf32.c
raw| 1 | // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +amx-tile -target-feature +amx-tf32 \ |
| 2 | // RUN: -emit-llvm -o - -Wall -Werror -pedantic -Wno-gnu-statement-expression | FileCheck %s |
| 3 | |
| 4 | #include <immintrin.h> |
| 5 | #include <stddef.h> |
| 6 | |
| 7 | void test_tile_mmultf32ps(void) { |
| 8 | // CHECK-LABEL: @test_tile_mmultf32ps( |
| 9 | // CHECK: call void @llvm.x86.tmmultf32ps(i8 1, i8 2, i8 3) |
| 10 | _tile_mmultf32ps(1, 2, 3); |
| 11 | } |
| 12 |