3 This code was written as part of the CMU Common Lisp project and has
4 been placed in the public domain.
9 extern int arch_support_sse2(void);
10 extern boolean os_support_sse2(void);
13 * Define macro to allocate a local array of the appropriate size
14 * where the fpu state can be stored.
17 #define FPU_STATE_SIZE 27
20 * Need 512 byte area, aligned on a 16-byte boundary. So allocate
21 * 512+16 bytes of space and let the routine adjust the appropriate
24 #define SSE_STATE_SIZE ((512+16)/4)
27 * Just use the SSE size for both x87 and sse2 since the SSE size is
30 #define FPU_STATE(name) int name[SSE_STATE_SIZE];