/external/llvm-project/llvm/test/CodeGen/X86/ |
D | avx512-extract-subvector.ll | 2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX %s 6 ; SKX-LABEL: extract_subvector128_v32i16: 7 ; SKX: ## %bb.0: 8 ; SKX-NEXT: vextractf32x4 $2, %zmm0, %xmm0 9 ; SKX-NEXT: vzeroupper 10 ; SKX-NEXT: retq 16 ; SKX-LABEL: extract_subvector128_v32i16_first_element: 17 ; SKX: ## %bb.0: 18 ; SKX-NEXT: ## kill: def $xmm0 killed $xmm0 killed $zmm0 19 ; SKX-NEXT: vzeroupper [all …]
|
D | x86-interrupt_cc.ll | 3 …riple=x86_64-apple-macosx -show-mc-encoding -mcpu=skx < %s | FileCheck %s -check-prefix=CHECK64-SKX 5 …mtriple=i386-apple-macosx -show-mc-encoding -mcpu=skx < %s | FileCheck %s -check-prefix=CHECK32-SKX 258 ; CHECK64-SKX-LABEL: foo: 259 ; CHECK64-SKX: ## %bb.0: 260 ; CHECK64-SKX-NEXT: pushq %rax ## encoding: [0x50] 261 ; CHECK64-SKX-NEXT: .cfi_def_cfa_offset 16 262 ; CHECK64-SKX-NEXT: pushq %r11 ## encoding: [0x41,0x53] 263 ; CHECK64-SKX-NEXT: .cfi_def_cfa_offset 24 264 ; CHECK64-SKX-NEXT: pushq %r10 ## encoding: [0x41,0x52] 265 ; CHECK64-SKX-NEXT: .cfi_def_cfa_offset 32 [all …]
|
D | pr33349.ll | 3 ; RUN: llc < %s -mattr=+avx512f,+avx512vl,+avx512bw,+avx512dq | FileCheck %s --check-prefix=SKX 45 ; SKX-LABEL: test: 46 ; SKX: # %bb.0: # %bb 47 ; SKX-NEXT: vpslld $31, %xmm0, %xmm0 48 ; SKX-NEXT: vpmovd2m %xmm0, %k0 49 ; SKX-NEXT: kshiftrb $1, %k0, %k1 50 ; SKX-NEXT: kmovd %k1, %eax 51 ; SKX-NEXT: kshiftrb $2, %k0, %k1 52 ; SKX-NEXT: kshiftrb $1, %k1, %k2 53 ; SKX-NEXT: kmovd %k1, %ecx [all …]
|
D | avx512-insert-extract_i1.ll | 2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX %s 7 ; SKX-LABEL: test_extractelement_varible_v64i1: 8 ; SKX: ## %bb.0: 9 ; SKX-NEXT: pushq %rbp 10 ; SKX-NEXT: .cfi_def_cfa_offset 16 11 ; SKX-NEXT: .cfi_offset %rbp, -16 12 ; SKX-NEXT: movq %rsp, %rbp 13 ; SKX-NEXT: .cfi_def_cfa_register %rbp 14 ; SKX-NEXT: andq $-64, %rsp 15 ; SKX-NEXT: subq $128, %rsp [all …]
|
D | avx512-insert-extract.ll | 3 …pple-darwin -mattr=+avx512f,+avx512bw,+avx512vl,+avx512dq | FileCheck --check-prefixes=CHECK,SKX %s 4 …-mattr=+avx512f,+avx512bw,+avx512vl,+avx512dq,+avx512vbmi | FileCheck --check-prefixes=CHECK,SKX %s 171 ; SKX-LABEL: test11: 172 ; SKX: ## %bb.0: 173 ; SKX-NEXT: vpcmpltud %zmm1, %zmm0, %k0 174 ; SKX-NEXT: kshiftrw $4, %k0, %k0 175 ; SKX-NEXT: kmovd %k0, %eax 176 ; SKX-NEXT: testb $1, %al 177 ; SKX-NEXT: je LBB10_2 178 ; SKX-NEXT: ## %bb.1: ## %A [all …]
|
D | kshift.ll | 3 …-mtriple=x86_64-unknown-unknown -mattr=avx512vl,avx512dq,avx512bw | FileCheck %s --check-prefix=SKX 16 ; SKX-LABEL: kshiftl_v8i1_1: 17 ; SKX: # %bb.0: 18 ; SKX-NEXT: vptestnmq %zmm0, %zmm0, %k0 19 ; SKX-NEXT: kshiftlb $1, %k0, %k1 20 ; SKX-NEXT: vptestnmq %zmm1, %zmm1, %k0 {%k1} 21 ; SKX-NEXT: kmovd %k0, %eax 22 ; SKX-NEXT: # kill: def $al killed $al killed $eax 23 ; SKX-NEXT: vzeroupper 24 ; SKX-NEXT: retq [all …]
|
D | avx512-intel-ocl.ll | 7 ; RUN: llc < %s -mtriple=x86_64-win32 -mcpu=skx | FileCheck %s -check-prefixes=WIN64,WIN64-SKX 9 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s -check-prefixes=X64,X64-SKX 239 ; WIN64-SKX-LABEL: test_prolog_epilog: 240 ; WIN64-SKX: # %bb.0: 241 ; WIN64-SKX-NEXT: pushq %rbp 242 ; WIN64-SKX-NEXT: subq $1264, %rsp # imm = 0x4F0 243 ; WIN64-SKX-NEXT: leaq {{[0-9]+}}(%rsp), %rbp 244 ; WIN64-SKX-NEXT: kmovq %k7, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill 245 ; WIN64-SKX-NEXT: kmovq %k6, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill 246 ; WIN64-SKX-NEXT: kmovq %k5, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill [all …]
|
D | avx512-logic.ll | 3 …lc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=ALL --check-prefix=SKX 124 ; SKX-LABEL: orq_broadcast: 125 ; SKX: ## %bb.0: 126 ; SKX-NEXT: vorpd {{.*}}(%rip){1to8}, %zmm0, %zmm0 127 ; SKX-NEXT: retq 138 ; SKX-LABEL: andd512fold: 139 ; SKX: ## %bb.0: ## %entry 140 ; SKX-NEXT: vandps (%rdi), %zmm0, %zmm0 141 ; SKX-NEXT: retq 154 ; SKX-LABEL: andqbrst: [all …]
|
D | avx512-calling-conv.ll | 3 …%s -mtriple=x86_64-apple-darwin9 -mcpu=skx | FileCheck %s --check-prefix=ALL_X64 --check-prefix=SKX 114 ; SKX-LABEL: test5: 115 ; SKX: ## %bb.0: 116 ; SKX-NEXT: pushq %rax 117 ; SKX-NEXT: .cfi_def_cfa_offset 16 118 ; SKX-NEXT: vpcmpgtd %ymm1, %ymm0, %k0 119 ; SKX-NEXT: vpmovm2w %k0, %xmm0 120 ; SKX-NEXT: vzeroupper 121 ; SKX-NEXT: callq _func8xi1 122 ; SKX-NEXT: vpmovzxwd {{.*#+}} ymm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4… [all …]
|
D | avx512vl-logic.ll | 3 …6_64-apple-darwin -mcpu=skx -mattr=+avx512vl | FileCheck %s --check-prefix=CHECK --check-prefix=SKX 229 ; SKX-LABEL: test_mm256_mask_andnot_pd: 230 ; SKX: ## %bb.0: ## %entry 231 ; SKX-NEXT: kmovd %edi, %k1 232 ; SKX-NEXT: vandnpd %ymm2, %ymm1, %ymm0 {%k1} 233 ; SKX-NEXT: retq 253 ; SKX-LABEL: test_mm256_maskz_andnot_pd: 254 ; SKX: ## %bb.0: ## %entry 255 ; SKX-NEXT: kmovd %edi, %k1 256 ; SKX-NEXT: vandnpd %ymm1, %ymm0, %ymm0 {%k1} {z} [all …]
|
D | vector-shuffle-avx512.ll | 2 ; RUN: llc < %s -mtriple=x86_64-pc-linux-gnu -mcpu=skx | FileCheck %s --check-prefixes=CHECK,SKX,X6… 4 ; RUN: llc < %s -mtriple=i386-pc-linux-gnu -mcpu=skx | FileCheck %s --check-prefixes=CHECK,SKX,X86,… 9 ; SKX-LABEL: expand: 10 ; SKX: # %bb.0: 11 ; SKX-NEXT: # kill: def $xmm0 killed $xmm0 def $ymm0 12 ; SKX-NEXT: movb $5, %al 13 ; SKX-NEXT: kmovd %eax, %k1 14 ; SKX-NEXT: vexpandps %ymm0, %ymm0 {%k1} {z} 15 ; SKX-NEXT: ret{{[l|q]}} 28 ; SKX-LABEL: expand1: [all …]
|
D | avx512-masked-memop-64-32.ll | 3 …arwin -mattr=avx512f,avx512bw,avx512vl < %s | FileCheck %s --check-prefix=AVX512 --check-prefix=SKX 122 ; SKX-LABEL: test24: 123 ; SKX: ## %bb.0: 124 ; SKX-NEXT: vpsllw $7, %xmm0, %xmm0 125 ; SKX-NEXT: vpmovb2m %xmm0, %k1 126 ; SKX-NEXT: vmovdqu64 (%rdi), %zmm0 {%k1} {z} 127 ; SKX-NEXT: kshiftrw $8, %k1, %k1 128 ; SKX-NEXT: vmovdqu64 64(%rdi), %zmm1 {%k1} {z} 129 ; SKX-NEXT: retq 146 ; SKX-LABEL: test_store_16i64: [all …]
|
D | avx512-vselect.ll | 2 ; RUN: llc < %s -mcpu=skx | FileCheck %s --check-prefixes=CHECK,CHECK-SKX 8 ; CHECK-SKX-LABEL: test1: 9 ; CHECK-SKX: # %bb.0: # %entry 10 ; CHECK-SKX-NEXT: vpsllq $63, %zmm0, %zmm0 11 ; CHECK-SKX-NEXT: vpmovq2m %zmm0, %k1 12 ; CHECK-SKX-NEXT: vpblendmq %zmm1, %zmm2, %zmm0 {%k1} 13 ; CHECK-SKX-NEXT: retq 52 ; CHECK-SKX-LABEL: test3: 53 ; CHECK-SKX: # %bb.0: 54 ; CHECK-SKX-NEXT: vptestnmb %xmm0, %xmm0, %k1 [all …]
|
D | avx512-rotate.ll | 3 …%s -mtriple=x86_64-unknown-unknown -mcpu=skx | FileCheck %s --check-prefix=CHECK --check-prefix=SKX 26 ; SKX-LABEL: test_splat_rol_v16i32: 27 ; SKX: # %bb.0: 28 ; SKX-NEXT: kmovd %edi, %k1 29 ; SKX-NEXT: vprold $5, %zmm0, %zmm1 {%k1} 30 ; SKX-NEXT: vprold $6, %zmm0, %zmm2 {%k1} {z} 31 ; SKX-NEXT: vpaddd %zmm2, %zmm1, %zmm1 32 ; SKX-NEXT: vprold $7, %zmm0, %zmm0 33 ; SKX-NEXT: vpaddd %zmm0, %zmm1, %zmm0 34 ; SKX-NEXT: retq [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/GlobalISel/ |
D | memop-vec.ll | 2 … -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=SKX 3 …regbankselect-greedy -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=SKX 6 ; SKX-LABEL: test_load_v4i32_noalign: 7 ; SKX: # %bb.0: 8 ; SKX-NEXT: vmovups (%rdi), %xmm0 9 ; SKX-NEXT: retq 15 ; SKX-LABEL: test_load_v4i32_align: 16 ; SKX: # %bb.0: 17 ; SKX-NEXT: vmovaps (%rdi), %xmm0 18 ; SKX-NEXT: retq [all …]
|
D | sub-vec.ll | 2 …-linux-gnu -mcpu=skx -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=SKX 5 ; SKX-LABEL: test_sub_v16i8: 6 ; SKX: # %bb.0: 7 ; SKX-NEXT: vpsubb %xmm1, %xmm0, %xmm0 8 ; SKX-NEXT: retq 14 ; SKX-LABEL: test_sub_v8i16: 15 ; SKX: # %bb.0: 16 ; SKX-NEXT: vpsubw %xmm1, %xmm0, %xmm0 17 ; SKX-NEXT: retq 23 ; SKX-LABEL: test_sub_v4i32: [all …]
|
D | mul-vec.ll | 2 …-linux-gnu -mcpu=skx -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=SKX 5 ; SKX-LABEL: test_mul_v8i16: 6 ; SKX: # %bb.0: 7 ; SKX-NEXT: vpmullw %xmm1, %xmm0, %xmm0 8 ; SKX-NEXT: retq 14 ; SKX-LABEL: test_mul_v4i32: 15 ; SKX: # %bb.0: 16 ; SKX-NEXT: vpmulld %xmm1, %xmm0, %xmm0 17 ; SKX-NEXT: retq 23 ; SKX-LABEL: test_mul_v2i64: [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | avx512-insert-extract.ll | 3 ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX… 15 ; SKX-LABEL: test1: 16 ; SKX: ## BB#0: 17 ; SKX-NEXT: vinsertps {{.*#+}} xmm2 = xmm0[0],mem[0],xmm0[2,3] 18 ; SKX-NEXT: vinsertf32x4 $0, %xmm2, %zmm0, %zmm0 19 ; SKX-NEXT: vextractf32x4 $3, %zmm0, %xmm2 20 ; SKX-NEXT: vinsertps {{.*#+}} xmm1 = xmm2[0,1],xmm1[0],xmm2[3] 21 ; SKX-NEXT: vinsertf32x4 $3, %xmm1, %zmm0, %zmm0 22 ; SKX-NEXT: retq 39 ; SKX-LABEL: test2: [all …]
|
D | avx512-extract-subvector.ll | 2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX %s 6 ; SKX-LABEL: extract_subvector128_v32i16: 7 ; SKX: ## BB#0: 8 ; SKX-NEXT: vextracti32x4 $2, %zmm0, %xmm0 9 ; SKX-NEXT: retq 15 ; SKX-LABEL: extract_subvector128_v32i16_first_element: 16 ; SKX: ## BB#0: 17 ; SKX-NEXT: ## kill: %XMM0<def> %XMM0<kill> %ZMM0<kill> 18 ; SKX-NEXT: retq 24 ; SKX-LABEL: extract_subvector128_v64i8: [all …]
|
D | masked_gather_scatter.ll | 3 …=x86_64-unknown-linux-gnu -mattr=+avx512vl -mattr=+avx512dq < %s | FileCheck %s --check-prefix=SKX 35 ; SKX-LABEL: test1: 36 ; SKX: # BB#0: 37 ; SKX-NEXT: kxnorw %k0, %k0, %k1 38 ; SKX-NEXT: vgatherdps (%rdi,%zmm0,4), %zmm1 {%k1} 39 ; SKX-NEXT: vmovaps %zmm1, %zmm0 40 ; SKX-NEXT: retq 84 ; SKX-LABEL: test2: 85 ; SKX: # BB#0: 86 ; SKX-NEXT: kmovw %esi, %k1 [all …]
|
D | avx512-trunc.ll | 3 …tr=+avx512vl -mattr=+avx512bw -mattr=+avx512dq | FileCheck %s --check-prefix=ALL --check-prefix=SKX 61 ; SKX-LABEL: trunc_qb_256: 62 ; SKX: ## BB#0: 63 ; SKX-NEXT: vpmovqd %ymm0, %xmm0 64 ; SKX-NEXT: retq 78 ; SKX-LABEL: trunc_qb_256_mem: 79 ; SKX: ## BB#0: 80 ; SKX-NEXT: vpmovqb %ymm0, (%rdi) 81 ; SKX-NEXT: retq 103 ; SKX-LABEL: trunc_qb_128_mem: [all …]
|
D | avx512-calling-conv.ll | 3 …%s -mtriple=x86_64-apple-darwin9 -mcpu=skx | FileCheck %s --check-prefix=ALL_X64 --check-prefix=SKX 12 ; SKX-LABEL: test1: 13 ; SKX: ## BB#0: 14 ; SKX-NEXT: vpxord %xmm0, %xmm0, %xmm0 15 ; SKX-NEXT: retq 38 ; SKX-LABEL: test2: 39 ; SKX: ## BB#0: 40 ; SKX-NEXT: vpsllw $7, %xmm1, %xmm1 41 ; SKX-NEXT: vpmovb2m %xmm1, %k0 42 ; SKX-NEXT: vpsllw $7, %xmm0, %xmm0 [all …]
|
D | avx512-mask-op.ll | 3 …86-64 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=CHECK --check-prefix=SKX 42 ; SKX-LABEL: mask8: 43 ; SKX: ## BB#0: 44 ; SKX-NEXT: kmovb %edi, %k0 45 ; SKX-NEXT: knotb %k0, %k0 46 ; SKX-NEXT: kmovb %k0, %eax 47 ; SKX-NEXT: ## kill: %AL<def> %AL<kill> %EAX<kill> 48 ; SKX-NEXT: retq 63 ; SKX-LABEL: mask8_zext: 64 ; SKX: ## BB#0: [all …]
|
D | avx512-ext.ll | 3 …lc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=ALL --check-prefix=SKX 14 ; SKX-LABEL: zext_8x8mem_to_8x16: 15 ; SKX: ## BB#0: 16 ; SKX-NEXT: vpsllw $15, %xmm0, %xmm0 17 ; SKX-NEXT: vpmovw2m %xmm0, %k1 18 ; SKX-NEXT: vpmovzxbw {{.*#+}} xmm0 {%k1} {z} = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,… 19 ; SKX-NEXT: retq 35 ; SKX-LABEL: sext_8x8mem_to_8x16: 36 ; SKX: ## BB#0: 37 ; SKX-NEXT: vpsllw $15, %xmm0, %xmm0 [all …]
|
D | avx512-cvt.ll | 3 …c < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=ALL --check-prefix=SKX 45 ; SKX-LABEL: sltof864: 46 ; SKX: ## BB#0: 47 ; SKX-NEXT: vcvtqq2pd %zmm0, %zmm0 48 ; SKX-NEXT: retq 70 ; SKX-LABEL: sltof464: 71 ; SKX: ## BB#0: 72 ; SKX-NEXT: vcvtqq2pd %ymm0, %ymm0 73 ; SKX-NEXT: retq 91 ; SKX-LABEL: sltof2f32: [all …]
|