196 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 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,SANDY3 4# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,IVY5 6# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,HASWELL7 8# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=broadwell -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,BDWELL9 10# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=skylake -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,SKYLAKE11 12# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=icelake-server -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,SKYLAKE13 14# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,BDVER215 16# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,BTVER217 18# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,ZNVER119 20# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver2 -iterations=1 -timeline -instruction-info=false -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,ZNVER221 22vaddps %xmm0, %xmm0, %xmm223vblendvps %xmm1, (%rdi), %xmm2, %xmm324 25# ALL: Iterations: 126# ALL-NEXT: Instructions: 227 28# BDVER2-NEXT: Total Cycles: 1029# BDVER2-NEXT: Total uOps: 230 31# BDWELL-NEXT: Total Cycles: 1032# BDWELL-NEXT: Total uOps: 433 34# BTVER2-NEXT: Total Cycles: 1135# BTVER2-NEXT: Total uOps: 436 37# HASWELL-NEXT: Total Cycles: 1138# HASWELL-NEXT: Total uOps: 439 40# IVY-NEXT: Total Cycles: 1141# IVY-NEXT: Total uOps: 442 43# SANDY-NEXT: Total Cycles: 1144# SANDY-NEXT: Total uOps: 445 46# SKYLAKE-NEXT: Total Cycles: 1147# SKYLAKE-NEXT: Total uOps: 448 49# ZNVER1-NEXT: Total Cycles: 1150# ZNVER1-NEXT: Total uOps: 251 52# ZNVER2-NEXT: Total Cycles: 1153# ZNVER2-NEXT: Total uOps: 254 55# BDVER2: Dispatch Width: 456# BDVER2-NEXT: uOps Per Cycle: 0.2057# BDVER2-NEXT: IPC: 0.2058# BDVER2-NEXT: Block RThroughput: 1.559 60# BDWELL: Dispatch Width: 461# BDWELL-NEXT: uOps Per Cycle: 0.4062# BDWELL-NEXT: IPC: 0.2063# BDWELL-NEXT: Block RThroughput: 2.064 65# BTVER2: Dispatch Width: 266# BTVER2-NEXT: uOps Per Cycle: 0.3667# BTVER2-NEXT: IPC: 0.1868# BTVER2-NEXT: Block RThroughput: 2.069 70# HASWELL: Dispatch Width: 471# HASWELL-NEXT: uOps Per Cycle: 0.3672# HASWELL-NEXT: IPC: 0.1873# HASWELL-NEXT: Block RThroughput: 2.074 75# IVY: Dispatch Width: 476# IVY-NEXT: uOps Per Cycle: 0.3677# IVY-NEXT: IPC: 0.1878# IVY-NEXT: Block RThroughput: 1.079 80# SANDY: Dispatch Width: 481# SANDY-NEXT: uOps Per Cycle: 0.3682# SANDY-NEXT: IPC: 0.1883# SANDY-NEXT: Block RThroughput: 1.084 85# SKYLAKE: Dispatch Width: 686# SKYLAKE-NEXT: uOps Per Cycle: 0.3687# SKYLAKE-NEXT: IPC: 0.1888# SKYLAKE-NEXT: Block RThroughput: 0.789 90# ZNVER1: Dispatch Width: 491# ZNVER1-NEXT: uOps Per Cycle: 0.1892# ZNVER1-NEXT: IPC: 0.1893# ZNVER1-NEXT: Block RThroughput: 0.594 95# ZNVER2: Dispatch Width: 496# ZNVER2-NEXT: uOps Per Cycle: 0.1897# ZNVER2-NEXT: IPC: 0.1898# ZNVER2-NEXT: Block RThroughput: 0.599 100# BDVER2: Timeline view:101# BDVER2-NEXT: Index 0123456789102 103# BDWELL: Timeline view:104# BDWELL-NEXT: Index 0123456789105 106# BTVER2: Timeline view:107# BTVER2-NEXT: 0108# BTVER2-NEXT: Index 0123456789109 110# HASWELL: Timeline view:111# HASWELL-NEXT: 0112# HASWELL-NEXT: Index 0123456789113 114# IVY: Timeline view:115# IVY-NEXT: 0116# IVY-NEXT: Index 0123456789117 118# SANDY: Timeline view:119# SANDY-NEXT: 0120# SANDY-NEXT: Index 0123456789121 122# SKYLAKE: Timeline view:123# SKYLAKE-NEXT: 0124# SKYLAKE-NEXT: Index 0123456789125 126# ZNVER1: Timeline view:127# ZNVER1-NEXT: 0128# ZNVER1-NEXT: Index 0123456789129 130# ZNVER2: Timeline view:131# ZNVER2-NEXT: 0132# ZNVER2-NEXT: Index 0123456789133 134# BDVER2: [0,0] DeeeeeER . vaddps %xmm0, %xmm0, %xmm2135# BDVER2-NEXT: [0,1] DeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3136 137# BDWELL: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2138# BDWELL-NEXT: [0,1] DeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3139 140# BTVER2: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2141# BTVER2-NEXT: [0,1] .DeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3142 143# HASWELL: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2144# HASWELL-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3145 146# IVY: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2147# IVY-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3148 149# SANDY: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2150# SANDY-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3151 152# SKYLAKE: [0,0] DeeeeER . vaddps %xmm0, %xmm0, %xmm2153# SKYLAKE-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3154 155# ZNVER1: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2156# ZNVER1-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3157 158# ZNVER2: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm2159# ZNVER2-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3160 161# ALL: Average Wait times (based on the timeline view):162# ALL-NEXT: [0]: Executions163# ALL-NEXT: [1]: Average time spent waiting in a scheduler's queue164# ALL-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready165# ALL-NEXT: [3]: Average time elapsed from WB until retire stage166 167# ALL: [0] [1] [2] [3]168# ALL-NEXT: 0. 1 1.0 1.0 0.0 vaddps %xmm0, %xmm0, %xmm2169 170# BDVER2-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3171# BDVER2-NEXT: 1 1.0 0.5 0.0 <total>172 173# BDWELL-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3174# BDWELL-NEXT: 1 1.0 0.5 0.0 <total>175 176# BTVER2-NEXT: 1. 1 1.0 1.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3177# BTVER2-NEXT: 1 1.0 1.0 0.0 <total>178 179# HASWELL-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3180# HASWELL-NEXT: 1 1.0 0.5 0.0 <total>181 182# IVY-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3183# IVY-NEXT: 1 1.0 0.5 0.0 <total>184 185# SANDY-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3186# SANDY-NEXT: 1 1.0 0.5 0.0 <total>187 188# SKYLAKE-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3189# SKYLAKE-NEXT: 1 1.0 0.5 0.0 <total>190 191# ZNVER1-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3192# ZNVER1-NEXT: 1 1.0 0.5 0.0 <total>193 194# ZNVER2-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3195# ZNVER2-NEXT: 1 1.0 0.5 0.0 <total>196