File: [Development] / linux-2.6-xfs / arch / powerpc / math-emu / frsp.c (download)
Revision 1.2, Mon Aug 4 17:03:13 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD Changes since 1.1: +1 -1
lines
Merge up to 2.6.26
Merge of 2.6.x-xfs-melb:linux:31804b by kenmcd.
|
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include "soft-fp.h"
#include "double.h"
#include "single.h"
int
frsp(void *frD, void *frB)
{
FP_DECL_D(B);
#ifdef DEBUG
printk("%s: D %p, B %p\n", __func__, frD, frB);
#endif
__FP_UNPACK_D(B, frB);
#ifdef DEBUG
printk("B: %ld %lu %lu %ld (%ld)\n", B_s, B_f1, B_f0, B_e, B_c);
#endif
return __FP_PACK_DS(frD, B);
}