1 /*---------------------------------------------------------------------------+ 2 | fpu_asm.h | 3 | | 4 | Copyright (C) 1992 W. Metzenthen, 22 Parker St, Ormond, Vic 3163, | 5 | Australia. E-mail billm@vaxc.cc.monash.edu.au | 6 | | 7 +---------------------------------------------------------------------------*/ 8 9 #ifndef _FPU_ASM_H_ 10 #define _FPU_ASM_H_ 11 12 #include <linux/linkage.h> 13 #include "fpu_emu.h" 14 15 #define EXCEPTION SYMBOL_NAME(exception) 16 17 18 #define PARAM1 8(%ebp) 19 #define PARAM2 12(%ebp) 20 #define PARAM3 16(%ebp) 21 #define PARAM4 20(%ebp) 22 23 #define SIGL_OFFSET 8 24 #define SIGN(x) (x) 25 #define TAG(x) 1(x) 26 #define EXP(x) 4(x) 27 #define SIG(x) SIGL_OFFSET##(x) 28 #define SIGL(x) SIGL_OFFSET##(x) 29 #define SIGH(x) 12(x) 30 31 #endif _FPU_ASM_H_