1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=sapphirerapids -instruction-tables < %s | FileCheck %s
4 vpmadd52huq
%xmm16
, %xmm17
, %xmm19
5 vpmadd52huq
(%rdi
), %xmm17
, %xmm19
6 vpmadd52huq
(%rdi
){1to2
}, %xmm17
, %xmm19
7 vpmadd52huq
%xmm16
, %xmm17
, %xmm19
{%k1
}
8 vpmadd52huq
(%rdi
), %xmm17
, %xmm19
{%k1
}
9 vpmadd52huq
(%rdi
){1to2
}, %xmm17
, %xmm19
{%k1
}
10 vpmadd52huq
%xmm16
, %xmm17
, %xmm19
{%k1
} {z
}
11 vpmadd52huq
(%rdi
), %xmm17
, %xmm19
{%k1
} {z
}
12 vpmadd52huq
(%rdi
){1to2
}, %xmm17
, %xmm19
{%k1
} {z
}
14 vpmadd52huq
%ymm16
, %ymm17
, %ymm19
15 vpmadd52huq
(%rdi
), %ymm17
, %ymm19
16 vpmadd52huq
(%rdi
){1to4
}, %ymm17
, %ymm19
17 vpmadd52huq
%ymm16
, %ymm17
, %ymm19
{%k1
}
18 vpmadd52huq
(%rdi
), %ymm17
, %ymm19
{%k1
}
19 vpmadd52huq
(%rdi
){1to4
}, %ymm17
, %ymm19
{%k1
}
20 vpmadd52huq
%ymm16
, %ymm17
, %ymm19
{%k1
} {z
}
21 vpmadd52huq
(%rdi
), %ymm17
, %ymm19
{%k1
} {z
}
22 vpmadd52huq
(%rdi
){1to4
}, %ymm17
, %ymm19
{%k1
} {z
}
24 vpmadd52luq
%xmm16
, %xmm17
, %xmm19
25 vpmadd52luq
(%rdi
), %xmm17
, %xmm19
26 vpmadd52luq
(%rdi
){1to2
}, %xmm17
, %xmm19
27 vpmadd52luq
%xmm16
, %xmm17
, %xmm19
{%k1
}
28 vpmadd52luq
(%rdi
), %xmm17
, %xmm19
{%k1
}
29 vpmadd52luq
(%rdi
){1to2
}, %xmm17
, %xmm19
{%k1
}
30 vpmadd52luq
%xmm16
, %xmm17
, %xmm19
{%k1
} {z
}
31 vpmadd52luq
(%rdi
), %xmm17
, %xmm19
{%k1
} {z
}
32 vpmadd52luq
(%rdi
){1to2
}, %xmm17
, %xmm19
{%k1
} {z
}
34 vpmadd52luq
%ymm16
, %ymm17
, %ymm19
35 vpmadd52luq
(%rdi
), %ymm17
, %ymm19
36 vpmadd52luq
(%rdi
){1to4
}, %ymm17
, %ymm19
37 vpmadd52luq
%ymm16
, %ymm17
, %ymm19
{%k1
}
38 vpmadd52luq
(%rdi
), %ymm17
, %ymm19
{%k1
}
39 vpmadd52luq
(%rdi
){1to4
}, %ymm17
, %ymm19
{%k1
}
40 vpmadd52luq
%ymm16
, %ymm17
, %ymm19
{%k1
} {z
}
41 vpmadd52luq
(%rdi
), %ymm17
, %ymm19
{%k1
} {z
}
42 vpmadd52luq
(%rdi
){1to4
}, %ymm17
, %ymm19
{%k1
} {z
}
44 # CHECK: Instruction Info:
45 # CHECK-NEXT: [1]: #uOps
46 # CHECK-NEXT: [2]: Latency
47 # CHECK-NEXT: [3]: RThroughput
48 # CHECK-NEXT: [4]: MayLoad
49 # CHECK-NEXT: [5]: MayStore
50 # CHECK-NEXT: [6]: HasSideEffects (U)
52 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
53 # CHECK-NEXT: 1 4 0.50 vpmadd52huq %xmm16, %xmm17, %xmm19
54 # CHECK-NEXT: 2 11 0.50 * vpmadd52huq (%rdi), %xmm17, %xmm19
55 # CHECK-NEXT: 2 11 0.50 * vpmadd52huq (%rdi){1to2}, %xmm17, %xmm19
56 # CHECK-NEXT: 1 4 0.50 vpmadd52huq %xmm16, %xmm17, %xmm19 {%k1}
57 # CHECK-NEXT: 2 11 0.50 * vpmadd52huq (%rdi), %xmm17, %xmm19 {%k1}
58 # CHECK-NEXT: 2 11 0.50 * vpmadd52huq (%rdi){1to2}, %xmm17, %xmm19 {%k1}
59 # CHECK-NEXT: 1 4 0.50 vpmadd52huq %xmm16, %xmm17, %xmm19 {%k1} {z}
60 # CHECK-NEXT: 2 11 0.50 * vpmadd52huq (%rdi), %xmm17, %xmm19 {%k1} {z}
61 # CHECK-NEXT: 2 11 0.50 * vpmadd52huq (%rdi){1to2}, %xmm17, %xmm19 {%k1} {z}
62 # CHECK-NEXT: 1 4 0.50 vpmadd52huq %ymm16, %ymm17, %ymm19
63 # CHECK-NEXT: 2 12 0.50 * vpmadd52huq (%rdi), %ymm17, %ymm19
64 # CHECK-NEXT: 2 12 0.50 * vpmadd52huq (%rdi){1to4}, %ymm17, %ymm19
65 # CHECK-NEXT: 1 4 0.50 vpmadd52huq %ymm16, %ymm17, %ymm19 {%k1}
66 # CHECK-NEXT: 2 12 0.50 * vpmadd52huq (%rdi), %ymm17, %ymm19 {%k1}
67 # CHECK-NEXT: 2 12 0.50 * vpmadd52huq (%rdi){1to4}, %ymm17, %ymm19 {%k1}
68 # CHECK-NEXT: 1 4 0.50 vpmadd52huq %ymm16, %ymm17, %ymm19 {%k1} {z}
69 # CHECK-NEXT: 2 12 0.50 * vpmadd52huq (%rdi), %ymm17, %ymm19 {%k1} {z}
70 # CHECK-NEXT: 2 12 0.50 * vpmadd52huq (%rdi){1to4}, %ymm17, %ymm19 {%k1} {z}
71 # CHECK-NEXT: 1 4 0.50 vpmadd52luq %xmm16, %xmm17, %xmm19
72 # CHECK-NEXT: 2 11 0.50 * vpmadd52luq (%rdi), %xmm17, %xmm19
73 # CHECK-NEXT: 2 11 0.50 * vpmadd52luq (%rdi){1to2}, %xmm17, %xmm19
74 # CHECK-NEXT: 1 4 0.50 vpmadd52luq %xmm16, %xmm17, %xmm19 {%k1}
75 # CHECK-NEXT: 2 11 0.50 * vpmadd52luq (%rdi), %xmm17, %xmm19 {%k1}
76 # CHECK-NEXT: 2 11 0.50 * vpmadd52luq (%rdi){1to2}, %xmm17, %xmm19 {%k1}
77 # CHECK-NEXT: 1 4 0.50 vpmadd52luq %xmm16, %xmm17, %xmm19 {%k1} {z}
78 # CHECK-NEXT: 2 11 0.50 * vpmadd52luq (%rdi), %xmm17, %xmm19 {%k1} {z}
79 # CHECK-NEXT: 2 11 0.50 * vpmadd52luq (%rdi){1to2}, %xmm17, %xmm19 {%k1} {z}
80 # CHECK-NEXT: 1 4 0.50 vpmadd52luq %ymm16, %ymm17, %ymm19
81 # CHECK-NEXT: 2 12 0.50 * vpmadd52luq (%rdi), %ymm17, %ymm19
82 # CHECK-NEXT: 2 12 0.50 * vpmadd52luq (%rdi){1to4}, %ymm17, %ymm19
83 # CHECK-NEXT: 1 4 0.50 vpmadd52luq %ymm16, %ymm17, %ymm19 {%k1}
84 # CHECK-NEXT: 2 12 0.50 * vpmadd52luq (%rdi), %ymm17, %ymm19 {%k1}
85 # CHECK-NEXT: 2 12 0.50 * vpmadd52luq (%rdi){1to4}, %ymm17, %ymm19 {%k1}
86 # CHECK-NEXT: 1 4 0.50 vpmadd52luq %ymm16, %ymm17, %ymm19 {%k1} {z}
87 # CHECK-NEXT: 2 12 0.50 * vpmadd52luq (%rdi), %ymm17, %ymm19 {%k1} {z}
88 # CHECK-NEXT: 2 12 0.50 * vpmadd52luq (%rdi){1to4}, %ymm17, %ymm19 {%k1} {z}
91 # CHECK-NEXT: [0] - SPRPort00
92 # CHECK-NEXT: [1] - SPRPort01
93 # CHECK-NEXT: [2] - SPRPort02
94 # CHECK-NEXT: [3] - SPRPort03
95 # CHECK-NEXT: [4] - SPRPort04
96 # CHECK-NEXT: [5] - SPRPort05
97 # CHECK-NEXT: [6] - SPRPort06
98 # CHECK-NEXT: [7] - SPRPort07
99 # CHECK-NEXT: [8] - SPRPort08
100 # CHECK-NEXT: [9] - SPRPort09
101 # CHECK-NEXT: [10] - SPRPort10
102 # CHECK-NEXT: [11] - SPRPort11
103 # CHECK-NEXT: [12] - SPRPortInvalid
105 # CHECK: Resource pressure per iteration:
106 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
107 # CHECK-NEXT: 18.00 18.00 8.00 8.00 - - - - - - - 8.00 -
109 # CHECK: Resource pressure by instruction:
110 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
111 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52huq %xmm16, %xmm17, %xmm19
112 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %xmm17, %xmm19
113 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to2}, %xmm17, %xmm19
114 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52huq %xmm16, %xmm17, %xmm19 {%k1}
115 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %xmm17, %xmm19 {%k1}
116 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to2}, %xmm17, %xmm19 {%k1}
117 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52huq %xmm16, %xmm17, %xmm19 {%k1} {z}
118 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %xmm17, %xmm19 {%k1} {z}
119 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to2}, %xmm17, %xmm19 {%k1} {z}
120 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52huq %ymm16, %ymm17, %ymm19
121 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %ymm17, %ymm19
122 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to4}, %ymm17, %ymm19
123 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52huq %ymm16, %ymm17, %ymm19 {%k1}
124 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %ymm17, %ymm19 {%k1}
125 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to4}, %ymm17, %ymm19 {%k1}
126 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52huq %ymm16, %ymm17, %ymm19 {%k1} {z}
127 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %ymm17, %ymm19 {%k1} {z}
128 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to4}, %ymm17, %ymm19 {%k1} {z}
129 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52luq %xmm16, %xmm17, %xmm19
130 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %xmm17, %xmm19
131 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to2}, %xmm17, %xmm19
132 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52luq %xmm16, %xmm17, %xmm19 {%k1}
133 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %xmm17, %xmm19 {%k1}
134 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to2}, %xmm17, %xmm19 {%k1}
135 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52luq %xmm16, %xmm17, %xmm19 {%k1} {z}
136 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %xmm17, %xmm19 {%k1} {z}
137 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to2}, %xmm17, %xmm19 {%k1} {z}
138 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52luq %ymm16, %ymm17, %ymm19
139 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %ymm17, %ymm19
140 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to4}, %ymm17, %ymm19
141 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52luq %ymm16, %ymm17, %ymm19 {%k1}
142 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %ymm17, %ymm19 {%k1}
143 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to4}, %ymm17, %ymm19 {%k1}
144 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpmadd52luq %ymm16, %ymm17, %ymm19 {%k1} {z}
145 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %ymm17, %ymm19 {%k1} {z}
146 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to4}, %ymm17, %ymm19 {%k1} {z}