brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1009 B · 1b071c7 Raw
26 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp %s -o - | FileCheck %s3 4define arm_aapcs_vfpcc <4 x float> @fma_v4f32(<4 x float> %dst, <4 x float> %s1, <4 x float> %s2) {5; CHECK-LABEL: fma_v4f32:6; CHECK:       @ %bb.0: @ %entry7; CHECK-NEXT:    vfma.f32 q0, q1, q28; CHECK-NEXT:    bx lr9entry:10  %0 = tail call fast <4 x float> @llvm.fma.v4f32(<4 x float> %s1, <4 x float> %s2, <4 x float> %dst)11  ret <4 x float> %012}13 14define arm_aapcs_vfpcc <8 x half> @fma_v8f16(<8 x half> %dst, <8 x half> %s1, <8 x half> %s2) {15; CHECK-LABEL: fma_v8f16:16; CHECK:       @ %bb.0: @ %entry17; CHECK-NEXT:    vfma.f16 q0, q1, q218; CHECK-NEXT:    bx lr19entry:20  %0 = tail call fast <8 x half> @llvm.fma.v8f16(<8 x half> %s1, <8 x half> %s2, <8 x half> %dst)21  ret <8 x half> %022}23 24declare <4 x float> @llvm.fma.v4f32(<4 x float>, <4 x float>, <4 x float>)25declare <8 x half> @llvm.fma.v8f16(<8 x half>, <8 x half>, <8 x half>)26