File: variable-blend-read-after-ld-1.s

package info (click to toggle)
llvm-toolchain-7 1%3A7.0.1-8%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 734,616 kB
  • sloc: cpp: 3,776,926; ansic: 633,271; asm: 350,301; python: 142,716; objc: 107,612; sh: 22,626; lisp: 11,056; perl: 7,999; pascal: 6,742; ml: 5,537; awk: 3,536; makefile: 2,557; cs: 2,027; xml: 841; javascript: 518; ruby: 156
file content (120 lines) | stat: -rw-r--r-- 5,491 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=SANDY

# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=IVY

# RUN: llvm-mca -mtriple=x86_64-unknown-unknown  -mcpu=haswell -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=HASWELL

# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=broadwell -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=BDWELL

# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=skylake -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=SKYLAKE

# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=BTVER2

# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=ZNVER1

vaddps %xmm0, %xmm0, %xmm1
vblendvps %xmm1, (%rdi), %xmm2, %xmm3

# ALL:          Iterations:        1
# ALL-NEXT:     Instructions:      2

# BDWELL-NEXT:  Total Cycles:      10
# BDWELL-NEXT:  Dispatch Width:    4
# BDWELL-NEXT:  IPC:               0.20
# BDWELL-NEXT:  Block RThroughput: 2.0

# BTVER2-NEXT:  Total Cycles:      11
# BTVER2-NEXT:  Dispatch Width:    2
# BTVER2-NEXT:  IPC:               0.18
# BTVER2-NEXT:  Block RThroughput: 2.0

# HASWELL-NEXT: Total Cycles:      11
# HASWELL-NEXT: Dispatch Width:    4
# HASWELL-NEXT: IPC:               0.18
# HASWELL-NEXT: Block RThroughput: 2.0

# IVY-NEXT:     Total Cycles:      11
# IVY-NEXT:     Dispatch Width:    4
# IVY-NEXT:     IPC:               0.18
# IVY-NEXT:     Block RThroughput: 1.0

# SANDY-NEXT:   Total Cycles:      11
# SANDY-NEXT:   Dispatch Width:    4
# SANDY-NEXT:   IPC:               0.18
# SANDY-NEXT:   Block RThroughput: 1.0

# SKYLAKE-NEXT: Total Cycles:      11
# SKYLAKE-NEXT: Dispatch Width:    6
# SKYLAKE-NEXT: IPC:               0.18
# SKYLAKE-NEXT: Block RThroughput: 0.7

# ZNVER1-NEXT:  Total Cycles:      11
# ZNVER1-NEXT:  Dispatch Width:    4
# ZNVER1-NEXT:  IPC:               0.18
# ZNVER1-NEXT:  Block RThroughput: 1.0

# BTVER2:       Timeline view:
# BTVER2-NEXT:                      0
# BTVER2-NEXT:  Index     0123456789

# HASWELL:      Timeline view:
# HASWELL-NEXT:                     0
# HASWELL-NEXT: Index     0123456789

# IVY:          Timeline view:
# IVY-NEXT:                         0
# IVY-NEXT:     Index     0123456789

# SANDY:        Timeline view:
# SANDY-NEXT:                       0
# SANDY-NEXT:   Index     0123456789

# SKYLAKE:      Timeline view:
# SKYLAKE-NEXT:                     0
# SKYLAKE-NEXT: Index     0123456789

# ZNVER1:       Timeline view:
# ZNVER1-NEXT:                      0
# ZNVER1-NEXT:  Index     0123456789

# BDWELL:       Timeline view:
# BDWELL-NEXT:  Index     0123456789

# BTVER2:       [0,0]     DeeeER    .   vaddps	%xmm0, %xmm0, %xmm1
# BTVER2-NEXT:  [0,1]     .DeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# HASWELL:      [0,0]     DeeeER    .   vaddps	%xmm0, %xmm0, %xmm1
# HASWELL-NEXT: [0,1]     DeeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# IVY:          [0,0]     DeeeER    .   vaddps	%xmm0, %xmm0, %xmm1
# IVY-NEXT:     [0,1]     DeeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# SANDY:        [0,0]     DeeeER    .   vaddps	%xmm0, %xmm0, %xmm1
# SANDY-NEXT:   [0,1]     DeeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# ZNVER1:       [0,0]     DeeeER    .   vaddps	%xmm0, %xmm0, %xmm1
# ZNVER1-NEXT:  [0,1]     DeeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# BDWELL:       [0,0]     DeeeER   .   vaddps	%xmm0, %xmm0, %xmm1
# BDWELL-NEXT:  [0,1]     DeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# SKYLAKE:      [0,0]     DeeeeER   .   vaddps	%xmm0, %xmm0, %xmm1
# SKYLAKE-NEXT: [0,1]     DeeeeeeeeER   vblendvps	%xmm1, (%rdi), %xmm2, %xmm3

# ALL:          Average Wait times (based on the timeline view):
# ALL-NEXT:     [0]: Executions
# ALL-NEXT:     [1]: Average time spent waiting in a scheduler's queue
# ALL-NEXT:     [2]: Average time spent waiting in a scheduler's queue while ready
# ALL-NEXT:     [3]: Average time elapsed from WB until retire stage

# ALL:                [0]    [1]    [2]    [3]
# ALL-NEXT:     0.     1     1.0    1.0    0.0       vaddps	%xmm0, %xmm0, %xmm1

# BDWELL-NEXT:  1.     1     1.0    0.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3
# BTVER2-NEXT:  1.     1     1.0    1.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3
# HASWELL-NEXT: 1.     1     1.0    0.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3
# IVY-NEXT:     1.     1     1.0    0.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3
# SANDY-NEXT:   1.     1     1.0    0.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3
# SKYLAKE-NEXT: 1.     1     1.0    0.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3
# ZNVER1-NEXT:  1.     1     1.0    0.0    0.0       vblendvps	%xmm1, (%rdi), %xmm2, %xmm3