aboutsummaryrefslogtreecommitdiff
path: root/gnu/gcc2/libgcc/_subdf3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/gcc2/libgcc/_subdf3.c')
-rw-r--r--gnu/gcc2/libgcc/_subdf3.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/gcc2/libgcc/_subdf3.c b/gnu/gcc2/libgcc/_subdf3.c
new file mode 100644
index 000000000000..b2d1d9c506a0
--- /dev/null
+++ b/gnu/gcc2/libgcc/_subdf3.c
@@ -0,0 +1,31 @@
+extern int target_flags;
+
+enum reg_class
+{
+ NO_REGS,
+ AREG, DREG, CREG, BREG,
+ Q_REGS,
+ SIREG, DIREG,
+ INDEX_REGS,
+ GENERAL_REGS,
+ FP_TOP_REG, FP_SECOND_REG,
+ FLOAT_REGS,
+ ALL_REGS, LIM_REG_CLASSES
+};
+extern enum reg_class regclass_map[17 ];
+
+
+extern struct rtx_def *i386_compare_op0, *i386_compare_op1;
+extern struct rtx_def *(*i386_compare_gen)(), *(*i386_compare_gen_eq)();
+extern char *hi_reg_name[];
+extern char *qi_reg_name[];
+extern char *qi_high_reg_name[];
+
+union flt_or_value { float i; float f; };
+union flt_or_int { int i; float f; };
+double
+__subdf3 (a, b)
+ double a, b;
+{
+ return a - b ;
+}