summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/math-emu/fsqrtd.c
blob: b022f7d371d226744264690918db84c82086fce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "soft-fp.h"
#include "double.h"

int FSQRTD(void *rd, void *rs2)
{
	FP_DECL_D(A); FP_DECL_D(R);
        
	__FP_UNPACK_D(A, rs2);
	FP_SQRT_D(R, A);
	return __FP_PACK_D(rd, R);
}