[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-mca / X86 / Generic / resources-avx512vpopcntdq.s
blobf754e63cb8045e2cbdcb0cd9c77ce725b6fb7c6a
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 vpopcntd %zmm1, %zmm0
5 vpopcntd (%rdi), %zmm0
6 vpopcntd (%rdi){1to16}, %zmm0
8 vpopcntd %zmm1, %zmm0 {%k1}
9 vpopcntd (%rdi), %zmm0 {%k1}
10 vpopcntd (%rdi){1to16}, %zmm0 {%k1}
12 vpopcntd %zmm1, %zmm0 {%k1} {z}
13 vpopcntd (%rdi), %zmm0 {%k1} {z}
14 vpopcntd (%rdi){1to16}, %zmm0 {%k1} {z}
16 vpopcntq %zmm1, %zmm0
17 vpopcntq (%rdi), %zmm0
18 vpopcntq (%rdi){1to8}, %zmm0
20 vpopcntq %zmm1, %zmm0 {%k1}
21 vpopcntq (%rdi), %zmm0 {%k1}
22 vpopcntq (%rdi){1to8}, %zmm0 {%k1}
24 vpopcntq %zmm1, %zmm0 {%k1} {z}
25 vpopcntq (%rdi), %zmm0 {%k1} {z}
26 vpopcntq (%rdi){1to8}, %zmm0 {%k1} {z}
28 # CHECK: Instruction Info:
29 # CHECK-NEXT: [1]: #uOps
30 # CHECK-NEXT: [2]: Latency
31 # CHECK-NEXT: [3]: RThroughput
32 # CHECK-NEXT: [4]: MayLoad
33 # CHECK-NEXT: [5]: MayStore
34 # CHECK-NEXT: [6]: HasSideEffects (U)
36 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
37 # CHECK-NEXT: 1 1 0.50 vpopcntd %zmm1, %zmm0
38 # CHECK-NEXT: 2 8 0.50 * vpopcntd (%rdi), %zmm0
39 # CHECK-NEXT: 2 8 0.50 * vpopcntd (%rdi){1to16}, %zmm0
40 # CHECK-NEXT: 1 1 0.50 vpopcntd %zmm1, %zmm0 {%k1}
41 # CHECK-NEXT: 2 8 0.50 * vpopcntd (%rdi), %zmm0 {%k1}
42 # CHECK-NEXT: 2 8 0.50 * vpopcntd (%rdi){1to16}, %zmm0 {%k1}
43 # CHECK-NEXT: 1 1 0.50 vpopcntd %zmm1, %zmm0 {%k1} {z}
44 # CHECK-NEXT: 2 8 0.50 * vpopcntd (%rdi), %zmm0 {%k1} {z}
45 # CHECK-NEXT: 2 8 0.50 * vpopcntd (%rdi){1to16}, %zmm0 {%k1} {z}
46 # CHECK-NEXT: 1 1 0.50 vpopcntq %zmm1, %zmm0
47 # CHECK-NEXT: 2 8 0.50 * vpopcntq (%rdi), %zmm0
48 # CHECK-NEXT: 2 8 0.50 * vpopcntq (%rdi){1to8}, %zmm0
49 # CHECK-NEXT: 1 1 0.50 vpopcntq %zmm1, %zmm0 {%k1}
50 # CHECK-NEXT: 2 8 0.50 * vpopcntq (%rdi), %zmm0 {%k1}
51 # CHECK-NEXT: 2 8 0.50 * vpopcntq (%rdi){1to8}, %zmm0 {%k1}
52 # CHECK-NEXT: 1 1 0.50 vpopcntq %zmm1, %zmm0 {%k1} {z}
53 # CHECK-NEXT: 2 8 0.50 * vpopcntq (%rdi), %zmm0 {%k1} {z}
54 # CHECK-NEXT: 2 8 0.50 * vpopcntq (%rdi){1to8}, %zmm0 {%k1} {z}
56 # CHECK: Resources:
57 # CHECK-NEXT: [0] - SBDivider
58 # CHECK-NEXT: [1] - SBFPDivider
59 # CHECK-NEXT: [2] - SBPort0
60 # CHECK-NEXT: [3] - SBPort1
61 # CHECK-NEXT: [4] - SBPort4
62 # CHECK-NEXT: [5] - SBPort5
63 # CHECK-NEXT: [6.0] - SBPort23
64 # CHECK-NEXT: [6.1] - SBPort23
66 # CHECK: Resource pressure per iteration:
67 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
68 # CHECK-NEXT: - - - 9.00 - 9.00 6.00 6.00
70 # CHECK: Resource pressure by instruction:
71 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
72 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpopcntd %zmm1, %zmm0
73 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntd (%rdi), %zmm0
74 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntd (%rdi){1to16}, %zmm0
75 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpopcntd %zmm1, %zmm0 {%k1}
76 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntd (%rdi), %zmm0 {%k1}
77 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntd (%rdi){1to16}, %zmm0 {%k1}
78 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpopcntd %zmm1, %zmm0 {%k1} {z}
79 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntd (%rdi), %zmm0 {%k1} {z}
80 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntd (%rdi){1to16}, %zmm0 {%k1} {z}
81 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpopcntq %zmm1, %zmm0
82 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntq (%rdi), %zmm0
83 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntq (%rdi){1to8}, %zmm0
84 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpopcntq %zmm1, %zmm0 {%k1}
85 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntq (%rdi), %zmm0 {%k1}
86 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntq (%rdi){1to8}, %zmm0 {%k1}
87 # CHECK-NEXT: - - - 0.50 - 0.50 - - vpopcntq %zmm1, %zmm0 {%k1} {z}
88 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntq (%rdi), %zmm0 {%k1} {z}
89 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpopcntq (%rdi){1to8}, %zmm0 {%k1} {z}