From 27cfca1ec98e91261b1a5355d10a8996464b63af Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 17 Mar 1998 22:05:47 +0000 Subject: Look Ma' what I found on my harddisk ... o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ... --- arch/sparc64/math-emu/fqtos.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 arch/sparc64/math-emu/fqtos.c (limited to 'arch/sparc64/math-emu/fqtos.c') diff --git a/arch/sparc64/math-emu/fqtos.c b/arch/sparc64/math-emu/fqtos.c new file mode 100644 index 000000000..833f10618 --- /dev/null +++ b/arch/sparc64/math-emu/fqtos.c @@ -0,0 +1,13 @@ +#include "soft-fp.h" +#include "quad.h" +#include "single.h" + +int FQTOS(void *rd, void *rs2) +{ + FP_DECL_Q(A); FP_DECL_S(R); + + __FP_UNPACK_Q(A, rs2); + FP_CONV(S,Q,1,2,R,A); + __FP_PACK_S(rd, R); + return 1; +} -- cgit v1.2.3