[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / Generic / resources-avx512vbmi.s
blob1829d1153c8d4acd7a6055ac671cec881a1a9464
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -instruction-tables < %s | FileCheck %s
4 vpermb %zmm16, %zmm17, %zmm19
5 vpermb (%rax), %zmm17, %zmm19
6 vpermb %zmm16, %zmm17, %zmm19 {k1}
7 vpermb (%rax), %zmm17, %zmm19 {k1}
8 vpermb %zmm16, %zmm17, %zmm19 {k1}{z}
9 vpermb (%rax), %zmm17, %zmm19 {k1}{z}
11 vpermi2b %zmm16, %zmm17, %zmm19
12 vpermi2b (%rax), %zmm17, %zmm19
13 vpermi2b %zmm16, %zmm17, %zmm19 {k1}
14 vpermi2b (%rax), %zmm17, %zmm19 {k1}
15 vpermi2b %zmm16, %zmm17, %zmm19 {k1}{z}
16 vpermi2b (%rax), %zmm17, %zmm19 {k1}{z}
18 vpermt2b %zmm16, %zmm17, %zmm19
19 vpermt2b (%rax), %zmm17, %zmm19
20 vpermt2b %zmm16, %zmm17, %zmm19 {k1}
21 vpermt2b (%rax), %zmm17, %zmm19 {k1}
22 vpermt2b %zmm16, %zmm17, %zmm19 {k1}{z}
23 vpermt2b (%rax), %zmm17, %zmm19 {k1}{z}
25 vpmultishiftqb %zmm16, %zmm17, %zmm19
26 vpmultishiftqb (%rax), %zmm17, %zmm19
27 vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19
28 vpmultishiftqb %zmm16, %zmm17, %zmm19 {k1}
29 vpmultishiftqb (%rax), %zmm17, %zmm19 {k1}
30 vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19 {k1}
31 vpmultishiftqb %zmm16, %zmm17, %zmm19 {k1}{z}
32 vpmultishiftqb (%rax), %zmm17, %zmm19 {k1}{z}
33 vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19 {k1}{z}
35 # CHECK: Instruction Info:
36 # CHECK-NEXT: [1]: #uOps
37 # CHECK-NEXT: [2]: Latency
38 # CHECK-NEXT: [3]: RThroughput
39 # CHECK-NEXT: [4]: MayLoad
40 # CHECK-NEXT: [5]: MayStore
41 # CHECK-NEXT: [6]: HasSideEffects (U)
43 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
44 # CHECK-NEXT: 1 1 1.00 vpermb %zmm16, %zmm17, %zmm19
45 # CHECK-NEXT: 2 8 1.00 * vpermb (%rax), %zmm17, %zmm19
46 # CHECK-NEXT: 1 1 1.00 vpermb %zmm16, %zmm17, %zmm19 {%k1}
47 # CHECK-NEXT: 2 8 1.00 * vpermb (%rax), %zmm17, %zmm19 {%k1}
48 # CHECK-NEXT: 1 1 1.00 vpermb %zmm16, %zmm17, %zmm19 {%k1} {z}
49 # CHECK-NEXT: 2 8 1.00 * vpermb (%rax), %zmm17, %zmm19 {%k1} {z}
50 # CHECK-NEXT: 1 1 1.00 vpermi2b %zmm16, %zmm17, %zmm19
51 # CHECK-NEXT: 2 8 1.00 * vpermi2b (%rax), %zmm17, %zmm19
52 # CHECK-NEXT: 1 1 1.00 vpermi2b %zmm16, %zmm17, %zmm19 {%k1}
53 # CHECK-NEXT: 2 8 1.00 * vpermi2b (%rax), %zmm17, %zmm19 {%k1}
54 # CHECK-NEXT: 1 1 1.00 vpermi2b %zmm16, %zmm17, %zmm19 {%k1} {z}
55 # CHECK-NEXT: 2 8 1.00 * vpermi2b (%rax), %zmm17, %zmm19 {%k1} {z}
56 # CHECK-NEXT: 1 1 1.00 vpermt2b %zmm16, %zmm17, %zmm19
57 # CHECK-NEXT: 2 8 1.00 * vpermt2b (%rax), %zmm17, %zmm19
58 # CHECK-NEXT: 1 1 1.00 vpermt2b %zmm16, %zmm17, %zmm19 {%k1}
59 # CHECK-NEXT: 2 8 1.00 * vpermt2b (%rax), %zmm17, %zmm19 {%k1}
60 # CHECK-NEXT: 1 1 1.00 vpermt2b %zmm16, %zmm17, %zmm19 {%k1} {z}
61 # CHECK-NEXT: 2 8 1.00 * vpermt2b (%rax), %zmm17, %zmm19 {%k1} {z}
62 # CHECK-NEXT: 1 1 0.50 vpmultishiftqb %zmm16, %zmm17, %zmm19
63 # CHECK-NEXT: 2 8 0.50 * vpmultishiftqb (%rax), %zmm17, %zmm19
64 # CHECK-NEXT: 2 8 0.50 * vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19
65 # CHECK-NEXT: 1 1 0.50 vpmultishiftqb %zmm16, %zmm17, %zmm19 {%k1}
66 # CHECK-NEXT: 2 8 0.50 * vpmultishiftqb (%rax), %zmm17, %zmm19 {%k1}
67 # CHECK-NEXT: 2 8 0.50 * vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19 {%k1}
68 # CHECK-NEXT: 1 1 0.50 vpmultishiftqb %zmm16, %zmm17, %zmm19 {%k1} {z}
69 # CHECK-NEXT: 2 8 0.50 * vpmultishiftqb (%rax), %zmm17, %zmm19 {%k1} {z}
70 # CHECK-NEXT: 2 8 0.50 * vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
72 # CHECK: Resources:
73 # CHECK-NEXT: [0] - SBDivider
74 # CHECK-NEXT: [1] - SBFPDivider
75 # CHECK-NEXT: [2] - SBPort0
76 # CHECK-NEXT: [3] - SBPort1
77 # CHECK-NEXT: [4] - SBPort4
78 # CHECK-NEXT: [5] - SBPort5
79 # CHECK-NEXT: [6.0] - SBPort23
80 # CHECK-NEXT: [6.1] - SBPort23
82 # CHECK: Resource pressure per iteration:
83 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
84 # CHECK-NEXT: - - - 4.50 - 22.50 7.50 7.50
86 # CHECK: Resource pressure by instruction:
87 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
88 # CHECK-NEXT: - - - - - 1.00 - - vpermb %zmm16, %zmm17, %zmm19
89 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermb (%rax), %zmm17, %zmm19
90 # CHECK-NEXT: - - - - - 1.00 - - vpermb %zmm16, %zmm17, %zmm19 {%k1}
91 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermb (%rax), %zmm17, %zmm19 {%k1}
92 # CHECK-NEXT: - - - - - 1.00 - - vpermb %zmm16, %zmm17, %zmm19 {%k1} {z}
93 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermb (%rax), %zmm17, %zmm19 {%k1} {z}
94 # CHECK-NEXT: - - - - - 1.00 - - vpermi2b %zmm16, %zmm17, %zmm19
95 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermi2b (%rax), %zmm17, %zmm19
96 # CHECK-NEXT: - - - - - 1.00 - - vpermi2b %zmm16, %zmm17, %zmm19 {%k1}
97 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermi2b (%rax), %zmm17, %zmm19 {%k1}
98 # CHECK-NEXT: - - - - - 1.00 - - vpermi2b %zmm16, %zmm17, %zmm19 {%k1} {z}
99 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermi2b (%rax), %zmm17, %zmm19 {%k1} {z}
100 # CHECK-NEXT: - - - - - 1.00 - - vpermt2b %zmm16, %zmm17, %zmm19
101 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermt2b (%rax), %zmm17, %zmm19
102 # CHECK-NEXT: - - - - - 1.00 - - vpermt2b %zmm16, %zmm17, %zmm19 {%k1}
103 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermt2b (%rax), %zmm17, %zmm19 {%k1}
104 # CHECK-NEXT: - - - - - 1.00 - - vpermt2b %zmm16, %zmm17, %zmm19 {%k1} {z}
105 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpermt2b (%rax), %zmm17, %zmm19 {%k1} {z}
106 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpmultishiftqb %zmm16, %zmm17, %zmm19
107 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpmultishiftqb (%rax), %zmm17, %zmm19
108 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19
109 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpmultishiftqb %zmm16, %zmm17, %zmm19 {%k1}
110 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpmultishiftqb (%rax), %zmm17, %zmm19 {%k1}
111 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19 {%k1}
112 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpmultishiftqb %zmm16, %zmm17, %zmm19 {%k1} {z}
113 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpmultishiftqb (%rax), %zmm17, %zmm19 {%k1} {z}
114 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpmultishiftqb (%rax){1to8}, %zmm17, %zmm19 {%k1} {z}