• 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=skylake -instruction-tables < %s | FileCheck %s
3
4clflushopt (%rax)
5
6# CHECK:      Instruction Info:
7# CHECK-NEXT: [1]: #uOps
8# CHECK-NEXT: [2]: Latency
9# CHECK-NEXT: [3]: RThroughput
10# CHECK-NEXT: [4]: MayLoad
11# CHECK-NEXT: [5]: MayStore
12# CHECK-NEXT: [6]: HasSideEffects (U)
13
14# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
15# CHECK-NEXT:  2      2     1.00    *      *      U     clflushopt	(%rax)
16
17# CHECK:      Resources:
18# CHECK-NEXT: [0]   - SKLDivider
19# CHECK-NEXT: [1]   - SKLFPDivider
20# CHECK-NEXT: [2]   - SKLPort0
21# CHECK-NEXT: [3]   - SKLPort1
22# CHECK-NEXT: [4]   - SKLPort2
23# CHECK-NEXT: [5]   - SKLPort3
24# CHECK-NEXT: [6]   - SKLPort4
25# CHECK-NEXT: [7]   - SKLPort5
26# CHECK-NEXT: [8]   - SKLPort6
27# CHECK-NEXT: [9]   - SKLPort7
28
29# CHECK:      Resource pressure per iteration:
30# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]
31# CHECK-NEXT:  -      -     0.25   0.25    -      -      -     0.25   1.25    -
32
33# CHECK:      Resource pressure by instruction:
34# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    Instructions:
35# CHECK-NEXT:  -      -     0.25   0.25    -      -      -     0.25   1.25    -     clflushopt	(%rax)
36