1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=alderlake -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] - ADLPPort00
36 # CHECK-NEXT: [1] - ADLPPort01
37 # CHECK-NEXT: [2] - ADLPPort02
38 # CHECK-NEXT: [3] - ADLPPort03
39 # CHECK-NEXT: [4] - ADLPPort04
40 # CHECK-NEXT: [5] - ADLPPort05
41 # CHECK-NEXT: [6] - ADLPPort06
42 # CHECK-NEXT: [7] - ADLPPort07
43 # CHECK-NEXT: [8] - ADLPPort08
44 # CHECK-NEXT: [9] - ADLPPort09
45 # CHECK-NEXT: [10] - ADLPPort10
46 # CHECK-NEXT: [11] - ADLPPort11
47 # CHECK-NEXT: [12] - ADLPPortInvalid
49 # CHECK: Resource pressure per iteration:
50 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
51 # CHECK-NEXT: 2.00 2.00 - - - 2.00 2.00 - - - - - -
53 # CHECK: Resource pressure by instruction:
54 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
55 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - rdfsbasel %eax
56 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - rdfsbaseq %rax
57 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - rdgsbasel %eax
58 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - rdgsbaseq %rax
59 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - wrfsbasel %edi
60 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - wrfsbaseq %rdi
61 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - wrgsbasel %edi
62 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - wrgsbaseq %rdi