aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/builtin-fma.c
blob: 9ca50f0f0223f2ed60794b17659822e5a59ed5c5 (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 <- %arg1, %arg2, %arg3
	ret.64      %r4


 * check-output-end
 */