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
8 # CHECK: Instruction Info:
9 # CHECK-NEXT: [1]: #uOps
10 # CHECK-NEXT: [2]: Latency
11 # CHECK-NEXT: [3]: RThroughput
12 # CHECK-NEXT: [4]: MayLoad
13 # CHECK-NEXT: [5]: MayStore
14 # CHECK-NEXT: [6]: HasSideEffects (U)
16 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
17 # CHECK-NEXT: 25 1381 7.00 U rdseedw %ax
18 # CHECK-NEXT: 25 100 7.00 U rdseedl %eax
19 # CHECK-NEXT: 25 100 7.00 U rdseedq %rax
22 # CHECK-NEXT: [0] - ADLPPort00
23 # CHECK-NEXT: [1] - ADLPPort01
24 # CHECK-NEXT: [2] - ADLPPort02
25 # CHECK-NEXT: [3] - ADLPPort03
26 # CHECK-NEXT: [4] - ADLPPort04
27 # CHECK-NEXT: [5] - ADLPPort05
28 # CHECK-NEXT: [6] - ADLPPort06
29 # CHECK-NEXT: [7] - ADLPPort07
30 # CHECK-NEXT: [8] - ADLPPort08
31 # CHECK-NEXT: [9] - ADLPPort09
32 # CHECK-NEXT: [10] - ADLPPort10
33 # CHECK-NEXT: [11] - ADLPPort11
34 # CHECK-NEXT: [12] - ADLPPortInvalid
36 # CHECK: Resource pressure per iteration:
37 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
38 # CHECK-NEXT: 19.50 24.00 1.00 1.00 - 18.00 10.50 - - - - 1.00 -
40 # CHECK: Resource pressure by instruction:
41 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
42 # CHECK-NEXT: 6.50 8.00 0.33 0.33 - 6.00 3.50 - - - - 0.33 - rdseedw %ax
43 # CHECK-NEXT: 6.50 8.00 0.33 0.33 - 6.00 3.50 - - - - 0.33 - rdseedl %eax
44 # CHECK-NEXT: 6.50 8.00 0.33 0.33 - 6.00 3.50 - - - - 0.33 - rdseedq %rax