aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/builtin-fma.c
blob: b1024f3961c2161502f74c9972dc559c6fdff2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
double fma(double a, double x, double y)
{
	return __builtin_fma(a, x, y);
}

/*
 * check-name: builtin-fma
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-start
fma:
.L0:
	<entry-point>
	fmadd.64    %r4 <- %r1, %r2, %r3
	ret.64      %r4


 * check-output-end
 */