• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4monitorx
5mwaitx
6
7# CHECK:      Instruction Info:
8# CHECK-NEXT: [1]: #uOps
9# CHECK-NEXT: [2]: Latency
10# CHECK-NEXT: [3]: RThroughput
11# CHECK-NEXT: [4]: MayLoad
12# CHECK-NEXT: [5]: MayStore
13# CHECK-NEXT: [6]: HasSideEffects (U)
14
15# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
16# CHECK-NEXT:  1      100   0.25                  U     monitorx
17# CHECK-NEXT:  1      100   0.25                  U     mwaitx
18
19# CHECK:      Resources:
20# CHECK-NEXT: [0]   - ZnAGU0
21# CHECK-NEXT: [1]   - ZnAGU1
22# CHECK-NEXT: [2]   - ZnALU0
23# CHECK-NEXT: [3]   - ZnALU1
24# CHECK-NEXT: [4]   - ZnALU2
25# CHECK-NEXT: [5]   - ZnALU3
26# CHECK-NEXT: [6]   - ZnDivider
27# CHECK-NEXT: [7]   - ZnFPU0
28# CHECK-NEXT: [8]   - ZnFPU1
29# CHECK-NEXT: [9]   - ZnFPU2
30# CHECK-NEXT: [10]  - ZnFPU3
31# CHECK-NEXT: [11]  - ZnMultiplier
32
33# CHECK:      Resource pressure per iteration:
34# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]
35# CHECK-NEXT:  -      -      -      -      -      -      -      -      -      -      -      -
36
37# CHECK:      Resource pressure by instruction:
38# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]   Instructions:
39# CHECK-NEXT:  -      -      -      -      -      -      -      -      -      -      -      -     monitorx
40# CHECK-NEXT:  -      -      -      -      -      -      -      -      -      -      -      -     mwaitx
41