00001 #ifndef x87control_HEADER 00002 #define x87control_HEADER 00003 00004 /* This file is licensed under the Lesser GPL, version 2 or later. */ 00005 00006 #ifdef HAVE_CONFIG_H 00007 # include <config.h> 00008 #endif 00009 00010 #ifdef HAVE_X87_CONTROL_WORD 00011 /* Macros for accessing the x87 floating-point control word from the GNU C 00012 * Library, Contributed by Olaf Flebbe, Copyright Free Software Foundation */ 00013 #define _FPU_GETCW(cw) __asm__ ("fnstcw %0" : "=m" (*&cw)) 00014 #define _FPU_SETCW(cw) __asm__ ("fldcw %0" : : "m" (*&cw)) 00015 #endif 00016 00017 #endif
1.4.6