79 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m3 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M33# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m4 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M44# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m5 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M55 6fsqrt d30, d307fmov d31, #1.000000008fdiv d30, d31, d309 10# Newton series for 1 / sqrt().11frsqrte d1, d012fmul d2, d1, d113frsqrts d2, d0, d214fmul d1, d1, d215fmul d2, d1, d116frsqrts d2, d0, d217fmul d1, d1, d218fmul d2, d1, d119frsqrts d0, d0, d220fmul d0, d1, d021 22# ALL: Iterations: 10023# ALL-NEXT: Instructions: 130024 25# M3-NEXT: Total Cycles: 370326# M4-NEXT: Total Cycles: 330327# M5-NEXT: Total Cycles: 330328 29# ALL-NEXT: Total uOps: 130030 31# ALL: Dispatch Width: 632 33# M3-NEXT: uOps Per Cycle: 0.3534# M3-NEXT: IPC: 0.3535# M3-NEXT: Block RThroughput: 26.036 37# M4-NEXT: uOps Per Cycle: 0.3938# M4-NEXT: IPC: 0.3939# M4-NEXT: Block RThroughput: 3.040 41# M5-NEXT: uOps Per Cycle: 0.3942# M5-NEXT: IPC: 0.3943# M5-NEXT: Block RThroughput: 3.044 45# ALL: Instruction Info:46# ALL-NEXT: [1]: #uOps47# ALL-NEXT: [2]: Latency48# ALL-NEXT: [3]: RThroughput49# ALL-NEXT: [4]: MayLoad50# ALL-NEXT: [5]: MayStore51# ALL-NEXT: [6]: HasSideEffects (U)52 53# ALL: [1] [2] [3] [4] [5] [6] Instructions:54 55# M3-NEXT: 1 25 26.00 fsqrt d30, d3056# M4-NEXT: 1 12 2.25 fsqrt d30, d3057# M5-NEXT: 1 12 2.25 fsqrt d30, d3058 59# ALL-NEXT: 1 1 0.33 fmov d31, #1.0000000060 61# M3-NEXT: 1 12 3.25 fdiv d30, d31, d3062# M3-NEXT: 1 4 0.50 frsqrte d1, d063 64# M4-NEXT: 1 12 2.25 fdiv d30, d31, d3065# M4-NEXT: 1 3 0.50 frsqrte d1, d066 67# M5-NEXT: 1 12 2.25 fdiv d30, d31, d3068# M5-NEXT: 1 3 0.50 frsqrte d1, d069 70# ALL-NEXT: 1 3 0.33 fmul d2, d1, d171# ALL-NEXT: 1 4 0.33 frsqrts d2, d0, d272# ALL-NEXT: 1 3 0.33 fmul d1, d1, d273# ALL-NEXT: 1 3 0.33 fmul d2, d1, d174# ALL-NEXT: 1 4 0.33 frsqrts d2, d0, d275# ALL-NEXT: 1 3 0.33 fmul d1, d1, d276# ALL-NEXT: 1 3 0.33 fmul d2, d1, d177# ALL-NEXT: 1 4 0.33 frsqrts d0, d0, d278# ALL-NEXT: 1 3 0.33 fmul d0, d1, d079