Home
last modified time | relevance | path

Searched refs:AVX512BW (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm/test/CodeGen/X86/
Dvector-idiv-sdiv-512.ll3 …wn -mattr=+avx512bw | FileCheck %s --check-prefix=AVX --check-prefix=AVX512 --check-prefix=AVX512BW
272 ; AVX512BW-LABEL: test_div7_32i16:
273 ; AVX512BW: # BB#0:
274 ; AVX512BW-NEXT: vpmulhw {{.*}}(%rip), %zmm0, %zmm0
275 ; AVX512BW-NEXT: vpsrlw $15, %zmm0, %zmm1
276 ; AVX512BW-NEXT: vpsraw $1, %zmm0, %zmm0
277 ; AVX512BW-NEXT: vpaddw %zmm1, %zmm0, %zmm0
278 ; AVX512BW-NEXT: retq
331 ; AVX512BW-LABEL: test_div7_64i8:
332 ; AVX512BW: # BB#0:
[all …]
Dvector-idiv-udiv-512.ll3 …wn -mattr=+avx512bw | FileCheck %s --check-prefix=AVX --check-prefix=AVX512 --check-prefix=AVX512BW
250 ; AVX512BW-LABEL: test_div7_32i16:
251 ; AVX512BW: # BB#0:
252 ; AVX512BW-NEXT: vpmulhuw {{.*}}(%rip), %zmm0, %zmm1
253 ; AVX512BW-NEXT: vpsubw %zmm1, %zmm0, %zmm0
254 ; AVX512BW-NEXT: vpsrlw $1, %zmm0, %zmm0
255 ; AVX512BW-NEXT: vpaddw %zmm1, %zmm0, %zmm0
256 ; AVX512BW-NEXT: vpsrlw $2, %zmm0, %zmm0
257 ; AVX512BW-NEXT: retq
305 ; AVX512BW-LABEL: test_div7_64i8:
[all …]
Davx512-bugfix-26264.ll2 …lc -mtriple=x86_64-apple-darwin -mattr=avx512f,avx512bw < %s | FileCheck %s --check-prefix=AVX512BW
5 ; AVX512BW-LABEL: test_load_32f64:
6 ; AVX512BW: ## BB#0:
7 ; AVX512BW-NEXT: vpsllw $7, %ymm0, %ymm0
8 ; AVX512BW-NEXT: vpmovb2m %zmm0, %k1
9 ; AVX512BW-NEXT: vmovupd (%rdi), %zmm1 {%k1}
10 ; AVX512BW-NEXT: kshiftrd $16, %k1, %k2
11 ; AVX512BW-NEXT: vmovupd 128(%rdi), %zmm3 {%k2}
12 ; AVX512BW-NEXT: kshiftrw $8, %k1, %k1
13 ; AVX512BW-NEXT: vmovupd 64(%rdi), %zmm2 {%k1}
[all …]
Davx512bw-intrinsics.ll2 …4-apple-darwin -mcpu=knl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512BW
6 ; AVX512BW-LABEL: test_cmp_b_512:
7 ; AVX512BW: ## BB#0:
8 ; AVX512BW-NEXT: vpcmpeqb %zmm1, %zmm0, %k0
9 ; AVX512BW-NEXT: kmovq %k0, %rax
10 ; AVX512BW-NEXT: vpcmpltb %zmm1, %zmm0, %k0
11 ; AVX512BW-NEXT: kmovq %k0, %rcx
12 ; AVX512BW-NEXT: addq %rax, %rcx
13 ; AVX512BW-NEXT: vpcmpleb %zmm1, %zmm0, %k0
14 ; AVX512BW-NEXT: kmovq %k0, %rax
[all …]
Dvector-tzcnt-512.ll5 …rwin -mcpu=knl -mattr=-avx512cd,+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512BW
52 ; AVX512BW-LABEL: testv8i64:
53 ; AVX512BW: ## BB#0:
54 ; AVX512BW-NEXT: vpxord %zmm1, %zmm1, %zmm1
55 ; AVX512BW-NEXT: vpsubq %zmm0, %zmm1, %zmm2
56 ; AVX512BW-NEXT: vpandq %zmm2, %zmm0, %zmm0
57 ; AVX512BW-NEXT: vpsubq {{.*}}(%rip){1to8}, %zmm0, %zmm0
58 ; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1…
59 ; AVX512BW-NEXT: vpandq %zmm2, %zmm0, %zmm3
60 ; AVX512BW-NEXT: vmovdqu8 {{.*#+}} zmm4 = [0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,0,1,1,2,1,2,2,3,1,2,2…
[all …]
Dvector-popcnt-512.ll3 …nl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
29 ; AVX512BW-LABEL: testv8i64:
30 ; AVX512BW: ## BB#0:
31 ; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm1 = [15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1…
32 ; AVX512BW-NEXT: vpandq %zmm1, %zmm0, %zmm2
33 ; AVX512BW-NEXT: vmovdqu8 {{.*#+}} zmm3 = [0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,0,1,1,2,1,2,2,3,1,2,2…
34 ; AVX512BW-NEXT: vpshufb %zmm2, %zmm3, %zmm2
35 ; AVX512BW-NEXT: vpsrlw $4, %zmm0, %zmm0
36 ; AVX512BW-NEXT: vpandq %zmm1, %zmm0, %zmm0
37 ; AVX512BW-NEXT: vpshufb %zmm0, %zmm3, %zmm0
[all …]
Davx512bw-intrinsics-upgrade.ll2 …4-apple-darwin -mcpu=knl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512BW
8 ; AVX512BW-LABEL: test_int_x86_avx512_mask_storeu_b_512:
9 ; AVX512BW: ## BB#0:
10 ; AVX512BW-NEXT: kmovq %rdx, %k1
11 ; AVX512BW-NEXT: vmovdqu8 %zmm0, (%rdi) {%k1}
12 ; AVX512BW-NEXT: vmovdqu8 %zmm0, (%rsi)
13 ; AVX512BW-NEXT: retq
31 ; AVX512BW-LABEL: test_int_x86_avx512_mask_storeu_w_512:
32 ; AVX512BW: ## BB#0:
33 ; AVX512BW-NEXT: kmovd %edx, %k1
[all …]
Dvector-lzcnt-512.ll3 …nl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
55 ; AVX512BW-LABEL: testv32i16:
56 ; AVX512BW: ## BB#0:
57 ; AVX512BW-NEXT: vextracti64x4 $1, %zmm0, %ymm1
58 ; AVX512BW-NEXT: vpmovzxwd {{.*#+}} zmm1 = ymm1[0],zero,ymm1[1],zero,ymm1[2],zero,ymm1[3],zero,y…
59 ; AVX512BW-NEXT: vplzcntd %zmm1, %zmm1
60 ; AVX512BW-NEXT: vpmovdw %zmm1, %ymm1
61 ; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = [16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16]
62 ; AVX512BW-NEXT: vpsubw %ymm2, %ymm1, %ymm1
63 ; AVX512BW-NEXT: vpmovzxwd {{.*#+}} zmm0 = ymm0[0],zero,ymm0[1],zero,ymm0[2],zero,ymm0[3],zero,y…
[all …]
Davg.ll3 …own-unknown -mcpu=x86-64 -mattr=+avx512bw | FileCheck %s --check-prefix=AVX --check-prefix=AVX512BW
22 ; AVX512BW-LABEL: avg_v4i8:
23 ; AVX512BW: # BB#0:
24 ; AVX512BW-NEXT: vmovd (%rdi), %xmm0
25 ; AVX512BW-NEXT: vmovd (%rsi), %xmm1
26 ; AVX512BW-NEXT: vpavgb %xmm0, %xmm1, %xmm0
27 ; AVX512BW-NEXT: vmovd %xmm0, (%rax)
28 ; AVX512BW-NEXT: retq
58 ; AVX512BW-LABEL: avg_v8i8:
59 ; AVX512BW: # BB#0:
[all …]
Dvector-trunc.ll7 …mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mattr=+avx512bw | FileCheck %s --check-prefix=AVX512BW
62 ; AVX512BW-LABEL: trunc8i64_8i32:
63 ; AVX512BW: # BB#0: # %entry
64 ; AVX512BW-NEXT: vpmovqd %zmm0, %ymm0
65 ; AVX512BW-NEXT: retq
150 ; AVX512BW-LABEL: trunc8i64_8i16:
151 ; AVX512BW: # BB#0: # %entry
152 ; AVX512BW-NEXT: vpmovqw %zmm0, %xmm0
153 ; AVX512BW-NEXT: retq
205 ; AVX512BW-LABEL: trunc8i64_8i8:
[all …]
Dvector-shuffle-512-v64.ll3 …64 -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
14 ; AVX512BW-LABEL: shuffle_v64i8_02_03_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u_u…
15 ; AVX512BW: # BB#0:
16 ; AVX512BW-NEXT: vpsrld $16, %zmm0, %zmm0
17 ; AVX512BW-NEXT: retq
34 ; AVX512BW-LABEL: shuffle_v64i8_zz_00_01_02_03_04_05_06_07_08_09_10_11_12_13_14_zz_16_17_18_19_20_2…
35 ; AVX512BW: # BB#0:
36 ; AVX512BW-NEXT: vpslldq {{.*#+}} zmm0 = zero,zmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],zero,zmm0…
37 ; AVX512BW-NEXT: retq
55 ; AVX512BW-LABEL: shuffle_v64i8_02_03_04_05_06_07_08_09_10_11_12_13_14_15_zz_zz_18_19_20_21_22_23_2…
[all …]
Dvector-shift-shl-512.ll3 …nl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
51 ; AVX512BW-LABEL: var_shift_v32i16:
52 ; AVX512BW: ## BB#0:
53 ; AVX512BW-NEXT: vpsllvw %zmm1, %zmm0, %zmm0
54 ; AVX512BW-NEXT: retq
127 ; AVX512BW-LABEL: splatvar_shift_v32i16:
128 ; AVX512BW: ## BB#0:
129 ; AVX512BW-NEXT: vmovd %xmm1, %eax
130 ; AVX512BW-NEXT: movzwl %ax, %eax
131 ; AVX512BW-NEXT: vmovd %eax, %xmm1
[all …]
Dnontemporal-loads.ll7 …86_64-unknown-unknown -mattr=+avx512bw | FileCheck %s --check-prefix=AVX512 --check-prefix=AVX512BW
55 ; AVX512BW-LABEL: test_v4i32:
56 ; AVX512BW: # BB#0:
57 ; AVX512BW-NEXT: vmovntdqa (%rdi), %xmm0
58 ; AVX512BW-NEXT: retq
225 ; AVX512BW-LABEL: test_v8i32:
226 ; AVX512BW: # BB#0:
227 ; AVX512BW-NEXT: vmovntdqa (%rdi), %ymm0
228 ; AVX512BW-NEXT: retq
547 ; AVX512BW-LABEL: test_v32i16:
[all …]
Davx512-arith.ll4 …le=x86_64-apple-darwin -mattr=+avx512bw | FileCheck --check-prefix=CHECK --check-prefix=AVX512BW %s
117 ; AVX512BW-LABEL: imulq512:
118 ; AVX512BW: ## BB#0:
119 ; AVX512BW-NEXT: vpmuludq %zmm0, %zmm1, %zmm2
120 ; AVX512BW-NEXT: vpsrlq $32, %zmm0, %zmm3
121 ; AVX512BW-NEXT: vpmuludq %zmm3, %zmm1, %zmm3
122 ; AVX512BW-NEXT: vpsllq $32, %zmm3, %zmm3
123 ; AVX512BW-NEXT: vpaddq %zmm3, %zmm2, %zmm2
124 ; AVX512BW-NEXT: vpsrlq $32, %zmm1, %zmm1
125 ; AVX512BW-NEXT: vpmuludq %zmm0, %zmm1, %zmm0
[all …]
Dvector-shift-lshr-512.ll3 …nl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
51 ; AVX512BW-LABEL: var_shift_v32i16:
52 ; AVX512BW: ## BB#0:
53 ; AVX512BW-NEXT: vpsrlvw %zmm1, %zmm0, %zmm0
54 ; AVX512BW-NEXT: retq
131 ; AVX512BW-LABEL: splatvar_shift_v32i16:
132 ; AVX512BW: ## BB#0:
133 ; AVX512BW-NEXT: vmovd %xmm1, %eax
134 ; AVX512BW-NEXT: movzwl %ax, %eax
135 ; AVX512BW-NEXT: vmovd %eax, %xmm1
[all …]
Dvector-shift-ashr-512.ll3 …nl -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
50 ; AVX512BW-LABEL: var_shift_v32i16:
51 ; AVX512BW: ## BB#0:
52 ; AVX512BW-NEXT: vpsravw %zmm1, %zmm0, %zmm0
53 ; AVX512BW-NEXT: retq
150 ; AVX512BW-LABEL: splatvar_shift_v32i16:
151 ; AVX512BW: ## BB#0:
152 ; AVX512BW-NEXT: vmovd %xmm1, %eax
153 ; AVX512BW-NEXT: movzwl %ax, %eax
154 ; AVX512BW-NEXT: vmovd %eax, %xmm1
[all …]
Dsad.ll5 …N: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512bw | FileCheck %s --check-prefix=AVX512BW
86 ; AVX512BW-LABEL: sad_16i8:
87 ; AVX512BW: # BB#0: # %entry
88 ; AVX512BW-NEXT: vpxord %zmm0, %zmm0, %zmm0
89 ; AVX512BW-NEXT: movq $-1024, %rax # imm = 0xFC00
90 ; AVX512BW-NEXT: .p2align 4, 0x90
91 ; AVX512BW-NEXT: .LBB0_1: # %vector.body
92 ; AVX512BW-NEXT: # =>This Inner Loop Header: Depth=1
93 ; AVX512BW-NEXT: vmovdqu a+1024(%rax), %xmm1
94 ; AVX512BW-NEXT: vpsadbw b+1024(%rax), %xmm1, %xmm1
[all …]
Dpmul.ll6 …wn -mattr=+avx512bw | FileCheck %s --check-prefix=AVX --check-prefix=AVX512 --check-prefix=AVX512BW
63 ; AVX512BW-LABEL: mul_v16i8c:
64 ; AVX512BW: # BB#0: # %entry
65 ; AVX512BW-NEXT: vpmovsxbw %xmm0, %ymm0
66 ; AVX512BW-NEXT: vpmovsxbw {{.*}}(%rip), %ymm1
67 ; AVX512BW-NEXT: vpmullw %ymm1, %ymm0, %ymm0
68 ; AVX512BW-NEXT: vpmovwb %zmm0, %ymm0
69 ; AVX512BW-NEXT: # kill: %XMM0<def> %XMM0<kill> %YMM0<kill>
70 ; AVX512BW-NEXT: retq
204 ; AVX512BW-LABEL: mul_v16i8:
[all …]
Dvselect-minmax.ll7 …| FileCheck %s --check-prefix=AVX --check-prefix=AVX512F --check-prefix=AVX512BW --check-prefix=AV…
3332 ; AVX512BW-LABEL: test97:
3333 ; AVX512BW: # BB#0: # %entry
3334 ; AVX512BW-NEXT: vpminsb %zmm1, %zmm0, %zmm0
3335 ; AVX512BW-NEXT: retq
3407 ; AVX512BW-LABEL: test98:
3408 ; AVX512BW: # BB#0: # %entry
3409 ; AVX512BW-NEXT: vpminsb %zmm1, %zmm0, %zmm0
3410 ; AVX512BW-NEXT: retq
3473 ; AVX512BW-LABEL: test99:
[all …]
Dmerge-consecutive-loads-512.ll3 …=x86_64-unknown -mattr=+avx512f,+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512BW
493 ; AVX512BW-LABEL: merge_32i16_i16_12u4uuuuuuuuuuuuuuuuuuuuuuuuuuzz:
494 ; AVX512BW: # BB#0:
495 ; AVX512BW-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
496 ; AVX512BW-NEXT: retq
548 ; AVX512BW-LABEL: merge_32i16_i16_23uzuuuuuuuuuuzzzzuuuuuuuuuuuuuu:
549 ; AVX512BW: # BB#0:
550 ; AVX512BW-NEXT: vmovd {{.*#+}} xmm0 = mem[0],zero,zero,zero
551 ; AVX512BW-NEXT: retq
580 ; AVX512BW-LABEL: merge_64i8_i8_12u4uuu8uuuuuuzzzzuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuz:
[all …]
Dfast-isel-nontemporal.ll8 …-fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
806 ; AVX512BW-LABEL: test_nt64xi8:
807 ; AVX512BW: # BB#0: # %entry
808 ; AVX512BW-NEXT: vmovntdq %zmm0, (%rdi)
809 ; AVX512BW-NEXT: retq
837 ; AVX512BW-LABEL: test_nt32xi16:
838 ; AVX512BW: # BB#0: # %entry
839 ; AVX512BW-NEXT: vmovntdq %zmm0, (%rdi)
840 ; AVX512BW-NEXT: retq
1035 ; AVX512BW-LABEL: test_load_nt64xi8:
[all …]
Davx512-vbroadcast.ll3 …nu -mattr=+avx512bw | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
365 ; AVX512BW-LABEL: _invec32xi8:
366 ; AVX512BW: # BB#0:
367 ; AVX512BW-NEXT: vpbroadcastb %xmm0, %zmm0
368 ; AVX512BW-NEXT: retq
380 ; AVX512BW-LABEL: _invec16xi16:
381 ; AVX512BW: # BB#0:
382 ; AVX512BW-NEXT: vpbroadcastw %xmm0, %zmm0
383 ; AVX512BW-NEXT: retq
Dvector-trunc-math.ll6 … | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX512 --check-prefix=AVX512BW
383 ; AVX512BW-LABEL: trunc_add_v16i16_v16i8:
384 ; AVX512BW: # BB#0:
385 ; AVX512BW-NEXT: vpaddw %ymm1, %ymm0, %ymm0
386 ; AVX512BW-NEXT: vpmovwb %zmm0, %ymm0
387 ; AVX512BW-NEXT: # kill: %XMM0<def> %XMM0<kill> %YMM0<kill>
388 ; AVX512BW-NEXT: retq
777 ; AVX512BW-LABEL: trunc_add_const_v16i16_v16i8:
778 ; AVX512BW: # BB#0:
779 ; AVX512BW-NEXT: vpaddw {{.*}}(%rip), %ymm0, %ymm0
[all …]
Dvector-bitreverse.ll7 … FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX512 --check-prefix=AVX512BW
2404 ; AVX512BW-LABEL: test_bitreverse_v64i8:
2405 ; AVX512BW: # BB#0:
2406 ; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm1 = [15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1…
2407 ; AVX512BW-NEXT: vpandq %zmm1, %zmm0, %zmm2
2408 ; AVX512BW-NEXT: vmovdqu8 {{.*#+}} zmm3 = [0,128,64,192,32,160,96,224,16,144,80,208,48,176,112,2…
2409 ; AVX512BW-NEXT: vpshufb %zmm2, %zmm3, %zmm2
2410 ; AVX512BW-NEXT: vpsrlw $4, %zmm0, %zmm0
2411 ; AVX512BW-NEXT: vpandq %zmm1, %zmm0, %zmm0
2412 ; AVX512BW-NEXT: vmovdqu8 {{.*#+}} zmm1 = [0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15,0,8,4,12,2,10,6…
[all …]
/external/skia/src/core/
DSkCpu.h36 AVX512BW = 1 << 18, enumerator
40 SKY = AVX512F | AVX512DQ | AVX512CD | AVX512BW | AVX512VL,

12