aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/sh/pr53511-1.c
blob: d58a72c3b2bf18b252c588dae61550fb2117c570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Verify that the fmac insn is used for the standard fmaf function.  */
/* { dg-do compile }  */
/* { dg-options "-O1" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m3" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } }  */
/* { dg-final { scan-assembler "fmac" } } */

#include <math.h>

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