108 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BARCELONA %s3# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BDVER2 %s4# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BTVER2 %s5# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver1 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ZNVER1 %s6# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ZNVER2 %s7# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver3 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ZNVER3 %s8# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver4 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ZNVER4 %s9# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SANDYBRIDGE %s10# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,IVYBRIDGE %s11# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=haswell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,HASWELL %s12# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=broadwell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BROADWELL %s13# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=knl -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,KNL %s14# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SKX %s15# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake-avx512 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SKX-AVX512 %s16# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=icelake-client -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ICX %s17# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=icelake-server -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ICX %s18# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=rocketlake -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ICX %s19# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=tigerlake -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ICX %s20# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=slm -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SLM %s21 22add %edi, %eax23 24# ALL: Iterations: 10025# ALL-NEXT: Instructions: 10026# ALL-NEXT: Total Cycles: 10327# ALL-NEXT: Total uOps: 10028 29# BARCELONA: Dispatch Width: 430# BARCELONA-NEXT: uOps Per Cycle: 0.9731# BARCELONA-NEXT: IPC: 0.9732# BARCELONA-NEXT: Block RThroughput: 0.333 34# BDVER2: Dispatch Width: 435# BDVER2-NEXT: uOps Per Cycle: 0.9736# BDVER2-NEXT: IPC: 0.9737# BDVER2-NEXT: Block RThroughput: 1.038 39# BROADWELL: Dispatch Width: 440# BROADWELL-NEXT: uOps Per Cycle: 0.9741# BROADWELL-NEXT: IPC: 0.9742# BROADWELL-NEXT: Block RThroughput: 0.343 44# BTVER2: Dispatch Width: 245# BTVER2-NEXT: uOps Per Cycle: 0.9746# BTVER2-NEXT: IPC: 0.9747# BTVER2-NEXT: Block RThroughput: 0.548 49# HASWELL: Dispatch Width: 450# HASWELL-NEXT: uOps Per Cycle: 0.9751# HASWELL-NEXT: IPC: 0.9752# HASWELL-NEXT: Block RThroughput: 0.353 54# ICX: Dispatch Width: 655# ICX-NEXT: uOps Per Cycle: 0.9756# ICX-NEXT: IPC: 0.9757# ICX-NEXT: Block RThroughput: 0.358 59# IVYBRIDGE: Dispatch Width: 460# IVYBRIDGE-NEXT: uOps Per Cycle: 0.9761# IVYBRIDGE-NEXT: IPC: 0.9762# IVYBRIDGE-NEXT: Block RThroughput: 0.363 64# KNL: Dispatch Width: 465# KNL-NEXT: uOps Per Cycle: 0.9766# KNL-NEXT: IPC: 0.9767# KNL-NEXT: Block RThroughput: 0.368 69# SANDYBRIDGE: Dispatch Width: 470# SANDYBRIDGE-NEXT: uOps Per Cycle: 0.9771# SANDYBRIDGE-NEXT: IPC: 0.9772# SANDYBRIDGE-NEXT: Block RThroughput: 0.373 74# SKX: Dispatch Width: 675# SKX-NEXT: uOps Per Cycle: 0.9776# SKX-NEXT: IPC: 0.9777# SKX-NEXT: Block RThroughput: 0.378 79# SKX-AVX512: Dispatch Width: 680# SKX-AVX512-NEXT: uOps Per Cycle: 0.9781# SKX-AVX512-NEXT: IPC: 0.9782# SKX-AVX512-NEXT: Block RThroughput: 0.383 84# SLM: Dispatch Width: 285# SLM-NEXT: uOps Per Cycle: 0.9786# SLM-NEXT: IPC: 0.9787# SLM-NEXT: Block RThroughput: 0.588 89# ZNVER1: Dispatch Width: 490# ZNVER1-NEXT: uOps Per Cycle: 0.9791# ZNVER1-NEXT: IPC: 0.9792# ZNVER1-NEXT: Block RThroughput: 0.393 94# ZNVER2: Dispatch Width: 495# ZNVER2-NEXT: uOps Per Cycle: 0.9796# ZNVER2-NEXT: IPC: 0.9797# ZNVER2-NEXT: Block RThroughput: 0.398 99# ZNVER3: Dispatch Width: 6100# ZNVER3-NEXT: uOps Per Cycle: 0.97101# ZNVER3-NEXT: IPC: 0.97102# ZNVER3-NEXT: Block RThroughput: 0.3103 104# ZNVER4: Dispatch Width: 6105# ZNVER4-NEXT: uOps Per Cycle: 0.97106# ZNVER4-NEXT: IPC: 0.97107# ZNVER4-NEXT: Block RThroughput: 0.3108