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
16 # CHECK: Instruction Info:
17 # CHECK-NEXT: [1]: #uOps
18 # CHECK-NEXT: [2]: Latency
19 # CHECK-NEXT: [3]: RThroughput
20 # CHECK-NEXT: [4]: MayLoad
21 # CHECK-NEXT: [5]: MayStore
22 # CHECK-NEXT: [6]: HasSideEffects (U)
24 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
25 # CHECK-NEXT: 1 100 0.25 * * U rdfsbasel %eax
26 # CHECK-NEXT: 1 100 0.25 * * U rdfsbaseq %rax
27 # CHECK-NEXT: 1 100 0.25 * * U rdgsbasel %eax
28 # CHECK-NEXT: 1 100 0.25 * * U rdgsbaseq %rax
29 # CHECK-NEXT: 1 100 0.25 * * U wrfsbasel %edi
30 # CHECK-NEXT: 1 100 0.25 * * U wrfsbaseq %rdi
31 # CHECK-NEXT: 1 100 0.25 * * U wrgsbasel %edi
32 # CHECK-NEXT: 1 100 0.25 * * U wrgsbaseq %rdi
35 # CHECK-NEXT: [0] - ZnAGU0
36 # CHECK-NEXT: [1] - ZnAGU1
37 # CHECK-NEXT: [2] - ZnALU0
38 # CHECK-NEXT: [3] - ZnALU1
39 # CHECK-NEXT: [4] - ZnALU2
40 # CHECK-NEXT: [5] - ZnALU3
41 # CHECK-NEXT: [6] - ZnDivider
42 # CHECK-NEXT: [7] - ZnFPU0
43 # CHECK-NEXT: [8] - ZnFPU1
44 # CHECK-NEXT: [9] - ZnFPU2
45 # CHECK-NEXT: [10] - ZnFPU3
46 # CHECK-NEXT: [11] - ZnMultiplier
48 # CHECK: Resource pressure per iteration:
49 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
50 # CHECK-NEXT: - - - - - - - - - - - -
52 # CHECK: Resource pressure by instruction:
53 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
54 # CHECK-NEXT: - - - - - - - - - - - - rdfsbasel %eax
55 # CHECK-NEXT: - - - - - - - - - - - - rdfsbaseq %rax
56 # CHECK-NEXT: - - - - - - - - - - - - rdgsbasel %eax
57 # CHECK-NEXT: - - - - - - - - - - - - rdgsbaseq %rax
58 # CHECK-NEXT: - - - - - - - - - - - - wrfsbasel %edi
59 # CHECK-NEXT: - - - - - - - - - - - - wrfsbaseq %rdi
60 # CHECK-NEXT: - - - - - - - - - - - - wrgsbasel %edi
61 # CHECK-NEXT: - - - - - - - - - - - - wrgsbaseq %rdi