34 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -resource-pressure=false < %s | FileCheck %s3 4# LLVM-MCA-BEGIN Empty5 # Empty sequence6# LLVM-MCA-END7 8# LLVM-MCA-BEGIN NotEmpty9 add %edi, %eax10# LLVM-MCA-END11 12# CHECK: [0] Code Region - NotEmpty13 14# CHECK: Iterations: 115# CHECK-NEXT: Instructions: 116# CHECK-NEXT: Total Cycles: 417# CHECK-NEXT: Total uOps: 118 19# CHECK: Dispatch Width: 220# CHECK-NEXT: uOps Per Cycle: 0.2521# CHECK-NEXT: IPC: 0.2522# CHECK-NEXT: Block RThroughput: 0.523 24# CHECK: Instruction Info:25# CHECK-NEXT: [1]: #uOps26# CHECK-NEXT: [2]: Latency27# CHECK-NEXT: [3]: RThroughput28# CHECK-NEXT: [4]: MayLoad29# CHECK-NEXT: [5]: MayStore30# CHECK-NEXT: [6]: HasSideEffects (U)31 32# CHECK: [1] [2] [3] [4] [5] [6] Instructions:33# CHECK-NEXT: 1 1 0.50 addl %edi, %eax34