added support for x87 fp unit
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 27 Mar 2006 12:58:20 +0000 (12:58 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 27 Mar 2006 12:58:20 +0000 (12:58 +0000)
ir/be/ia32/bearch_ia32.h

index 05a9cba..a478b16 100644 (file)
@@ -4,6 +4,9 @@
 #include "pset.h"
 #include "../bearch.h"
 
+#define USE_SSE2(cg) ((cg)->fp_kind == fp_sse2)
+#define USE_x87(cg)  ((cg)->fp_kind == fp_x87)
+
 extern const arch_isa_if_t ia32_isa_if;
 
 #endif /* _BEARCH_IA32_H_ */