Home
last modified time | relevance | path

Searched refs:SKX (Results 1 – 25 of 102) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Davx512-extract-subvector.ll2 ; 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 …]
Davx512-schedule.ll3 …lc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skx | FileCheck %s --check-prefix=SKX
13 ; SKX-LABEL: addpd512:
14 ; SKX: # %bb.0: # %entry
15 ; SKX-NEXT: vaddpd %zmm0, %zmm1, %zmm0 # sched: [4:0.50]
16 ; SKX-NEXT: retq # sched: [7:1.00]
28 ; SKX-LABEL: addpd512fold:
29 ; SKX: # %bb.0: # %entry
30 ; SKX-NEXT: vaddpd {{.*}}(%rip), %zmm0, %zmm0 # sched: [11:0.50]
31 ; SKX-NEXT: retq # sched: [7:1.00]
43 ; SKX-LABEL: addps512:
[all …]
Dx86-interrupt_cc.ll3 …osx -show-mc-encoding -mcpu=skx < %s | FileCheck %s -check-prefix=CHECK64 -check-prefix=CHECK64-SKX
5 …osx -show-mc-encoding -mcpu=skx < %s | FileCheck %s -check-prefix=CHECK32 -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 …]
Dpr33349.ll3 ; 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 $2, %k0, %k1
50 ; SKX-NEXT: kshiftrw $1, %k1, %k2
51 ; SKX-NEXT: kmovd %k2, %eax
52 ; SKX-NEXT: testb $1, %al
53 ; SKX-NEXT: fld1
[all …]
Dcompress_expand.ll2 ; RUN: llc -mcpu=skylake-avx512 < %s | FileCheck %s --check-prefix=ALL --check-prefix=SKX
11 ; SKX-LABEL: test1:
12 ; SKX: # %bb.0:
13 ; SKX-NEXT: movw $-2049, %ax # imm = 0xF7FF
14 ; SKX-NEXT: kmovd %eax, %k1
15 ; SKX-NEXT: vexpandps (%rdi), %zmm0 {%k1} {z}
16 ; SKX-NEXT: retq
29 ; SKX-LABEL: test2:
30 ; SKX: # %bb.0:
31 ; SKX-NEXT: movw $30719, %ax # imm = 0x77FF
[all …]
Davx512-shuffle-schedule.ll3 …lc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skx | FileCheck %s --check-prefix=SKX
14 ; SKX-LABEL: test_16xi16_perm_mask0:
15 ; SKX: # %bb.0:
16 ; SKX-NEXT: vmovdqa {{.*#+}} ymm1 = [8,6,12,4,7,9,14,8,4,12,9,4,14,15,12,14] sched: [7:0.50]
17 ; SKX-NEXT: vpermw %ymm0, %ymm1, %ymm0 # sched: [6:2.00]
18 ; SKX-NEXT: retq # sched: [7:1.00]
31 ; SKX-LABEL: test_masked_16xi16_perm_mask0:
32 ; SKX: # %bb.0:
33 ; SKX-NEXT: vmovdqa {{.*#+}} ymm3 = [8,6,12,4,7,9,14,8,4,12,9,4,14,15,12,14] sched: [7:0.50]
34 ; SKX-NEXT: vptestnmw %ymm2, %ymm2, %k1 # sched: [3:1.00]
[all …]
Davx512-insert-extract_i1.ll2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX --check-prefi…
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 …]
Davx512-insert-extract.ll3 …x512bw,+avx512vl,+avx512dq | FileCheck --check-prefix=CHECK --check-prefix=SKX --check-prefix=SKX_…
4 …12vl,+avx512dq,+avx512vbmi | FileCheck --check-prefix=CHECK --check-prefix=SKX --check-prefix=SKX_…
172 ; SKX-LABEL: test11:
173 ; SKX: ## %bb.0:
174 ; SKX-NEXT: vpcmpltud %zmm1, %zmm0, %k0
175 ; SKX-NEXT: kshiftrw $4, %k0, %k0
176 ; SKX-NEXT: kmovd %k0, %eax
177 ; SKX-NEXT: testb $1, %al
178 ; SKX-NEXT: je LBB10_2
179 ; SKX-NEXT: ## %bb.1: ## %A
[all …]
Davx512-intel-ocl.ll3 …lc < %s -mtriple=i686-apple-darwin -mcpu=skx | FileCheck %s -check-prefix=X32 -check-prefix=X32-SKX
5 …lc < %s -mtriple=i386-pc-win32 -mcpu=skx | FileCheck %s -check-prefix=WIN32 -check-prefix=WIN32-SKX
7 …llc < %s -mtriple=x86_64-win32 -mcpu=skx | FileCheck %s -check-prefix=WIN64 -check-prefix=WIN64-SKX
9 … < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s -check-prefix=X64 -check-prefix=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 $1328, %rsp # imm = 0x530
243 ; WIN64-SKX-NEXT: leaq {{[0-9]+}}(%rsp), %rbp
244 ; WIN64-SKX-NEXT: kmovq %k7, 1192(%rbp) # 8-byte Spill
[all …]
Dpr35918.ll3 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mcpu=skx | FileCheck %s --check-prefixes=X86,X86-SKX
5 …RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=skx | FileCheck %s --check-prefixes=X64,X64-SKX
27 ; X86-SKX-LABEL: fetch_r16g16_snorm_unorm8:
28 ; X86-SKX: # %bb.0: # %entry
29 ; X86-SKX-NEXT: subl $12, %esp
30 ; X86-SKX-NEXT: movl {{[0-9]+}}(%esp), %eax
31 ; X86-SKX-NEXT: vmovd {{.*#+}} xmm0 = mem[0],zero,zero,zero
32 ; X86-SKX-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm0[0,1],zero,zero,xmm0[2,3],zero,zero,xmm0[u…
33 ; X86-SKX-NEXT: vpsrad $16, %xmm0, %xmm0
34 ; X86-SKX-NEXT: vpxor %xmm1, %xmm1, %xmm1
[all …]
Davx512-hadd-hsub.ll3 ;RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=skx | FileCheck %s --check-prefix=SKX
15 ; SKX-LABEL: hadd_16:
16 ; SKX: # %bb.0:
17 ; SKX-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[2,3,0,1]
18 ; SKX-NEXT: vpaddd %zmm1, %zmm0, %zmm0
19 ; SKX-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[1,1,2,3]
20 ; SKX-NEXT: vpaddd %zmm1, %zmm0, %zmm0
21 ; SKX-NEXT: vmovd %xmm0, %eax
22 ; SKX-NEXT: vzeroupper
23 ; SKX-NEXT: retq
[all …]
Davx512-logic.ll3 …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 …]
Davx512-ext.ll3 … -mattr=+avx512f,+avx512vl,+avx512dq,+avx512bw | 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 …]
Dvector-shuffle-512-v32.ll3 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefixes=ALL,SKX %s
14 ; SKX-LABEL: shuffle_v32i16:
15 ; SKX: ## %bb.0:
16 ; SKX-NEXT: vpbroadcastw %xmm0, %zmm0
17 ; SKX-NEXT: retq
30 ; SKX-LABEL: shuffle_v32i16_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08_08…
31 ; SKX: ## %bb.0:
32 ; SKX-NEXT: vextracti128 $1, %ymm0, %xmm0
33 ; SKX-NEXT: vpbroadcastw %xmm0, %zmm0
34 ; SKX-NEXT: retq
[all …]
Davx512-trunc.ll3 …vx512f,+avx512vl,+avx512bw,+avx512dq,+fast-variable-shuffle | FileCheck %s --check-prefixes=ALL,SKX
66 ; SKX-LABEL: trunc_qb_256:
67 ; SKX: ## %bb.0:
68 ; SKX-NEXT: vpmovqd %ymm0, %xmm0
69 ; SKX-NEXT: vzeroupper
70 ; SKX-NEXT: retq
85 ; SKX-LABEL: trunc_qb_256_mem:
86 ; SKX: ## %bb.0:
87 ; SKX-NEXT: vpmovqb %ymm0, (%rdi)
88 ; SKX-NEXT: vzeroupper
[all …]
/external/llvm/test/CodeGen/X86/
Davx512-insert-extract.ll3 ; 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 …]
Davx512-extract-subvector.ll2 ; 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 …]
Dmasked_gather_scatter.ll3 …=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 …]
Davx512-trunc.ll3 …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 …]
Davx512-calling-conv.ll3 …%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 …]
Davx512-mask-op.ll3 …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 …]
Davx512-ext.ll3 …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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/GlobalISel/
Dmemop-vec.ll2 … -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 …]
Dsub-vec.ll2 …-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 …]
Dmul-vec.ll2 …-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 …]

12345