83 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# 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,HASWELL3 4# 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 6# 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,SKYLAKE7 8# 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,SKYLAKE9 10# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,ZNVER111 12# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver2 -iterations=1 -resource-pressure=false -instruction-info=false -timeline < %s | FileCheck %s -check-prefixes=ALL,ZNVER113 14vaddps %xmm0, %xmm0, %xmm215vfmadd213ps (%rdi), %xmm1, %xmm216 17# ALL: Iterations: 118# ALL-NEXT: Instructions: 219 20# BDWELL-NEXT: Total Cycles: 1321# BDWELL-NEXT: Total uOps: 322 23# HASWELL-NEXT: Total Cycles: 1424# HASWELL-NEXT: Total uOps: 325 26# SKYLAKE-NEXT: Total Cycles: 1327# SKYLAKE-NEXT: Total uOps: 328 29# ZNVER1-NEXT: Total Cycles: 1530# ZNVER1-NEXT: Total uOps: 231 32# BDWELL: Dispatch Width: 433# BDWELL-NEXT: uOps Per Cycle: 0.2334# BDWELL-NEXT: IPC: 0.1535# BDWELL-NEXT: Block RThroughput: 1.036 37# HASWELL: Dispatch Width: 438# HASWELL-NEXT: uOps Per Cycle: 0.2139# HASWELL-NEXT: IPC: 0.1440# HASWELL-NEXT: Block RThroughput: 1.041 42# SKYLAKE: Dispatch Width: 643# SKYLAKE-NEXT: uOps Per Cycle: 0.2344# SKYLAKE-NEXT: IPC: 0.1545# SKYLAKE-NEXT: Block RThroughput: 1.046 47# ZNVER1: Dispatch Width: 448# ZNVER1-NEXT: uOps Per Cycle: 0.1349# ZNVER1-NEXT: IPC: 0.1350# ZNVER1-NEXT: Block RThroughput: 0.551 52# ALL: Timeline view:53 54# BDWELL-NEXT: 01255# HASWELL-NEXT: 012356# SKYLAKE-NEXT: 01257# ZNVER1-NEXT: 0123458 59# ALL-NEXT: Index 012345678960 61# BDWELL: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm262# BDWELL-NEXT: [0,1] DeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm263 64# HASWELL: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm265# HASWELL-NEXT: [0,1] DeeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm266 67# SKYLAKE: [0,0] DeeeeER . . vaddps %xmm0, %xmm0, %xmm268# SKYLAKE-NEXT: [0,1] DeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm269 70# ZNVER1: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm271# ZNVER1-NEXT: [0,1] DeeeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm272 73# ALL: Average Wait times (based on the timeline view):74# ALL-NEXT: [0]: Executions75# ALL-NEXT: [1]: Average time spent waiting in a scheduler's queue76# ALL-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready77# ALL-NEXT: [3]: Average time elapsed from WB until retire stage78 79# ALL: [0] [1] [2] [3]80# ALL-NEXT: 0. 1 1.0 1.0 0.0 vaddps %xmm0, %xmm0, %xmm281# ALL-NEXT: 1. 1 1.0 0.0 0.0 vfmadd213ps (%rdi), %xmm1, %xmm282# ALL-NEXT: 1 1.0 0.5 0.0 <total>83