view gcc/testsuite/gcc.target/sh/pr53511-1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Verify that the fmac insn is used for the standard fmaf function.  */
/* { dg-do compile { target { any_fpu } } }  */
/* { dg-options "-O1" } */
/* { dg-final { scan-assembler "fmac" } } */

#include <math.h>

float
test_func_00 (float a, float b, float c)
{
  return fmaf (a, b, c);
}