• 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=znver2 -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:  1      8     0.33    *      *      U     clflushopt	(%rax)
16
17# CHECK:      Resources:
18# CHECK-NEXT: [0]   - Zn2AGU0
19# CHECK-NEXT: [1]   - Zn2AGU1
20# CHECK-NEXT: [2]   - Zn2AGU2
21# CHECK-NEXT: [3]   - Zn2ALU0
22# CHECK-NEXT: [4]   - Zn2ALU1
23# CHECK-NEXT: [5]   - Zn2ALU2
24# CHECK-NEXT: [6]   - Zn2ALU3
25# CHECK-NEXT: [7]   - Zn2Divider
26# CHECK-NEXT: [8]   - Zn2FPU0
27# CHECK-NEXT: [9]   - Zn2FPU1
28# CHECK-NEXT: [10]  - Zn2FPU2
29# CHECK-NEXT: [11]  - Zn2FPU3
30# CHECK-NEXT: [12]  - Zn2Multiplier
31
32# CHECK:      Resource pressure per iteration:
33# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]   [12]
34# CHECK-NEXT: 0.33   0.33   0.33    -      -      -      -      -      -      -      -      -      -
35
36# CHECK:      Resource pressure by instruction:
37# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]   [12]   Instructions:
38# CHECK-NEXT: 0.33   0.33   0.33    -      -      -      -      -      -      -      -      -      -     clflushopt	(%rax)
39