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=x86-64 -iterations=1 -resource-pressure=0 -timeline < %s | FileCheck %s3 4imull %esi5imull (%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: 1313# CHECK-NEXT: Total uOps: 714 15# CHECK: Dispatch Width: 416# CHECK-NEXT: uOps Per Cycle: 0.5417# CHECK-NEXT: IPC: 0.1518# CHECK-NEXT: Block RThroughput: 2.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: 3 4 1.00 imull %esi30# CHECK-NEXT: 4 9 1.00 * imull (%rdi)31 32# CHECK: Timeline view:33# CHECK-NEXT: 01234# CHECK-NEXT: Index 012345678935 36# CHECK: [0,0] DeeeeER . . imull %esi37# CHECK-NEXT: [0,1] .DeeeeeeeeeER 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 1.0 1.0 0.0 imull (%rdi)48# CHECK-NEXT: 1 1.0 1.0 0.0 <total>49