49 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -resource-pressure=0 -timeline < %s | FileCheck %s3 4 imull %esi5 imull (%rdi)6 7# The second integer multiply can start at cycle 2 because the implicit reads8# can start after the load operand is evaluated.9 10# CHECK: Iterations: 111# CHECK-NEXT: Instructions: 212# CHECK-NEXT: Total Cycles: 1113# CHECK-NEXT: Total uOps: 414 15# CHECK: Dispatch Width: 216# CHECK-NEXT: uOps Per Cycle: 0.3617# CHECK-NEXT: IPC: 0.1818# CHECK-NEXT: Block RThroughput: 4.019 20# CHECK: Instruction Info:21# CHECK-NEXT: [1]: #uOps22# CHECK-NEXT: [2]: Latency23# CHECK-NEXT: [3]: RThroughput24# CHECK-NEXT: [4]: MayLoad25# CHECK-NEXT: [5]: MayStore26# CHECK-NEXT: [6]: HasSideEffects (U)27 28# CHECK: [1] [2] [3] [4] [5] [6] Instructions:29# CHECK-NEXT: 2 3 2.00 imull %esi30# CHECK-NEXT: 2 6 2.00 * imull (%rdi)31 32# CHECK: Timeline view:33# CHECK-NEXT: 034# CHECK-NEXT: Index 012345678935 36# CHECK: [0,0] DeeeER . imull %esi37# CHECK-NEXT: [0,1] .D=eeeeeeER imull (%rdi)38 39# CHECK: Average Wait times (based on the timeline view):40# CHECK-NEXT: [0]: Executions41# CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue42# CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready43# CHECK-NEXT: [3]: Average time elapsed from WB until retire stage44 45# CHECK: [0] [1] [2] [3]46# CHECK-NEXT: 0. 1 1.0 1.0 0.0 imull %esi47# CHECK-NEXT: 1. 1 2.0 2.0 0.0 imull (%rdi)48# CHECK-NEXT: 1 1.5 1.5 0.0 <total>49