OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [ppc/] [math-emu/] [frsp.c] - Rev 1765

Compare with Previous | Blame | View Log

#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", __FUNCTION__, 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);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.