22 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -resource-pressure=false -instruction-info=false -mcpu=btver2 < %s 2>&1 | FileCheck --check-prefixes=ALL,DEFAULT %s3# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -resource-pressure=false -instruction-info=false -mcpu=btver2 -dispatch=0 < %s 2>&1 | FileCheck --check-prefixes=ALL,DEFAULT %s4# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -resource-pressure=false -instruction-info=false -mcpu=btver2 -dispatch=1 < %s 2>&1 | FileCheck --check-prefixes=ALL,CUSTOM %s5 6add %eax, %eax7 8# ALL: Iterations: 1009# ALL-NEXT: Instructions: 10010# ALL-NEXT: Total Cycles: 10311# ALL-NEXT: Total uOps: 10012 13# CUSTOM: Dispatch Width: 114# CUSTOM-NEXT: uOps Per Cycle: 0.9715# CUSTOM-NEXT: IPC: 0.9716# CUSTOM-NEXT: Block RThroughput: 1.017 18# DEFAULT: Dispatch Width: 219# DEFAULT-NEXT: uOps Per Cycle: 0.9720# DEFAULT-NEXT: IPC: 0.9721# DEFAULT-NEXT: Block RThroughput: 0.522