1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -instruction-tables < %s | FileCheck %s
6 # CHECK: Instruction Info:
7 # CHECK-NEXT: [1]: #uOps
8 # CHECK-NEXT: [2]: Latency
9 # CHECK-NEXT: [3]: RThroughput
10 # CHECK-NEXT: [4]: MayLoad
11 # CHECK-NEXT: [5]: MayStore
12 # CHECK-NEXT: [6]: HasSideEffects (U)
14 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
15 # CHECK-NEXT: 1 8 0.50 * * U clflushopt (%rax)
18 # CHECK-NEXT: [0] - ZnAGU0
19 # CHECK-NEXT: [1] - ZnAGU1
20 # CHECK-NEXT: [2] - ZnALU0
21 # CHECK-NEXT: [3] - ZnALU1
22 # CHECK-NEXT: [4] - ZnALU2
23 # CHECK-NEXT: [5] - ZnALU3
24 # CHECK-NEXT: [6] - ZnDivider
25 # CHECK-NEXT: [7] - ZnFPU0
26 # CHECK-NEXT: [8] - ZnFPU1
27 # CHECK-NEXT: [9] - ZnFPU2
28 # CHECK-NEXT: [10] - ZnFPU3
29 # CHECK-NEXT: [11] - ZnMultiplier
31 # CHECK: Resource pressure per iteration:
32 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
33 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - -
35 # CHECK: Resource pressure by instruction:
36 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
37 # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - clflushopt (%rax)