53 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,SANDY3# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,HASWELL4# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=broadwell -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,BDWELL5# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=skylake -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,SKYLAKE6# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=icelake-server -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,SKYLAKE7 8# PR369519addl %edi, %esi10addl (%rdi), %esi11 12# ALL: Iterations: 113# ALL-NEXT: Instructions: 214# ALL-NEXT: Total Cycles: 915# ALL-NEXT: Total uOps: 316 17# BDWELL: Dispatch Width: 418# BDWELL-NEXT: uOps Per Cycle: 0.3319# BDWELL-NEXT: IPC: 0.2220# BDWELL-NEXT: Block RThroughput: 0.821 22# HASWELL: Dispatch Width: 423# HASWELL-NEXT: uOps Per Cycle: 0.3324# HASWELL-NEXT: IPC: 0.2225# HASWELL-NEXT: Block RThroughput: 0.826 27# SANDY: Dispatch Width: 428# SANDY-NEXT: uOps Per Cycle: 0.3329# SANDY-NEXT: IPC: 0.2230# SANDY-NEXT: Block RThroughput: 0.831 32# SKYLAKE: Dispatch Width: 633# SKYLAKE-NEXT: uOps Per Cycle: 0.3334# SKYLAKE-NEXT: IPC: 0.2235# SKYLAKE-NEXT: Block RThroughput: 0.536 37# ALL: Timeline view:38# ALL-NEXT: Index 01234567839 40# ALL: [0,0] DeER . . addl %edi, %esi41# ALL-NEXT: [0,1] DeeeeeeER addl (%rdi), %esi42 43# ALL: Average Wait times (based on the timeline view):44# ALL-NEXT: [0]: Executions45# ALL-NEXT: [1]: Average time spent waiting in a scheduler's queue46# ALL-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready47# ALL-NEXT: [3]: Average time elapsed from WB until retire stage48 49# ALL: [0] [1] [2] [3]50# ALL-NEXT: 0. 1 1.0 1.0 0.0 addl %edi, %esi51# ALL-NEXT: 1. 1 1.0 0.0 0.0 addl (%rdi), %esi52# ALL-NEXT: 1 1.0 0.5 0.0 <total>53