• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2# RUN: llvm-mca -mtriple=thumbv7 --mcpu=cortex-m33 -instruction-tables -o - %s | FileCheck %s
3
4sub sp, #4
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      1     1.00                  U     sub	sp, #4
16
17# CHECK:      Resources:
18# CHECK-NEXT: [0]   - M4Unit
19
20# CHECK:      Resource pressure per iteration:
21# CHECK-NEXT: [0]
22# CHECK-NEXT: 1.00
23
24# CHECK:      Resource pressure by instruction:
25# CHECK-NEXT: [0]    Instructions:
26# CHECK-NEXT: 1.00   sub	sp, #4
27