aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll')
-rw-r--r--test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll24
1 files changed, 13 insertions, 11 deletions
diff --git a/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll b/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll
index cac396f8b774..09a823e4b569 100644
--- a/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll
+++ b/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll
@@ -1,25 +1,27 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -fast-isel -mtriple=x86_64-unknown-unknown -mattr=+sse4.2 | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -fast-isel -mtriple=x86_64-unknown-unknown -mattr=+sse4.2 | FileCheck %s --check-prefixes=CHECK,SSE
+; RUN: llc < %s -fast-isel -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefixes=CHECK,AVX,AVX1
+; RUN: llc < %s -fast-isel -mtriple=x86_64-unknown-unknown -mattr=+avx512f,+avx512bw,+avx512dq,+avx512vl | FileCheck %s --check-prefixes=CHECK,AVX,AVX512
; NOTE: This should use IR equivalent to what is generated by clang/test/CodeGen/sse42-builtins.c
define i64 @test_mm_crc64_u8(i64 %a0, i8 %a1) nounwind{
-; X64-LABEL: test_mm_crc64_u8:
-; X64: # %bb.0:
-; X64-NEXT: crc32b %sil, %edi
-; X64-NEXT: movl %edi, %eax
-; X64-NEXT: retq
+; CHECK-LABEL: test_mm_crc64_u8:
+; CHECK: # %bb.0:
+; CHECK-NEXT: crc32b %sil, %edi
+; CHECK-NEXT: movl %edi, %eax
+; CHECK-NEXT: retq
%res = call i64 @llvm.x86.sse42.crc32.64.8(i64 %a0, i8 %a1)
ret i64 %res
}
declare i64 @llvm.x86.sse42.crc32.64.8(i64, i8) nounwind readnone
define i64 @test_mm_crc64_u64(i64 %a0, i64 %a1) nounwind{
-; X64-LABEL: test_mm_crc64_u64:
-; X64: # %bb.0:
-; X64-NEXT: crc32q %rsi, %rdi
-; X64-NEXT: movq %rdi, %rax
-; X64-NEXT: retq
+; CHECK-LABEL: test_mm_crc64_u64:
+; CHECK: # %bb.0:
+; CHECK-NEXT: crc32q %rsi, %rdi
+; CHECK-NEXT: movq %rdi, %rax
+; CHECK-NEXT: retq
%res = call i64 @llvm.x86.sse42.crc32.64.64(i64 %a0, i64 %a1)
ret i64 %res
}