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 vpdpbusd
%xmm0
, %xmm1
, %xmm2
5 vpdpbusd
(%rax
), %xmm1
, %xmm2
7 vpdpbusd
%ymm0
, %ymm1
, %ymm2
8 vpdpbusd
(%rax
), %ymm1
, %ymm2
10 vpdpbusds
%xmm0
, %xmm1
, %xmm2
11 vpdpbusds
(%rax
), %xmm1
, %xmm2
13 vpdpbusds
%ymm0
, %ymm1
, %ymm2
14 vpdpbusds
(%rax
), %ymm1
, %ymm2
16 vpdpwssd
%xmm0
, %xmm1
, %xmm2
17 vpdpwssd
(%rax
), %xmm1
, %xmm2
19 vpdpwssd
%ymm0
, %ymm1
, %ymm2
20 vpdpwssd
(%rax
), %ymm1
, %ymm2
22 vpdpwssds
%xmm0
, %xmm1
, %xmm2
23 vpdpwssds
(%rax
), %xmm1
, %xmm2
25 vpdpwssds
%ymm0
, %ymm1
, %ymm2
26 vpdpwssds
(%rax
), %ymm1
, %ymm2
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 5 0.50 vpdpbusd %xmm0, %xmm1, %xmm2
38 # CHECK-NEXT: 2 13 0.50 * vpdpbusd (%rax), %xmm1, %xmm2
39 # CHECK-NEXT: 1 5 0.50 vpdpbusd %ymm0, %ymm1, %ymm2
40 # CHECK-NEXT: 2 13 0.50 * vpdpbusd (%rax), %ymm1, %ymm2
41 # CHECK-NEXT: 1 5 0.50 vpdpbusds %xmm0, %xmm1, %xmm2
42 # CHECK-NEXT: 2 13 0.50 * vpdpbusds (%rax), %xmm1, %xmm2
43 # CHECK-NEXT: 1 5 0.50 vpdpbusds %ymm0, %ymm1, %ymm2
44 # CHECK-NEXT: 2 13 0.50 * vpdpbusds (%rax), %ymm1, %ymm2
45 # CHECK-NEXT: 1 5 0.50 vpdpwssd %xmm0, %xmm1, %xmm2
46 # CHECK-NEXT: 2 13 0.50 * vpdpwssd (%rax), %xmm1, %xmm2
47 # CHECK-NEXT: 1 5 0.50 vpdpwssd %ymm0, %ymm1, %ymm2
48 # CHECK-NEXT: 2 13 0.50 * vpdpwssd (%rax), %ymm1, %ymm2
49 # CHECK-NEXT: 1 5 0.50 vpdpwssds %xmm0, %xmm1, %xmm2
50 # CHECK-NEXT: 2 13 0.50 * vpdpwssds (%rax), %xmm1, %xmm2
51 # CHECK-NEXT: 1 5 0.50 vpdpwssds %ymm0, %ymm1, %ymm2
52 # CHECK-NEXT: 2 13 0.50 * vpdpwssds (%rax), %ymm1, %ymm2
55 # CHECK-NEXT: [0] - SPRPort00
56 # CHECK-NEXT: [1] - SPRPort01
57 # CHECK-NEXT: [2] - SPRPort02
58 # CHECK-NEXT: [3] - SPRPort03
59 # CHECK-NEXT: [4] - SPRPort04
60 # CHECK-NEXT: [5] - SPRPort05
61 # CHECK-NEXT: [6] - SPRPort06
62 # CHECK-NEXT: [7] - SPRPort07
63 # CHECK-NEXT: [8] - SPRPort08
64 # CHECK-NEXT: [9] - SPRPort09
65 # CHECK-NEXT: [10] - SPRPort10
66 # CHECK-NEXT: [11] - SPRPort11
67 # CHECK-NEXT: [12] - SPRPortInvalid
69 # CHECK: Resource pressure per iteration:
70 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
71 # CHECK-NEXT: 8.00 8.00 2.67 2.67 - - - - - - 2.67 - -
73 # CHECK: Resource pressure by instruction:
74 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
75 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpbusd %xmm0, %xmm1, %xmm2
76 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpbusd (%rax), %xmm1, %xmm2
77 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpbusd %ymm0, %ymm1, %ymm2
78 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpbusd (%rax), %ymm1, %ymm2
79 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpbusds %xmm0, %xmm1, %xmm2
80 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpbusds (%rax), %xmm1, %xmm2
81 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpbusds %ymm0, %ymm1, %ymm2
82 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpbusds (%rax), %ymm1, %ymm2
83 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpwssd %xmm0, %xmm1, %xmm2
84 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpwssd (%rax), %xmm1, %xmm2
85 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpwssd %ymm0, %ymm1, %ymm2
86 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpwssd (%rax), %ymm1, %ymm2
87 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpwssds %xmm0, %xmm1, %xmm2
88 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpwssds (%rax), %xmm1, %xmm2
89 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vpdpwssds %ymm0, %ymm1, %ymm2
90 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - 0.33 - - vpdpwssds (%rax), %ymm1, %ymm2