1 #include <linux/types.h>
2 #include <linux/errno.h>
3 #include <asm/uaccess.h>
5 #include <asm/sfp-machine.h>
6 #include <math-emu/soft-fp.h>
7 #include <math-emu/double.h>
10 fsel(u32 *frD, void *frA, u32 *frB, u32 *frC)
16 printk("%s: %p %p %p %p\n", __func__, frD, frA, frB, frC);
22 printk("A: %ld %lu %lu %ld (%ld)\n", A_s, A_f1, A_f0, A_e, A_c);
23 printk("B: %08x %08x\n", frB[0], frB[1]);
24 printk("C: %08x %08x\n", frC[0], frC[1]);
27 if (A_c == FP_CLS_NAN || (A_c != FP_CLS_ZERO && A_s)) {
36 printk("D: %08x.%08x\n", frD[0], frD[1]);