Commit 7d46c6ab authored by Michael Beck's avatar Michael Beck
Browse files

Bugfix:

 - x87_fpop now has NO argument (ra verifier fails otherwise due to wrong
   live time)
parent ae59fca5
......@@ -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 */',
},
......
......@@ -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];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment