Home
last modified time | relevance | path

Searched refs:SSE3 (Results 1 – 25 of 98) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dvar-permute-128.ll2 …RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse3 | FileCheck %s --check-prefixes=SSE,SSE3
15 ; SSE3-LABEL: var_shuffle_v2i64:
16 ; SSE3: # %bb.0:
17 ; SSE3-NEXT: movq %xmm1, %rax
18 ; SSE3-NEXT: andl $1, %eax
19 ; SSE3-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,3,0,1]
20 ; SSE3-NEXT: movq %xmm1, %rcx
21 ; SSE3-NEXT: andl $1, %ecx
22 ; SSE3-NEXT: movaps %xmm0, -{{[0-9]+}}(%rsp)
23 ; SSE3-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero
[all …]
Dhaddsub-2.ll2 …%s -mtriple=x86_64-unknown -mattr=+sse2,+sse3 | FileCheck %s --check-prefix=SSE --check-prefix=SSE3
124 ; SSE3-LABEL: phadd_d_test1:
125 ; SSE3: # %bb.0:
126 ; SSE3-NEXT: movd %xmm0, %eax
127 ; SSE3-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,2,3]
128 ; SSE3-NEXT: movd %xmm2, %ecx
129 ; SSE3-NEXT: addl %eax, %ecx
130 ; SSE3-NEXT: pshufd {{.*#+}} xmm2 = xmm0[2,3,0,1]
131 ; SSE3-NEXT: movd %xmm2, %eax
132 ; SSE3-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,1,2,3]
[all …]
Dhaddsub.ll2 ; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse3 | FileCheck %s --check-prefix=SSE3
6 ; SSE3-LABEL: haddpd1:
7 ; SSE3: # %bb.0:
8 ; SSE3-NEXT: haddpd %xmm1, %xmm0
9 ; SSE3-NEXT: retq
22 ; SSE3-LABEL: haddpd2:
23 ; SSE3: # %bb.0:
24 ; SSE3-NEXT: haddpd %xmm1, %xmm0
25 ; SSE3-NEXT: retq
38 ; SSE3-LABEL: haddpd3:
[all …]
Dvector-lzcnt-128.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=X64 --check-prefix=SSE --check-prefix=SSE3
57 ; SSE3-LABEL: testv2i64:
58 ; SSE3: # %bb.0:
59 ; SSE3-NEXT: movdqa %xmm0, %xmm1
60 ; SSE3-NEXT: psrlq $1, %xmm1
61 ; SSE3-NEXT: por %xmm0, %xmm1
62 ; SSE3-NEXT: movdqa %xmm1, %xmm0
63 ; SSE3-NEXT: psrlq $2, %xmm0
64 ; SSE3-NEXT: por %xmm1, %xmm0
65 ; SSE3-NEXT: movdqa %xmm0, %xmm1
[all …]
Dpromote-vec3.ll2 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse3 | FileCheck %s --check-prefix=SSE3
9 ; SSE3-LABEL: zext_i8:
10 ; SSE3: # %bb.0:
11 ; SSE3-NEXT: movzbl {{[0-9]+}}(%esp), %eax
12 ; SSE3-NEXT: movzbl {{[0-9]+}}(%esp), %ecx
13 ; SSE3-NEXT: movzbl {{[0-9]+}}(%esp), %edx
14 ; SSE3-NEXT: movd %edx, %xmm0
15 ; SSE3-NEXT: pinsrw $1, %ecx, %xmm0
16 ; SSE3-NEXT: pinsrw $2, %eax, %xmm0
17 ; SSE3-NEXT: pextrw $0, %xmm0, %eax
[all …]
Dinsertelement-zero.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
17 ; SSE3-LABEL: insert_v2f64_z1:
18 ; SSE3: # %bb.0:
19 ; SSE3-NEXT: xorpd %xmm1, %xmm1
20 ; SSE3-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
21 ; SSE3-NEXT: retq
52 ; SSE3-LABEL: insert_v4f64_0zz3:
53 ; SSE3: # %bb.0:
54 ; SSE3-NEXT: movq {{.*#+}} xmm0 = xmm0[0],zero
55 ; SSE3-NEXT: xorpd %xmm2, %xmm2
[all …]
Dinsertelement-ones.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
17 ; SSE3-LABEL: insert_v2i64_x1:
18 ; SSE3: # %bb.0:
19 ; SSE3-NEXT: movlpd {{.*#+}} xmm0 = mem[0],xmm0[1]
20 ; SSE3-NEXT: retq
60 ; SSE3-LABEL: insert_v4i64_01x3:
61 ; SSE3: # %bb.0:
62 ; SSE3-NEXT: movlpd {{.*#+}} xmm1 = mem[0],xmm1[1]
63 ; SSE3-NEXT: retq
107 ; SSE3-LABEL: insert_v4i32_01x3:
[all …]
Dvector-shuffle-128-v4.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
253 ; SSE3-LABEL: shuffle_v4f32_0022:
254 ; SSE3: # %bb.0:
255 ; SSE3-NEXT: movsldup {{.*#+}} xmm0 = xmm0[0,0,2,2]
256 ; SSE3-NEXT: retq
281 ; SSE3-LABEL: shuffle_v4f32_1133:
282 ; SSE3: # %bb.0:
283 ; SSE3-NEXT: movshdup {{.*#+}} xmm0 = xmm0[1,1,3,3]
284 ; SSE3-NEXT: retq
339 ; SSE3-LABEL: shuffle_v4i32_0124:
[all …]
Dpr34080.ll4 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+sse3 | FileCheck %s --check-prefix=SSE3
5 …lc < %s -mtriple=x86_64-apple-darwin -mattr=+sse3 -mcpu=prescott | FileCheck %s --check-prefix=SSE3
88 ; SSE3-LABEL: _Z1fe:
89 ; SSE3: ## %bb.0: ## %entry
90 ; SSE3-NEXT: pushq %rbp
91 ; SSE3-NEXT: .cfi_def_cfa_offset 16
92 ; SSE3-NEXT: .cfi_offset %rbp, -16
93 ; SSE3-NEXT: movq %rsp, %rbp
94 ; SSE3-NEXT: .cfi_def_cfa_register %rbp
95 ; SSE3-NEXT: fldt 16(%rbp)
[all …]
Dvector-popcnt-128.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
35 ; SSE3-LABEL: testv2i64:
36 ; SSE3: # %bb.0:
37 ; SSE3-NEXT: movdqa %xmm0, %xmm1
38 ; SSE3-NEXT: psrlq $1, %xmm1
39 ; SSE3-NEXT: pand {{.*}}(%rip), %xmm1
40 ; SSE3-NEXT: psubq %xmm1, %xmm0
41 ; SSE3-NEXT: movdqa {{.*#+}} xmm1 = [3689348814741910323,3689348814741910323]
42 ; SSE3-NEXT: movdqa %xmm0, %xmm2
43 ; SSE3-NEXT: pand %xmm1, %xmm2
[all …]
Dvector-shuffle-128-v2.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
115 ; SSE3-LABEL: shuffle_v2f64_00:
116 ; SSE3: # %bb.0:
117 ; SSE3-NEXT: movddup {{.*#+}} xmm0 = xmm0[0,0]
118 ; SSE3-NEXT: retq
171 ; SSE3-LABEL: shuffle_v2f64_22:
172 ; SSE3: # %bb.0:
173 ; SSE3-NEXT: movddup {{.*#+}} xmm0 = xmm1[0,0]
174 ; SSE3-NEXT: retq
229 ; SSE3-LABEL: shuffle_v2f64_03:
[all …]
Dvector-tzcnt-128.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
44 ; SSE3-LABEL: testv2i64:
45 ; SSE3: # %bb.0:
46 ; SSE3-NEXT: pxor %xmm1, %xmm1
47 ; SSE3-NEXT: pxor %xmm2, %xmm2
48 ; SSE3-NEXT: psubq %xmm0, %xmm2
49 ; SSE3-NEXT: pand %xmm0, %xmm2
50 ; SSE3-NEXT: pcmpeqd %xmm3, %xmm3
51 ; SSE3-NEXT: paddq %xmm2, %xmm3
52 ; SSE3-NEXT: movdqa %xmm3, %xmm0
[all …]
/external/llvm/test/CodeGen/X86/
Dhaddsub-2.ll2 …%s -mtriple=x86_64-unknown -mattr=+sse2,+sse3 | FileCheck %s --check-prefix=SSE --check-prefix=SSE3
124 ; SSE3-LABEL: phadd_d_test1:
125 ; SSE3: # BB#0:
126 ; SSE3-NEXT: movd %xmm0, %eax
127 ; SSE3-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,2,3]
128 ; SSE3-NEXT: movd %xmm2, %ecx
129 ; SSE3-NEXT: addl %eax, %ecx
130 ; SSE3-NEXT: pshufd {{.*#+}} xmm2 = xmm0[2,3,0,1]
131 ; SSE3-NEXT: movd %xmm2, %eax
132 ; SSE3-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,1,2,3]
[all …]
Dhaddsub.ll2 ; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse3 | FileCheck %s --check-prefix=SSE3
6 ; SSE3-LABEL: haddpd1:
7 ; SSE3: # BB#0:
8 ; SSE3-NEXT: haddpd %xmm1, %xmm0
9 ; SSE3-NEXT: retq
22 ; SSE3-LABEL: haddpd2:
23 ; SSE3: # BB#0:
24 ; SSE3-NEXT: haddpd %xmm1, %xmm0
25 ; SSE3-NEXT: retq
38 ; SSE3-LABEL: haddpd3:
[all …]
Dvector-lzcnt-128.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
33 ; SSE3-LABEL: testv2i64:
34 ; SSE3: # BB#0:
35 ; SSE3-NEXT: movd %xmm0, %rax
36 ; SSE3-NEXT: bsrq %rax, %rax
37 ; SSE3-NEXT: movl $127, %ecx
38 ; SSE3-NEXT: cmoveq %rcx, %rax
39 ; SSE3-NEXT: xorq $63, %rax
40 ; SSE3-NEXT: movd %rax, %xmm1
41 ; SSE3-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,0,1]
[all …]
Dpromote-vec3.ll2 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse3 | FileCheck %s --check-prefix=SSE3
9 ; SSE3-LABEL: zext_i8:
10 ; SSE3: # BB#0:
11 ; SSE3-NEXT: movzbl {{[0-9]+}}(%esp), %eax
12 ; SSE3-NEXT: pxor %xmm0, %xmm0
13 ; SSE3-NEXT: pxor %xmm1, %xmm1
14 ; SSE3-NEXT: pinsrw $0, %eax, %xmm1
15 ; SSE3-NEXT: movzbl {{[0-9]+}}(%esp), %eax
16 ; SSE3-NEXT: pinsrw $1, %eax, %xmm1
17 ; SSE3-NEXT: movzbl {{[0-9]+}}(%esp), %eax
[all …]
Dvector-popcnt-128.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
31 ; SSE3-LABEL: testv2i64:
32 ; SSE3: # BB#0:
33 ; SSE3-NEXT: movdqa %xmm0, %xmm1
34 ; SSE3-NEXT: psrlq $1, %xmm1
35 ; SSE3-NEXT: pand {{.*}}(%rip), %xmm1
36 ; SSE3-NEXT: psubq %xmm1, %xmm0
37 ; SSE3-NEXT: movdqa {{.*#+}} xmm1 = [3689348814741910323,3689348814741910323]
38 ; SSE3-NEXT: movdqa %xmm0, %xmm2
39 ; SSE3-NEXT: pand %xmm1, %xmm2
[all …]
Dinsertelement-zero.ll3 … -mcpu=x86-64 -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
19 ; SSE3-LABEL: insert_v2f64_z1:
20 ; SSE3: # BB#0:
21 ; SSE3-NEXT: xorpd %xmm1, %xmm1
22 ; SSE3-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
23 ; SSE3-NEXT: retq
54 ; SSE3-LABEL: insert_v4f64_0zz3:
55 ; SSE3: # BB#0:
56 ; SSE3-NEXT: xorpd %xmm2, %xmm2
57 ; SSE3-NEXT: unpcklpd {{.*#+}} xmm0 = xmm0[0],xmm2[0]
[all …]
Dvector-shuffle-128-v4.ll3 … -mcpu=x86-64 -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
254 ; SSE3-LABEL: shuffle_v4f32_0022:
255 ; SSE3: # BB#0:
256 ; SSE3-NEXT: movsldup {{.*#+}} xmm0 = xmm0[0,0,2,2]
257 ; SSE3-NEXT: retq
282 ; SSE3-LABEL: shuffle_v4f32_1133:
283 ; SSE3: # BB#0:
284 ; SSE3-NEXT: movshdup {{.*#+}} xmm0 = xmm0[1,1,3,3]
285 ; SSE3-NEXT: retq
341 ; SSE3-LABEL: shuffle_v4i32_0124:
[all …]
Dvector-tzcnt-128.ll3 …known-unknown -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
31 ; SSE3-LABEL: testv2i64:
32 ; SSE3: # BB#0:
33 ; SSE3-NEXT: movd %xmm0, %rax
34 ; SSE3-NEXT: bsfq %rax, %rax
35 ; SSE3-NEXT: movl $64, %ecx
36 ; SSE3-NEXT: cmoveq %rcx, %rax
37 ; SSE3-NEXT: movd %rax, %xmm1
38 ; SSE3-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,0,1]
39 ; SSE3-NEXT: movd %xmm0, %rax
[all …]
Dvector-shuffle-128-v2.ll3 … -mcpu=x86-64 -mattr=+sse3 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE3
118 ; SSE3-LABEL: shuffle_v2f64_00:
119 ; SSE3: # BB#0:
120 ; SSE3-NEXT: movddup {{.*#+}} xmm0 = xmm0[0,0]
121 ; SSE3-NEXT: retq
174 ; SSE3-LABEL: shuffle_v2f64_22:
175 ; SSE3: # BB#0:
176 ; SSE3-NEXT: movddup {{.*#+}} xmm0 = xmm1[0,0]
177 ; SSE3-NEXT: retq
232 ; SSE3-LABEL: shuffle_v2f64_03:
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dhaddsub.ll1 ; RUN: llc < %s -march=x86-64 -mattr=+sse3,-avx | FileCheck %s -check-prefix=SSE3
4 ; SSE3: haddpd1:
5 ; SSE3-NOT: vhaddpd
6 ; SSE3: haddpd
16 ; SSE3: haddpd2:
17 ; SSE3-NOT: vhaddpd
18 ; SSE3: haddpd
28 ; SSE3: haddpd3:
29 ; SSE3-NOT: vhaddpd
30 ; SSE3: haddpd
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dcmp.ll2 …macosx10.8.0 -mcpu=yonah | FileCheck --check-prefix=CHECK --check-prefix=SSE --check-prefix=SSE3 %s
16 ;SSE3: cost of 3 {{.*}} fcmp
24 ;SSE3: cost of 7 {{.*}} fcmp
32 ;SSE3: cost of 14 {{.*}} fcmp
40 ;SSE3: cost of 3 {{.*}} fcmp
48 ;SSE3: cost of 6 {{.*}} fcmp
67 ;SSE3: cost of 1 {{.*}} icmp
75 ;SSE3: cost of 1 {{.*}} icmp
83 ;SSE3: cost of 1 {{.*}} icmp
91 ;SSE3: cost of 8 {{.*}} icmp
[all …]
/external/skia/src/core/
DSkCpu.h17 SSE3 = 1 << 2, enumerator
69 features |= SSE3; in Supports()
92 features &= (SkCpu::SSE1 | SkCpu::SSE2 | SkCpu::SSE3 | SkCpu::SSSE3 | SkCpu::SSE41); in Supports()
/external/skqp/src/core/
DSkCpu.h17 SSE3 = 1 << 2, enumerator
69 features |= SSE3; in Supports()
92 features &= (SkCpu::SSE1 | SkCpu::SSE2 | SkCpu::SSE3 | SkCpu::SSSE3 | SkCpu::SSE41); in Supports()

1234