fneg.c
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 0k
Development Platform:

Unix_Linux

  1. /*
  2.  * BK Id: SCCS/s.fneg.c 1.6 05/17/01 18:14:22 cort
  3.  */
  4. #include <linux/types.h>
  5. #include <linux/errno.h>
  6. #include <asm/uaccess.h>
  7. int
  8. fneg(u32 *frD, u32 *frB)
  9. {
  10. frD[0] = frB[0] ^ 0x80000000;
  11. frD[1] = frB[1];
  12. #ifdef DEBUG
  13. printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB);
  14. dump_double(frD);
  15. printk("n");
  16. #endif
  17. return 0;
  18. }