blob: a5478b0395501a7693a57c64c0734eb7c3fa3be2 [file] [log] [blame]
// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +amx-tile -target-feature +amx-complex \
// RUN: -emit-llvm -o - -Wall -Werror -pedantic -Wno-gnu-statement-expression | FileCheck %s
#include <immintrin.h>
#include <stddef.h>
void test_tile_cmmimfp16ps(void) {
// CHECK-LABEL: @test_tile_cmmimfp16ps
// CHECK: call void @llvm.x86.tcmmimfp16ps(i8 1, i8 2, i8 3)
_tile_cmmimfp16ps(1, 2, 3);
}
void test_tile_cmmrlfp16ps(void) {
// CHECK-LABEL: @test_tile_cmmrlfp16ps
// CHECK: call void @llvm.x86.tcmmrlfp16ps(i8 1, i8 2, i8 3)
_tile_cmmrlfp16ps(1, 2, 3);
}