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 vaesdec
%xmm16
, %xmm17
, %xmm19
5 vaesdec
(%rax
), %xmm17
, %xmm19
7 vaesdec
%ymm16
, %ymm17
, %ymm19
8 vaesdec
(%rax
), %ymm17
, %ymm19
10 vaesdeclast
%xmm16
, %xmm17
, %xmm19
11 vaesdeclast
(%rax
), %xmm17
, %xmm19
13 vaesdeclast
%ymm16
, %ymm17
, %ymm19
14 vaesdeclast
(%rax
), %ymm17
, %ymm19
16 vaesenc
%xmm16
, %xmm17
, %xmm19
17 vaesenc
(%rax
), %xmm17
, %xmm19
19 vaesenc
%ymm16
, %ymm17
, %ymm19
20 vaesenc
(%rax
), %ymm17
, %ymm19
22 vaesenclast
%xmm16
, %xmm17
, %xmm19
23 vaesenclast
(%rax
), %xmm17
, %xmm19
25 vaesenclast
%ymm16
, %ymm17
, %ymm19
26 vaesenclast
(%rax
), %ymm17
, %ymm19
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 vaesdec %xmm16, %xmm17, %xmm19
38 # CHECK-NEXT: 2 12 0.50 * vaesdec (%rax), %xmm17, %xmm19
39 # CHECK-NEXT: 1 5 0.50 vaesdec %ymm16, %ymm17, %ymm19
40 # CHECK-NEXT: 2 12 0.50 * vaesdec (%rax), %ymm17, %ymm19
41 # CHECK-NEXT: 1 5 0.50 vaesdeclast %xmm16, %xmm17, %xmm19
42 # CHECK-NEXT: 2 12 0.50 * vaesdeclast (%rax), %xmm17, %xmm19
43 # CHECK-NEXT: 1 5 0.50 vaesdeclast %ymm16, %ymm17, %ymm19
44 # CHECK-NEXT: 2 12 0.50 * vaesdeclast (%rax), %ymm17, %ymm19
45 # CHECK-NEXT: 1 5 0.50 vaesenc %xmm16, %xmm17, %xmm19
46 # CHECK-NEXT: 2 12 0.50 * vaesenc (%rax), %xmm17, %xmm19
47 # CHECK-NEXT: 1 5 0.50 vaesenc %ymm16, %ymm17, %ymm19
48 # CHECK-NEXT: 2 12 0.50 * vaesenc (%rax), %ymm17, %ymm19
49 # CHECK-NEXT: 1 5 0.50 vaesenclast %xmm16, %xmm17, %xmm19
50 # CHECK-NEXT: 2 12 0.50 * vaesenclast (%rax), %xmm17, %xmm19
51 # CHECK-NEXT: 1 5 0.50 vaesenclast %ymm16, %ymm17, %ymm19
52 # CHECK-NEXT: 2 12 0.50 * vaesenclast (%rax), %ymm17, %ymm19
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 - - - - - - - - - - - vaesdec %xmm16, %xmm17, %xmm19
76 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesdec (%rax), %xmm17, %xmm19
77 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesdec %ymm16, %ymm17, %ymm19
78 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesdec (%rax), %ymm17, %ymm19
79 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesdeclast %xmm16, %xmm17, %xmm19
80 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesdeclast (%rax), %xmm17, %xmm19
81 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesdeclast %ymm16, %ymm17, %ymm19
82 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesdeclast (%rax), %ymm17, %ymm19
83 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesenc %xmm16, %xmm17, %xmm19
84 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesenc (%rax), %xmm17, %xmm19
85 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesenc %ymm16, %ymm17, %ymm19
86 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesenc (%rax), %ymm17, %ymm19
87 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesenclast %xmm16, %xmm17, %xmm19
88 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesenclast (%rax), %xmm17, %xmm19
89 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - vaesenclast %ymm16, %ymm17, %ymm19
90 # CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vaesenclast (%rax), %ymm17, %ymm19