Bugfix:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 25 Aug 2006 09:18:45 +0000 (09:18 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 25 Aug 2006 09:18:45 +0000 (09:18 +0000)
 - x87_fpop now has NO argument (ra verifier fails otherwise due to wrong
   live time)

ir/be/ia32/ia32_spec.pl
ir/be/ia32/ia32_x87.c

index 9ad42a3..9b48148 100644 (file)
@@ -1634,7 +1634,7 @@ else {
 "fpop" => {
   "op_flags"  => "R|K",
   "comment"   => "x87 stack pop",
-  "reg_req"   => { "in" => [ "st"], "out" => [ "st" ] },
+  "reg_req"   => { "out" => [ "st" ] },
   "cmp_attr"  => "  return 1;\n",
   "emit"      => '. fstp %X1 /* x87 pop %X1 */',
 },
index f7201a4..9b79d1f 100644 (file)
@@ -685,7 +685,7 @@ static ir_node *x87_create_fpop(const arch_env_t *env, x87_state *state, ir_node
 
        while (num > 0) {
                x87_pop(state);
-               fpop = new_rd_ia32_fpop(NULL, get_irn_irg(n), get_nodes_block(n), pred, mode_E);
+               fpop = new_rd_ia32_fpop(NULL, get_irn_irg(n), get_nodes_block(n), mode_E);
                attr = get_ia32_attr(fpop);
                attr->x87[0] = &ia32_st_regs[0];
                attr->x87[1] = &ia32_st_regs[0];