20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=i686-unknown-unknown -mattr=+avx512f < %s | FileCheck %s3 4define float @test_x86_fma_intersection_fmf(float %a, float %b) nounwind {5; CHECK-LABEL: test_x86_fma_intersection_fmf:6; CHECK: # %bb.0:7; CHECK-NEXT: pushl %eax8; CHECK-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero9; CHECK-NEXT: vfmadd132ss {{.*#+}} xmm0 = (xmm0 * mem) + xmm010; CHECK-NEXT: vmovss %xmm0, (%esp)11; CHECK-NEXT: flds (%esp)12; CHECK-NEXT: popl %eax13; CHECK-NEXT: retl14 %tmp8 = fmul fast float %a, %b15 %tmp9 = fadd fast float %tmp8, %b16 %tmp10 = insertelement <4 x float> undef, float %tmp9, i32 117 %tmp11 = extractelement <4 x float> %tmp10, i32 118 ret float %tmp1119}20