Commit 243ad552 authored by Christian Würdig's avatar Christian Würdig
Browse files

set correct register for SetST0

parent ccc3b043
......@@ -2425,7 +2425,7 @@ static ir_node *gen_be_Return(ia32_transform_env_t *env) {
set_ia32_am_support(fld, ia32_am_Source);
mproj = new_r_Proj(env->irg, env->block, fld, mode_M, pn_ia32_SetST0_M);
fld = new_r_Proj(env->irg, env->block, fld, mode, pn_ia32_SetST0_res);
arch_set_irn_register(env->cg->arch_env, fld, &ia32_st_regs[REG_ST0]);
arch_set_irn_register(env->cg->arch_env, fld, &ia32_vfp_regs[REG_VF0]);
/* set new return value */
set_irn_n(barrier, pn_ret_val, fld);
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