master
 1#include <math.h>
 2
 3#ifdef __VSX__
 4
 5long lroundf(float x)
 6{
 7	long n;
 8	__asm__ (
 9		"xsrdpi %1, %1\n"
10		"fctid %0, %1\n" : "=d"(n), "+f"(x));
11	return n;
12}
13
14#else
15
16#include "../lroundf.c"
17
18#endif