Пример #1
0
void
check_mm_fnmsub_sd (__m128d __A, __m128d __B, __m128d __C)
{
  union128d a, b, c, e;
  a.x = __A;
  b.x = __B;
  c.x = __C;
  double d[2];
  int i;
  e.x = _mm_fnmsub_sd (__A, __B, __C);
  for (i = 1; i < 2; i++)
    {
      d[i] = a.a[i];
    }
  d[0] = -a.a[0] * b.a[0] - c.a[0];
  if (check_union128d (e, d))
    abort ();
}
Пример #2
0
__m128d test_mm_fnmsub_sd(__m128d a, __m128d b, __m128d c) {
  // CHECK-LABEL: test_mm_fnmsub_sd
  // CHECK: @llvm.x86.fma.vfnmsub.sd
  return _mm_fnmsub_sd(a, b, c);
}
Пример #3
0
__m128d
check_mm_fnmsub_sd (__m128d a, __m128d b, __m128d c)
{
  return _mm_fnmsub_sd (a, b, c);
}