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
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: 1 100 0.25 U rdrandw %ax
18 # CHECK-NEXT: 1 100 0.25 U rdrandl %eax
19 # CHECK-NEXT: 1 100 0.25 U rdrandq %rax
22 # CHECK-NEXT: [0] - ZnAGU0
23 # CHECK-NEXT: [1] - ZnAGU1
24 # CHECK-NEXT: [2] - ZnALU0
25 # CHECK-NEXT: [3] - ZnALU1
26 # CHECK-NEXT: [4] - ZnALU2
27 # CHECK-NEXT: [5] - ZnALU3
28 # CHECK-NEXT: [6] - ZnDivider
29 # CHECK-NEXT: [7] - ZnFPU0
30 # CHECK-NEXT: [8] - ZnFPU1
31 # CHECK-NEXT: [9] - ZnFPU2
32 # CHECK-NEXT: [10] - ZnFPU3
33 # CHECK-NEXT: [11] - ZnMultiplier
35 # CHECK: Resource pressure per iteration:
36 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
37 # CHECK-NEXT: - - - - - - - - - - - -
39 # CHECK: Resource pressure by instruction:
40 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
41 # CHECK-NEXT: - - - - - - - - - - - - rdrandw %ax
42 # CHECK-NEXT: - - - - - - - - - - - - rdrandl %eax
43 # CHECK-NEXT: - - - - - - - - - - - - rdrandq %rax