fpu_asm.h 1.1 KB

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