summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/math-emu/fsqrtd.c
blob: 59f5e3bf3880d62d102d55a6a99b8160fa1cfc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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);
	__FP_PACK_D(rd, R);
	return 1;
}