WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / math-emu / fnabs.c
blob6c439e6c2c5872d125fd38973b2d839eb0548679
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/types.h>
3 #include <linux/errno.h>
4 #include <linux/uaccess.h>
6 int
7 fnabs(u32 *frD, u32 *frB)
9 frD[0] = frB[0] | 0x80000000;
10 frD[1] = frB[1];
12 #ifdef DEBUG
13 printk("%s: D %p, B %p: ", __func__, frD, frB);
14 dump_double(frD);
15 printk("\n");
16 #endif
18 return 0;