12 lines · c
1// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \2// RUN: -target-feature +amx-tile -target-feature +amx-int8 -target-feature +amx-bf16 -target-feature +amx-fp16 -emit-llvm -o - -Wall -Werror -pedantic \3// RUN: -Wno-gnu-statement-expression| FileCheck %s4 5#include <immintrin.h>6#include <stddef.h>7void test_tile_dpfp16ps(void) {8 // CHECK-LABEL: @test_tile_dpfp16ps9 // CHECK: call void @llvm.x86.tdpfp16ps(i8 1, i8 2, i8 3)10 _tile_dpfp16ps(1, 2, 3);11}12