Пример #1
0
__m128 test_mm_fnmadd_ps(__m128 a, __m128 b, __m128 c) {
  // CHECK: @llvm.x86.fma.vfnmadd.ps
  return _mm_fnmadd_ps(a, b, c);
}
Пример #2
0
__m128 test_mm_fnmadd_ps(__m128 a, __m128 b, __m128 c) {
  // CHECK-LABEL: test_mm_fnmadd_ps
  // CHECK: [[NEG:%.+]] = fsub <4 x float> <float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00>, %{{.+}}
  // CHECK: @llvm.x86.fma.vfmadd.ps(<4 x float> [[NEG]], <4 x float> %{{.+}}, <4 x float> %{{.+}})
  return _mm_fnmadd_ps(a, b, c);
}
Пример #3
0
__m128
check_mm_fnmadd_ps (__m128 a, __m128 b, __m128 c)
{
  return _mm_fnmadd_ps (a, b, c);
}