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
%zmm16
, %zmm17
, %zmm19
5 vpmadd52huq
(%rdi
), %zmm17
, %zmm19
6 vpmadd52huq
(%rdi
){1to8
}, %zmm17
, %zmm19
7 vpmadd52huq
%zmm16
, %zmm17
, %zmm19
{%k1
}
8 vpmadd52huq
(%rdi
), %zmm17
, %zmm19
{%k1
}
9 vpmadd52huq
(%rdi
){1to8
}, %zmm17
, %zmm19
{%k1
}
10 vpmadd52huq
%zmm16
, %zmm17
, %zmm19
{%k1
} {z
}
11 vpmadd52huq
(%rdi
), %zmm17
, %zmm19
{%k1
} {z
}
12 vpmadd52huq
(%rdi
){1to8
}, %zmm17
, %zmm19
{%k1
} {z
}
14 vpmadd52luq
%zmm16
, %zmm17
, %zmm19
15 vpmadd52luq
(%rdi
), %zmm17
, %zmm19
16 vpmadd52luq
(%rdi
){1to8
}, %zmm17
, %zmm19
17 vpmadd52luq
%zmm16
, %zmm17
, %zmm19
{%k1
}
18 vpmadd52luq
(%rdi
), %zmm17
, %zmm19
{%k1
}
19 vpmadd52luq
(%rdi
){1to8
}, %zmm17
, %zmm19
{%k1
}
20 vpmadd52luq
%zmm16
, %zmm17
, %zmm19
{%k1
} {z
}
21 vpmadd52luq
(%rdi
), %zmm17
, %zmm19
{%k1
} {z
}
22 vpmadd52luq
(%rdi
){1to8
}, %zmm17
, %zmm19
{%k1
} {z
}
24 # CHECK: Instruction Info:
25 # CHECK-NEXT: [1]: #uOps
26 # CHECK-NEXT: [2]: Latency
27 # CHECK-NEXT: [3]: RThroughput
28 # CHECK-NEXT: [4]: MayLoad
29 # CHECK-NEXT: [5]: MayStore
30 # CHECK-NEXT: [6]: HasSideEffects (U)
32 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
33 # CHECK-NEXT: 1 4 1.00 vpmadd52huq %zmm16, %zmm17, %zmm19
34 # CHECK-NEXT: 2 12 1.00 * vpmadd52huq (%rdi), %zmm17, %zmm19
35 # CHECK-NEXT: 2 12 1.00 * vpmadd52huq (%rdi){1to8}, %zmm17, %zmm19
36 # CHECK-NEXT: 1 4 1.00 vpmadd52huq %zmm16, %zmm17, %zmm19 {%k1}
37 # CHECK-NEXT: 2 12 1.00 * vpmadd52huq (%rdi), %zmm17, %zmm19 {%k1}
38 # CHECK-NEXT: 2 12 1.00 * vpmadd52huq (%rdi){1to8}, %zmm17, %zmm19 {%k1}
39 # CHECK-NEXT: 1 4 1.00 vpmadd52huq %zmm16, %zmm17, %zmm19 {%k1} {z}
40 # CHECK-NEXT: 2 12 1.00 * vpmadd52huq (%rdi), %zmm17, %zmm19 {%k1} {z}
41 # CHECK-NEXT: 2 12 1.00 * vpmadd52huq (%rdi){1to8}, %zmm17, %zmm19 {%k1} {z}
42 # CHECK-NEXT: 1 4 1.00 vpmadd52luq %zmm16, %zmm17, %zmm19
43 # CHECK-NEXT: 2 12 1.00 * vpmadd52luq (%rdi), %zmm17, %zmm19
44 # CHECK-NEXT: 2 12 1.00 * vpmadd52luq (%rdi){1to8}, %zmm17, %zmm19
45 # CHECK-NEXT: 1 4 1.00 vpmadd52luq %zmm16, %zmm17, %zmm19 {%k1}
46 # CHECK-NEXT: 2 12 1.00 * vpmadd52luq (%rdi), %zmm17, %zmm19 {%k1}
47 # CHECK-NEXT: 2 12 1.00 * vpmadd52luq (%rdi){1to8}, %zmm17, %zmm19 {%k1}
48 # CHECK-NEXT: 1 4 1.00 vpmadd52luq %zmm16, %zmm17, %zmm19 {%k1} {z}
49 # CHECK-NEXT: 2 12 1.00 * vpmadd52luq (%rdi), %zmm17, %zmm19 {%k1} {z}
50 # CHECK-NEXT: 2 12 1.00 * vpmadd52luq (%rdi){1to8}, %zmm17, %zmm19 {%k1} {z}
53 # CHECK-NEXT: [0] - SPRPort00
54 # CHECK-NEXT: [1] - SPRPort01
55 # CHECK-NEXT: [2] - SPRPort02
56 # CHECK-NEXT: [3] - SPRPort03
57 # CHECK-NEXT: [4] - SPRPort04
58 # CHECK-NEXT: [5] - SPRPort05
59 # CHECK-NEXT: [6] - SPRPort06
60 # CHECK-NEXT: [7] - SPRPort07
61 # CHECK-NEXT: [8] - SPRPort08
62 # CHECK-NEXT: [9] - SPRPort09
63 # CHECK-NEXT: [10] - SPRPort10
64 # CHECK-NEXT: [11] - SPRPort11
65 # CHECK-NEXT: [12] - SPRPortInvalid
67 # CHECK: Resource pressure per iteration:
68 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
69 # CHECK-NEXT: 18.00 - 4.00 4.00 - - - - - - - 4.00 -
71 # CHECK: Resource pressure by instruction:
72 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
73 # CHECK-NEXT: 1.00 - - - - - - - - - - - - vpmadd52huq %zmm16, %zmm17, %zmm19
74 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %zmm17, %zmm19
75 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to8}, %zmm17, %zmm19
76 # CHECK-NEXT: 1.00 - - - - - - - - - - - - vpmadd52huq %zmm16, %zmm17, %zmm19 {%k1}
77 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %zmm17, %zmm19 {%k1}
78 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to8}, %zmm17, %zmm19 {%k1}
79 # CHECK-NEXT: 1.00 - - - - - - - - - - - - vpmadd52huq %zmm16, %zmm17, %zmm19 {%k1} {z}
80 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi), %zmm17, %zmm19 {%k1} {z}
81 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52huq (%rdi){1to8}, %zmm17, %zmm19 {%k1} {z}
82 # CHECK-NEXT: 1.00 - - - - - - - - - - - - vpmadd52luq %zmm16, %zmm17, %zmm19
83 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %zmm17, %zmm19
84 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to8}, %zmm17, %zmm19
85 # CHECK-NEXT: 1.00 - - - - - - - - - - - - vpmadd52luq %zmm16, %zmm17, %zmm19 {%k1}
86 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %zmm17, %zmm19 {%k1}
87 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to8}, %zmm17, %zmm19 {%k1}
88 # CHECK-NEXT: 1.00 - - - - - - - - - - - - vpmadd52luq %zmm16, %zmm17, %zmm19 {%k1} {z}
89 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi), %zmm17, %zmm19 {%k1} {z}
90 # CHECK-NEXT: 1.00 - 0.33 0.33 - - - - - - - 0.33 - vpmadd52luq (%rdi){1to8}, %zmm17, %zmm19 {%k1} {z}