Do not use clobbered GP register as input registers (not for output is implicit).
[libfirm] / ir / be / ia32 / ia32_architecture.c
index d8d5ff9..cb6cbad 100644 (file)
@@ -125,7 +125,7 @@ enum cpu_support {
 
 static int         opt_size             = 0;
 static cpu_support arch                 = cpu_generic;
-static cpu_support opt_arch             = cpu_core2;
+static cpu_support opt_arch             = cpu_generic;
 static int         use_sse2             = 0;
 static int         opt_cc               = 1;
 static int         opt_unsafe_floatconv = 0;
@@ -232,7 +232,7 @@ static const insn_const size_cost = {
        2,   /* cost of an add instruction */
        3,   /* cost of a lea instruction */
        3,   /* cost of a constant shift instruction */
-       3,   /* starting cost of a multiply instruction */
+       4,   /* starting cost of a multiply instruction */
        0,   /* cost of multiply for every set bit */
        0,   /* logarithm for alignment of function labels */
        0,   /* logarithm for alignment of loops labels */