[AArch64] Add fpext and fpround costs (#119292)
[llvm-project.git] / clang / test / CodeGen / amx_fp16.c
blobe22f853a7e6af37f026fc9659ebf7e3f71456278
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 %s
5 #include <immintrin.h>
6 #include <stddef.h>
7 void test_tile_dpfp16ps(void) {
8 // CHECK-LABEL: @test_tile_dpfp16ps
9 // CHECK: call void @llvm.x86.tdpfp16ps(i8 1, i8 2, i8 3)
10 _tile_dpfp16ps(1, 2, 3);