fpu_asm.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /*---------------------------------------------------------------------------+
  2. | fpu_asm.h |
  3. | |
  4. | Copyright (C) 1992,1995,1997 |
  5. | W. Metzenthen, 22 Parker St, Ormond, Vic 3163, |
  6. | Australia. E-mail billm@suburbia.net |
  7. | |
  8. +---------------------------------------------------------------------------*/
  9. #ifndef _FPU_ASM_H_
  10. #define _FPU_ASM_H_
  11. #include <linux/linkage.h>
  12. #define EXCEPTION FPU_exception
  13. #define PARAM1 8(%ebp)
  14. #define PARAM2 12(%ebp)
  15. #define PARAM3 16(%ebp)
  16. #define PARAM4 20(%ebp)
  17. #define PARAM5 24(%ebp)
  18. #define PARAM6 28(%ebp)
  19. #define PARAM7 32(%ebp)
  20. #define SIGL_OFFSET 0
  21. #define EXP(x) 8(x)
  22. #define SIG(x) SIGL_OFFSET##(x)
  23. #define SIGL(x) SIGL_OFFSET##(x)
  24. #define SIGH(x) 4(x)
  25. #endif /* _FPU_ASM_H_ */