1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py 2# RUN: llvm-mca -mtriple=aarch64 -mcpu=cortex-a55 --all-views=false --summary-view --iterations=1000 < %s | FileCheck %s 3 4# DIV is not modeled precisely: on hardware it takes variable 5# number of cycles depending on its operands, but LLVM scheduling 6# model only provides an average latency. 7 8add w8, w8, #1 9movz w10, #1, lsl #16 10movz w12, #32768, lsl #16 11sdiv w10, w12, w10 12 13# CHECK: Iterations: 1000 14# CHECK-NEXT: Instructions: 4000 15# CHECK-NEXT: Total Cycles: 8004 16# CHECK-NEXT: Total uOps: 4000 17 18# CHECK: Dispatch Width: 2 19# CHECK-NEXT: uOps Per Cycle: 0.50 20# CHECK-NEXT: IPC: 0.50 21# CHECK-NEXT: Block RThroughput: 8.0 22