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=bdver2 -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: 1513# CHECK-NEXT: Total uOps: 214 15# CHECK: Dispatch Width: 416# CHECK-NEXT: uOps Per Cycle: 0.1317# CHECK-NEXT: IPC: 0.1318# CHECK-NEXT: Block RThroughput: 8.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: 1 4 4.00 imull %esi30# CHECK-NEXT: 1 8 4.00 * imull (%rdi)31 32# CHECK: Timeline view:33# CHECK-NEXT: 0123434# CHECK-NEXT: Index 012345678935 36# CHECK: [0,0] DeeeeER . . imull %esi37# CHECK-NEXT: [0,1] D====eeeeeeeeER 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 5.0 4.0 0.0 imull (%rdi)48# CHECK-NEXT: 1 3.0 2.5 0.0 <total>49