mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[X86] Cleanup some of the check-prefixes in the vector-lzcnt tests.
Remove an unneeded prefix from the 32-bit command line. Make all the 64-bit triples match. Replace ALL with X64 and remove it from the 32-bit test. llvm-svn: 303019
This commit is contained in:
parent
2e2de05eae
commit
7bf8b47c7e
@ -1,15 +1,15 @@
|
||||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+ssse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSSE3
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE41
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX1
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX2
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd -mattr=+avx512vl | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512VLCD
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512CD
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefix=X64 --check-prefix=SSE --check-prefix=SSE2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse3 | FileCheck %s --check-prefix=X64 --check-prefix=SSE --check-prefix=SSE3
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+ssse3 | FileCheck %s --check-prefix=X64 --check-prefix=SSE --check-prefix=SSSE3
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 | FileCheck %s --check-prefix=X64 --check-prefix=SSE --check-prefix=SSE41
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefix=X64 --check-prefix=AVX --check-prefix=AVX1
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=X64 --check-prefix=AVX --check-prefix=AVX2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=knl -mattr=+avx512cd -mattr=+avx512vl | FileCheck %s --check-prefix=X64 --check-prefix=AVX512 --check-prefix=AVX512VLCD
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=knl -mattr=+avx512cd | FileCheck %s --check-prefix=X64 --check-prefix=AVX512 --check-prefix=AVX512CD
|
||||
;
|
||||
; Just one 32-bit run to make sure we do reasonable things for i64 lzcnt.
|
||||
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse4.1 | FileCheck %s --check-prefix=ALL --check-prefix=X32-SSE --check-prefix=X32-SSE41
|
||||
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse4.1 | FileCheck %s --check-prefix=X32-SSE
|
||||
|
||||
define <2 x i64> @testv2i64(<2 x i64> %in) nounwind {
|
||||
; SSE2-LABEL: testv2i64:
|
||||
@ -195,15 +195,15 @@ define <2 x i64> @testv2i64(<2 x i64> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv2i64:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntq %xmm0, %xmm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv2i64:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntq %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-SSE-LABEL: testv2i64:
|
||||
@ -430,15 +430,15 @@ define <2 x i64> @testv2i64u(<2 x i64> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv2i64u:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntq %xmm0, %xmm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv2i64u:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntq %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-SSE-LABEL: testv2i64u:
|
||||
@ -652,15 +652,15 @@ define <4 x i32> @testv4i32(<4 x i32> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv4i32:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntd %xmm0, %xmm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv4i32:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-SSE-LABEL: testv4i32:
|
||||
@ -868,15 +868,15 @@ define <4 x i32> @testv4i32u(<4 x i32> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv4i32u:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntd %xmm0, %xmm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv4i32u:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %XMM0<def> %XMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-SSE-LABEL: testv4i32u:
|
||||
@ -1055,7 +1055,7 @@ define <8 x i16> @testv8i16(<8 x i16> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv8i16:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vpmovzxwd {{.*#+}} ymm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
|
||||
; AVX512VLCD-NEXT: vplzcntd %ymm0, %ymm0
|
||||
; AVX512VLCD-NEXT: vpmovdw %ymm0, %xmm0
|
||||
@ -1063,7 +1063,7 @@ define <8 x i16> @testv8i16(<8 x i16> %in) nounwind {
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv8i16:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: vpmovzxwd {{.*#+}} ymm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
|
||||
; AVX512CD-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: vpmovdw %zmm0, %ymm0
|
||||
@ -1239,7 +1239,7 @@ define <8 x i16> @testv8i16u(<8 x i16> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv8i16u:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vpmovzxwd {{.*#+}} ymm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
|
||||
; AVX512VLCD-NEXT: vplzcntd %ymm0, %ymm0
|
||||
; AVX512VLCD-NEXT: vpmovdw %ymm0, %xmm0
|
||||
@ -1247,7 +1247,7 @@ define <8 x i16> @testv8i16u(<8 x i16> %in) nounwind {
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv8i16u:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: vpmovzxwd {{.*#+}} ymm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
|
||||
; AVX512CD-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: vpmovdw %zmm0, %ymm0
|
||||
@ -1400,7 +1400,7 @@ define <16 x i8> @testv16i8(<16 x i8> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: testv16i8:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vpmovzxbd {{.*#+}} zmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero,xmm0[4],zero,zero,zero,xmm0[5],zero,zero,zero,xmm0[6],zero,zero,zero,xmm0[7],zero,zero,zero,xmm0[8],zero,zero,zero,xmm0[9],zero,zero,zero,xmm0[10],zero,zero,zero,xmm0[11],zero,zero,zero,xmm0[12],zero,zero,zero,xmm0[13],zero,zero,zero,xmm0[14],zero,zero,zero,xmm0[15],zero,zero,zero
|
||||
; AVX512-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512-NEXT: vpmovdb %zmm0, %xmm0
|
||||
@ -1547,7 +1547,7 @@ define <16 x i8> @testv16i8u(<16 x i8> %in) nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: testv16i8u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vpmovzxbd {{.*#+}} zmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero,xmm0[4],zero,zero,zero,xmm0[5],zero,zero,zero,xmm0[6],zero,zero,zero,xmm0[7],zero,zero,zero,xmm0[8],zero,zero,zero,xmm0[9],zero,zero,zero,xmm0[10],zero,zero,zero,xmm0[11],zero,zero,zero,xmm0[12],zero,zero,zero,xmm0[13],zero,zero,zero,xmm0[14],zero,zero,zero,xmm0[15],zero,zero,zero
|
||||
; AVX512-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512-NEXT: vpmovdb %zmm0, %xmm0
|
||||
@ -1589,7 +1589,7 @@ define <2 x i64> @foldv2i64() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv2i64:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: movl $55, %eax
|
||||
; AVX512-NEXT: vmovq %rax, %xmm0
|
||||
; AVX512-NEXT: retq
|
||||
@ -1617,7 +1617,7 @@ define <2 x i64> @foldv2i64u() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv2i64u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: movl $55, %eax
|
||||
; AVX512-NEXT: vmovq %rax, %xmm0
|
||||
; AVX512-NEXT: retq
|
||||
@ -1643,7 +1643,7 @@ define <4 x i32> @foldv4i32() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv4i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} xmm0 = [23,0,32,24]
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
@ -1667,7 +1667,7 @@ define <4 x i32> @foldv4i32u() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv4i32u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} xmm0 = [23,0,32,24]
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
@ -1691,7 +1691,7 @@ define <8 x i16> @foldv8i16() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv8i16:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} xmm0 = [7,0,16,8,16,13,11,9]
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
@ -1715,7 +1715,7 @@ define <8 x i16> @foldv8i16u() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv8i16u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} xmm0 = [7,0,16,8,16,13,11,9]
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
@ -1739,7 +1739,7 @@ define <16 x i8> @foldv16i8() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv16i8:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} xmm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2]
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
@ -1763,7 +1763,7 @@ define <16 x i8> @foldv16i8u() nounwind {
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv16i8u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} xmm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2]
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
|
@ -1,11 +1,11 @@
|
||||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX1
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX2
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd -mattr=+avx512vl | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512VLCD
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512CD
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefix=X64 --check-prefix=AVX --check-prefix=AVX1
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=X64 --check-prefix=AVX --check-prefix=AVX2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=knl -mattr=+avx512cd -mattr=+avx512vl | FileCheck %s --check-prefix=X64 --check-prefix=AVX512 --check-prefix=AVX512VLCD
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=knl -mattr=+avx512cd | FileCheck %s --check-prefix=X64 --check-prefix=AVX512 --check-prefix=AVX512CD
|
||||
;
|
||||
; Just one 32-bit run to make sure we do reasonable things for i64 lzcnt.
|
||||
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=X32-AVX --check-prefix=X32-AVX2
|
||||
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=X32-AVX
|
||||
|
||||
define <4 x i64> @testv4i64(<4 x i64> %in) nounwind {
|
||||
; AVX1-LABEL: testv4i64:
|
||||
@ -94,15 +94,15 @@ define <4 x i64> @testv4i64(<4 x i64> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv4i64:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntq %ymm0, %ymm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv4i64:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntq %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: testv4i64:
|
||||
@ -226,15 +226,15 @@ define <4 x i64> @testv4i64u(<4 x i64> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv4i64u:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntq %ymm0, %ymm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv4i64u:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntq %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: testv4i64u:
|
||||
@ -343,15 +343,15 @@ define <8 x i32> @testv8i32(<8 x i32> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv8i32:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntd %ymm0, %ymm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv8i32:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: testv8i32:
|
||||
@ -455,15 +455,15 @@ define <8 x i32> @testv8i32u(<8 x i32> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512VLCD-LABEL: testv8i32u:
|
||||
; AVX512VLCD: ## BB#0:
|
||||
; AVX512VLCD: # BB#0:
|
||||
; AVX512VLCD-NEXT: vplzcntd %ymm0, %ymm0
|
||||
; AVX512VLCD-NEXT: retq
|
||||
;
|
||||
; AVX512CD-LABEL: testv8i32u:
|
||||
; AVX512CD: ## BB#0:
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD: # BB#0:
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<def>
|
||||
; AVX512CD-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512CD-NEXT: ## kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: # kill: %YMM0<def> %YMM0<kill> %ZMM0<kill>
|
||||
; AVX512CD-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: testv8i32u:
|
||||
@ -552,7 +552,7 @@ define <16 x i16> @testv16i16(<16 x i16> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: testv16i16:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vpmovzxwd {{.*#+}} zmm0 = ymm0[0],zero,ymm0[1],zero,ymm0[2],zero,ymm0[3],zero,ymm0[4],zero,ymm0[5],zero,ymm0[6],zero,ymm0[7],zero,ymm0[8],zero,ymm0[9],zero,ymm0[10],zero,ymm0[11],zero,ymm0[12],zero,ymm0[13],zero,ymm0[14],zero,ymm0[15],zero
|
||||
; AVX512-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512-NEXT: vpmovdw %zmm0, %ymm0
|
||||
@ -639,7 +639,7 @@ define <16 x i16> @testv16i16u(<16 x i16> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: testv16i16u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vpmovzxwd {{.*#+}} zmm0 = ymm0[0],zero,ymm0[1],zero,ymm0[2],zero,ymm0[3],zero,ymm0[4],zero,ymm0[5],zero,ymm0[6],zero,ymm0[7],zero,ymm0[8],zero,ymm0[9],zero,ymm0[10],zero,ymm0[11],zero,ymm0[12],zero,ymm0[13],zero,ymm0[14],zero,ymm0[15],zero
|
||||
; AVX512-NEXT: vplzcntd %zmm0, %zmm0
|
||||
; AVX512-NEXT: vpmovdw %zmm0, %ymm0
|
||||
@ -711,7 +711,7 @@ define <32 x i8> @testv32i8(<32 x i8> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: testv32i8:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vextracti128 $1, %ymm0, %xmm1
|
||||
; AVX512-NEXT: vpmovzxbd {{.*#+}} zmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero,xmm1[4],zero,zero,zero,xmm1[5],zero,zero,zero,xmm1[6],zero,zero,zero,xmm1[7],zero,zero,zero,xmm1[8],zero,zero,zero,xmm1[9],zero,zero,zero,xmm1[10],zero,zero,zero,xmm1[11],zero,zero,zero,xmm1[12],zero,zero,zero,xmm1[13],zero,zero,zero,xmm1[14],zero,zero,zero,xmm1[15],zero,zero,zero
|
||||
; AVX512-NEXT: vplzcntd %zmm1, %zmm1
|
||||
@ -785,7 +785,7 @@ define <32 x i8> @testv32i8u(<32 x i8> %in) nounwind {
|
||||
; AVX2-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: testv32i8u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512: # BB#0:
|
||||
; AVX512-NEXT: vextracti128 $1, %ymm0, %xmm1
|
||||
; AVX512-NEXT: vpmovzxbd {{.*#+}} zmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero,xmm1[4],zero,zero,zero,xmm1[5],zero,zero,zero,xmm1[6],zero,zero,zero,xmm1[7],zero,zero,zero,xmm1[8],zero,zero,zero,xmm1[9],zero,zero,zero,xmm1[10],zero,zero,zero,xmm1[11],zero,zero,zero,xmm1[12],zero,zero,zero,xmm1[13],zero,zero,zero,xmm1[14],zero,zero,zero,xmm1[15],zero,zero,zero
|
||||
; AVX512-NEXT: vplzcntd %zmm1, %zmm1
|
||||
@ -818,15 +818,10 @@ define <32 x i8> @testv32i8u(<32 x i8> %in) nounwind {
|
||||
}
|
||||
|
||||
define <4 x i64> @foldv4i64() nounwind {
|
||||
; AVX-LABEL: foldv4i64:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [55,0,64,56]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv4i64:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [55,0,64,56]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv4i64:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [55,0,64,56]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv4i64:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -837,15 +832,10 @@ define <4 x i64> @foldv4i64() nounwind {
|
||||
}
|
||||
|
||||
define <4 x i64> @foldv4i64u() nounwind {
|
||||
; AVX-LABEL: foldv4i64u:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [55,0,64,56]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv4i64u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [55,0,64,56]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv4i64u:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [55,0,64,56]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv4i64u:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -856,15 +846,10 @@ define <4 x i64> @foldv4i64u() nounwind {
|
||||
}
|
||||
|
||||
define <8 x i32> @foldv8i32() nounwind {
|
||||
; AVX-LABEL: foldv8i32:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [23,0,32,24,0,29,27,25]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv8i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [23,0,32,24,0,29,27,25]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv8i32:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [23,0,32,24,0,29,27,25]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv8i32:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -875,15 +860,10 @@ define <8 x i32> @foldv8i32() nounwind {
|
||||
}
|
||||
|
||||
define <8 x i32> @foldv8i32u() nounwind {
|
||||
; AVX-LABEL: foldv8i32u:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [23,0,32,24,0,29,27,25]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv8i32u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [23,0,32,24,0,29,27,25]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv8i32u:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [23,0,32,24,0,29,27,25]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv8i32u:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -894,15 +874,10 @@ define <8 x i32> @foldv8i32u() nounwind {
|
||||
}
|
||||
|
||||
define <16 x i16> @foldv16i16() nounwind {
|
||||
; AVX-LABEL: foldv16i16:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [7,0,16,8,16,13,11,9,0,8,15,14,13,12,11,10]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv16i16:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [7,0,16,8,16,13,11,9,0,8,15,14,13,12,11,10]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv16i16:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [7,0,16,8,16,13,11,9,0,8,15,14,13,12,11,10]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv16i16:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -913,15 +888,10 @@ define <16 x i16> @foldv16i16() nounwind {
|
||||
}
|
||||
|
||||
define <16 x i16> @foldv16i16u() nounwind {
|
||||
; AVX-LABEL: foldv16i16u:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [7,0,16,8,16,13,11,9,0,8,15,14,13,12,11,10]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv16i16u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [7,0,16,8,16,13,11,9,0,8,15,14,13,12,11,10]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv16i16u:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [7,0,16,8,16,13,11,9,0,8,15,14,13,12,11,10]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv16i16u:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -932,15 +902,10 @@ define <16 x i16> @foldv16i16u() nounwind {
|
||||
}
|
||||
|
||||
define <32 x i8> @foldv32i8() nounwind {
|
||||
; AVX-LABEL: foldv32i8:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2,1,0,8,8,0,0,0,0,0,0,0,0,6,5,5,1]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv32i8:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2,1,0,8,8,0,0,0,0,0,0,0,0,6,5,5,1]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv32i8:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2,1,0,8,8,0,0,0,0,0,0,0,0,6,5,5,1]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv32i8:
|
||||
; X32-AVX: # BB#0:
|
||||
@ -951,15 +916,10 @@ define <32 x i8> @foldv32i8() nounwind {
|
||||
}
|
||||
|
||||
define <32 x i8> @foldv32i8u() nounwind {
|
||||
; AVX-LABEL: foldv32i8u:
|
||||
; AVX: # BB#0:
|
||||
; AVX-NEXT: vmovaps {{.*#+}} ymm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2,1,0,8,8,0,0,0,0,0,0,0,0,6,5,5,1]
|
||||
; AVX-NEXT: retq
|
||||
;
|
||||
; AVX512-LABEL: foldv32i8u:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vmovaps {{.*#+}} ymm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2,1,0,8,8,0,0,0,0,0,0,0,0,6,5,5,1]
|
||||
; AVX512-NEXT: retq
|
||||
; X64-LABEL: foldv32i8u:
|
||||
; X64: # BB#0:
|
||||
; X64-NEXT: vmovaps {{.*#+}} ymm0 = [8,0,8,0,8,5,3,1,0,0,7,6,5,4,3,2,1,0,8,8,0,0,0,0,0,0,0,0,6,5,5,1]
|
||||
; X64-NEXT: retq
|
||||
;
|
||||
; X32-AVX-LABEL: foldv32i8u:
|
||||
; X32-AVX: # BB#0:
|
||||
|
Loading…
Reference in New Issue
Block a user