| /* Interprocedure convensions. In separate file: for math library |
| developers. */ |
| #ifndef _FP32DEF_H |
| #define _FP32DEF_H |
| |
| #include "sectionname.h" |
| |
| #define rB0 r18 |
| #define rB1 r19 |
| #define rB2 r20 |
| #define rB3 r21 |
| |
| #define rA0 r22 |
| #define rA1 r23 |
| #define rA2 r24 |
| #define rA3 r25 |
| |
| #define rBE r26 |
| #define rAE r27 |
| |
| /* Put functions at this section. */ |
| #ifdef FUNCTION |
| # error "The FUNCTION macro must be defined after FUNC_SEGNAME" |
| #endif |
| #define FUNC_SEGNAME MLIB_SECTION |
| |
| /* Put constant tables at low addresses in program memory, so they are |
| reachable for "lpm" without using RAMPZ on >64K devices. */ |
| #define PGM_SECTION .section .progmem.gcc_fplib, "a", @progbits |
| |
| #endif /* !_FP32DEF_H */ |