1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py 2# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=BTVER2 %s 3# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver1 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=ZNVER1 %s 4# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SANDYBRIDGE %s 5# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=IVYBRIDGE %s 6# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=haswell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=HASWELL %s 7# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=broadwell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=BROADWELL %s 8# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=knl -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=KNL %s 9# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SKX %s 10# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake-avx512 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SKX-AVX512 %s 11# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=slm -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SLM %s 12 13add %edi, %eax 14 15# ALL: Iterations: 100 16# ALL-NEXT: Instructions: 100 17# ALL-NEXT: Total Cycles: 103 18 19# BROADWELL-NEXT: Dispatch Width: 4 20# BTVER2-NEXT: Dispatch Width: 2 21# HASWELL-NEXT: Dispatch Width: 4 22# IVYBRIDGE-NEXT: Dispatch Width: 4 23# KNL-NEXT: Dispatch Width: 4 24# SANDYBRIDGE-NEXT: Dispatch Width: 4 25# SKX-NEXT: Dispatch Width: 6 26# SKX-AVX512-NEXT: Dispatch Width: 6 27# SLM-NEXT: Dispatch Width: 2 28# ZNVER1-NEXT: Dispatch Width: 4 29 30# ALL-NEXT: IPC: 0.97 31 32# BROADWELL-NEXT: Block RThroughput: 0.3 33# BTVER2-NEXT: Block RThroughput: 0.5 34# HASWELL-NEXT: Block RThroughput: 0.3 35# IVYBRIDGE-NEXT: Block RThroughput: 0.3 36# KNL-NEXT: Block RThroughput: 0.3 37# SANDYBRIDGE-NEXT: Block RThroughput: 0.3 38# SKX-NEXT: Block RThroughput: 0.3 39# SKX-AVX512-NEXT: Block RThroughput: 0.3 40# SLM-NEXT: Block RThroughput: 0.5 41# ZNVER1-NEXT: Block RThroughput: 0.3 42