Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <linux/types.h>
0003 #include <linux/errno.h>
0004 #include <linux/uaccess.h>
0005 
0006 int
0007 fneg(u32 *frD, u32 *frB)
0008 {
0009     frD[0] = frB[0] ^ 0x80000000;
0010     frD[1] = frB[1];
0011 
0012 #ifdef DEBUG
0013     printk("%s: D %p, B %p: ", __func__, frD, frB);
0014     dump_double(frD);
0015     printk("\n");
0016 #endif
0017 
0018     return 0;
0019 }