Home
last modified time | relevance | path

Searched refs:AVX (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm/test/CodeGen/X86/
Dvector-idiv.ll3 ; RUN: llc -march=x86-64 -mcpu=core-avx2 < %s | FileCheck %s -check-prefix=AVX
19 ; AVX-LABEL: test1:
20 ; AVX: vpmuludq
21 ; AVX: vpshufd $49
22 ; AVX: vpmuludq
23 ; AVX: vshufps $-35
24 ; AVX: vpsubd
25 ; AVX: vpsrld $1
26 ; AVX: vpadd
27 ; AVX: vpsrld $2
[all …]
Davx-sext.ll1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck %s -check-prefix=AVX
6 ; AVX: sext_8i16_to_8i32
7 ; AVX: vpmovsxwd
14 ; AVX: sext_4i32_to_4i64
15 ; AVX: vpmovsxdq
21 ; AVX: load_sext_test1
22 ; AVX: vpmovsxwd (%r{{[^,]*}}), %xmm{{.*}}
23 ; AVX: ret
42 ; AVX: load_sext_test2
43 ; AVX: vpmovsxbd (%r{{[^,]*}}), %xmm{{.*}}
[all …]
Dfast-isel-select-sse.ll3 …86_64-apple-darwin10 -mcpu=corei7-avx | FileCheck %s --check-prefix=AVX
4 …86_64-apple-darwin10 -fast-isel -fast-isel-abort -mcpu=corei7-avx | FileCheck %s --check-prefix=AVX
14 ; AVX-LABEL: select_fcmp_oeq_f32
15 ; AVX: vcmpeqss %xmm1, %xmm0, %xmm0
16 ; AVX-NEXT: vandps %xmm2, %xmm0, %xmm1
17 ; AVX-NEXT: vandnps %xmm3, %xmm0, %xmm0
18 ; AVX-NEXT: vorps %xmm1, %xmm0, %xmm0
30 ; AVX-LABEL: select_fcmp_oeq_f64
31 ; AVX: vcmpeqsd %xmm1, %xmm0, %xmm0
32 ; AVX-NEXT: vandpd %xmm2, %xmm0, %xmm1
[all …]
Dpr12312.ll2 ; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+avx,-avx2 < %s | FileCheck %s --check-prefix AVX
17 ; AVX: veccond128
18 ; AVX: vptest %xmm{{.*}}, %xmm{{.*}}
19 ; AVX: ret
36 ; AVX: veccond256
37 ; AVX: vptest %ymm{{.*}}, %ymm{{.*}}
38 ; AVX: ret
57 ; AVX: veccond512
58 ; AVX: vorps
59 ; AVX: vptest %ymm{{.*}}, %ymm{{.*}}
[all …]
Dfp-trunc.ll2 ; RUN: llc < %s -march=x86 -mcpu=core-avx-i | FileCheck %s --check-prefix=AVX
8 ; AVX: test1
9 ; AVX: vcvtsd2ss
10 ; AVX: ret
19 ; AVX: test2
20 ; AVX-NOT: vcvtpd2psy
21 ; AVX: vcvtpd2ps
22 ; AVX: ret
33 ; AVX: test3
34 ; AVX: vcvtpd2psy
[all …]
Dpreserve_allcc64.ll2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck --check-prefix=AVX %s
37 ;AVX-LABEL: preserve_allcc1
38 ;AVX: pushq %r10
39 ;AVX-NEXT: pushq %r9
40 ;AVX-NEXT: pushq %r8
41 ;AVX-NEXT: pushq %rdi
42 ;AVX-NEXT: pushq %rsi
43 ;AVX-NEXT: pushq %rdx
44 ;AVX-NEXT: pushq %rcx
45 ;AVX-NEXT: pushq %rax
[all …]
Dfp-load-trunc.ll2 ; RUN: llc < %s -march=x86 -mcpu=core-avx-i | FileCheck %s --check-prefix=AVX
8 ; AVX: test1
9 ; AVX: vcvtsd2ss
10 ; AVX: ret
20 ; AVX: test2
21 ; AVX: vcvtpd2psx {{[0-9]*}}(%{{.*}})
22 ; AVX: ret
34 ; AVX: test3
35 ; AVX: vcvtpd2psy {{[0-9]*}}(%{{.*}})
36 ; AVX: ret
[all …]
Dpr11334.ll2 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=core-avx-i | FileCheck %s --check-prefix=AVX
8 ; AVX: v2f2d_ext_vec
9 ; AVX: vcvtps2pd
20 ; AVX: v3f2d_ext_vec
21 ; AVX: vcvtps2pd
22 ; AVX: ret
33 ; AVX: v4f2d_ext_vec
34 ; AVX: vcvtps2pd
35 ; AVX: ret
49 ; AVX: v8f2d_ext_vec
[all …]
Drounding-ops.ll2 ; RUN: llc < %s -mtriple=x86_64-apple-macosx -mattr=+avx | FileCheck -check-prefix=CHECK-AVX %s
11 ; CHECK-AVX-LABEL: test1:
12 ; CHECK-AVX: vroundss $1
24 ; CHECK-AVX-LABEL: test2:
25 ; CHECK-AVX: vroundsd $1
37 ; CHECK-AVX-LABEL: test3:
38 ; CHECK-AVX: vroundss $12
50 ; CHECK-AVX-LABEL: test4:
51 ; CHECK-AVX: vroundsd $12
63 ; CHECK-AVX-LABEL: test5:
[all …]
Dlower-vec-shift.ll1 …le=x86_64-unknown-linux-gnu -mcpu=corei7-avx | FileCheck %s --check-prefix=CHECK --check-prefix=AVX
19 ; AVX: vpsrlw
20 ; AVX-NEXT: vpsrlw
21 ; AVX-NEXT: vmovss
36 ; AVX: vpsrlw
37 ; AVX-NEXT: vpsrlw
38 ; AVX-NEXT: vmovsd
53 ; AVX: vpsrld
54 ; AVX-NEXT: vpsrld
55 ; AVX-NEXT: vmovss
[all …]
Dsse3-avx-addsub.ll2 ; RUN: llc < %s -march=x86-64 -mcpu=corei7-avx | FileCheck %s -check-prefix=AVX -check-prefix=CHECK
45 ; AVX: vaddsubps
58 ; AVX: vaddsubps
59 ; AVX-NOT: vaddsubps
72 ; AVX: vaddsubpd
73 ; AVX-NOT: vaddsubpd
85 ; AVX: vaddsubpd
98 ; AVX: vaddsubps
112 ; AVX: vaddsubps
113 ; AVX-NOT: vaddsubps
[all …]
Dhaddsub.ll2 ; RUN: llc < %s -march=x86-64 -mattr=-sse3,+avx | FileCheck %s -check-prefix=AVX
7 ; AVX-LABEL: haddpd1:
8 ; AVX: vhaddpd
19 ; AVX-LABEL: haddpd2:
20 ; AVX: vhaddpd
31 ; AVX-LABEL: haddpd3:
32 ; AVX: vhaddpd
43 ; AVX-LABEL: haddps1:
44 ; AVX: vhaddps
55 ; AVX-LABEL: haddps2:
[all …]
Dphaddsub.ll2 ; RUN: llc < %s -march=x86-64 -mattr=-ssse3,+avx | FileCheck %s -check-prefix=AVX
7 ; AVX-LABEL: phaddw1:
8 ; AVX: vphaddw
19 ; AVX-LABEL: phaddw2:
20 ; AVX: vphaddw
31 ; AVX-LABEL: phaddd1:
32 ; AVX: vphaddd
43 ; AVX-LABEL: phaddd2:
44 ; AVX: vphaddd
55 ; AVX-LABEL: phaddd3:
[all …]
Dvec_setcc.ll3 …: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mattr=avx | FileCheck %s -check-prefix=AVX
17 ; AVX-LABEL: v16i8_icmp_uge:
18 ; AVX: vpmaxub %xmm1, %xmm0, %xmm1
19 ; AVX: vpcmpeqb %xmm1, %xmm0, %xmm0
34 ; AVX-LABEL: v16i8_icmp_ule:
35 ; AVX: vpminub %xmm1, %xmm0, %xmm1
36 ; AVX: vpcmpeqb %xmm1, %xmm0, %xmm0
53 ; AVX-LABEL: v8i16_icmp_uge:
54 ; AVX: vpmaxuw %xmm1, %xmm0, %xmm1
55 ; AVX: vpcmpeqw %xmm1, %xmm0, %xmm0
[all …]
Dpreserve_mostcc64.ll2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck --check-prefix=AVX %s
22 ;AVX-LABEL: preserve_mostcc1
23 ;AVX: pushq %r10
24 ;AVX-NEXT: pushq %r9
25 ;AVX-NEXT: pushq %r8
26 ;AVX-NEXT: pushq %rdi
27 ;AVX-NEXT: pushq %rsi
28 ;AVX-NEXT: pushq %rdx
29 ;AVX-NEXT: pushq %rcx
30 ;AVX-NEXT: pushq %rax
[all …]
Dcombine-64bit-vec-binop.ll2 …u=corei7-avx -mtriple=x86_64-unknown-linux-gnu | FileCheck %s -check-prefix=CHECK -check-prefix=AVX
14 ; AVX: vpaddd
27 ; AVX: vpaddw
39 ; AVX: vpaddb
52 ; AVX: vpsubd
65 ; AVX: vpsubw
78 ; AVX: vpsubb
91 ; AVX: vpmulld
104 ; AVX: vpmullw
130 ; AVX: vandps
[all …]
Dsse-scalar-fp-arith-2.ll3 …-mtriple=x86_64-pc-linux -mcpu=corei7-avx < %s | FileCheck -check-prefix=CHECK -check-prefix=AVX %s
5 ; Ensure that the backend selects SSE/AVX scalar fp instructions
17 ; AVX: vaddss %xmm1, %xmm0, %xmm0
30 ; AVX: vsubss %xmm1, %xmm0, %xmm0
43 ; AVX: vmulss %xmm1, %xmm0, %xmm0
56 ; AVX: vdivss %xmm1, %xmm0, %xmm0
69 ; AVX: vaddsd %xmm1, %xmm0, %xmm0
82 ; AVX: vsubsd %xmm1, %xmm0, %xmm0
95 ; AVX: vmulsd %xmm1, %xmm0, %xmm0
108 ; AVX: vdivsd %xmm1, %xmm0, %xmm0
[all …]
Dfast-isel-sse12-fptoint.ll2 …x86_64-apple-darwin -mattr=-avx2,+avx -fast-isel -fast-isel-abort | FileCheck %s --check-prefix=AVX
7 ; AVX-LABEL: cvt_test1
8 ; AVX: vcvttss2si %xmm0, %eax
21 ; AVX-LABEL: cvt_test2
22 ; AVX: vcvttss2si %xmm0, %rax
35 ; AVX-LABEL: cvt_test3
36 ; AVX: vcvttsd2si %xmm0, %eax
47 ; AVX-LABEL: cvt_test4
48 ; AVX: vcvttsd2si %xmm0, %rax
Dsqrt.ll3 …x86_64-apple-darwin -mattr=-avx2,+avx | FileCheck %s --check-prefix=AVX
4 …x86_64-apple-darwin -mattr=-avx2,+avx -fast-isel -fast-isel-abort | FileCheck %s --check-prefix=AVX
9 ; AVX-LABEL: test_sqrt_f32
10 ; AVX: vsqrtss %xmm0, %xmm0
19 ; AVX-LABEL: test_sqrt_f64
20 ; AVX: vsqrtsd %xmm0, %xmm0
Dextract-store.ll2 ; RUN: llc < %s -o - -mcpu=generic -march=x86-64 -mattr=+avx | FileCheck %s -check-prefix=AVX
5 ; AVX: vpextrb
7 ; AVX-NOT: movb
15 ; AVX: vpextrw
17 ; AVX-NOT: movw
Danyregcc.ll3 …%s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -disable-fp-elim | FileCheck --check-prefix=AVX %s
402 ;AVX-LABEL:anyregcc1
403 ;AVX: pushq %rbp
404 ;AVX: pushq %rax
405 ;AVX: pushq %r15
406 ;AVX: pushq %r14
407 ;AVX: pushq %r13
408 ;AVX: pushq %r12
409 ;AVX: pushq %r11
410 ;AVX: pushq %r10
[all …]
Dvec_fpext.ll2 ; RUN: llc < %s -march=x86 -mcpu=corei7-avx | FileCheck --check-prefix=AVX %s
8 ; AVX: vcvtps2pd (%{{.+}}), %xmm{{[0-9]+}}
19 ; AVX: vcvtps2pd (%{{.+}}), %ymm{{[0-9]+}}
32 ; AVX: vcvtps2pd 16(%{{.+}}), %ymm{{[0-9]+}}
33 ; AVX: vcvtps2pd (%{{.+}}), %ymm{{[0-9]+}}
Dsse-scalar-fp-arith.ll3 …-mtriple=x86_64-pc-linux -mcpu=corei7-avx < %s | FileCheck -check-prefix=CHECK -check-prefix=AVX %s
20 ; AVX: vaddss %xmm1, %xmm0, %xmm0
35 ; AVX: vsubss %xmm1, %xmm0, %xmm0
49 ; AVX: vmulss %xmm1, %xmm0, %xmm0
64 ; AVX: vdivss %xmm1, %xmm0, %xmm0
79 ; AVX: vaddsd %xmm1, %xmm0, %xmm0
94 ; AVX: vsubsd %xmm1, %xmm0, %xmm0
109 ; AVX: vmulsd %xmm1, %xmm0, %xmm0
124 ; AVX: vdivsd %xmm1, %xmm0, %xmm0
139 ; AVX: vaddss %xmm0, %xmm1, %xmm0
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dcast.ll2 …64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AVX
38 ; CHECK-AVX-LABEL: for function 'zext_sext'
40 ;CHECK-AVX: cost of 4 {{.*}} zext
43 ;CHECK-AVX: cost of 7 {{.*}} sext
47 ;CHECK-AVX: cost of 4 {{.*}} zext
50 ;CHECK-AVX: cost of 4 {{.*}} sext
53 ;CHECK-AVX: cost of 4 {{.*}} sext
56 ;CHECK-AVX: cost of 4 {{.*}} zext
59 ;CHECK-AVX: cost of 4 {{.*}} sext
63 ;CHECK-AVX: cost of 4 {{.*}} zext
[all …]
Darith.ll76 ; AVX: shift
79 ; AVX: cost of 2 {{.*}} shl
82 ; AVX: cost of 2 {{.*}} shl
86 ; AVX: cost of 2 {{.*}} lshr
89 ; AVX: cost of 2 {{.*}} lshr
93 ; AVX: cost of 2 {{.*}} ashr
96 ; AVX: cost of 6 {{.*}} ashr
103 ; AVX: avx2shift
106 ; AVX: cost of 2 {{.*}} shl
109 ; AVX: cost of 2 {{.*}} shl
[all …]

1234