From cd4ab9682891bfdaaf6ccfff2c03e6a3f3b164dd Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 10 Apr 2006 13:06:43 +0000 Subject: [PATCH] add a Keep of the vfCom eax output This is needed or no EAX will be allocated. --- ir/be/ia32/ia32_transform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ir/be/ia32/ia32_transform.c b/ir/be/ia32/ia32_transform.c index e59780ab6..63f4a9f92 100644 --- a/ir/be/ia32/ia32_transform.c +++ b/ir/be/ia32/ia32_transform.c @@ -1457,7 +1457,10 @@ static ir_node *gen_Cond(ia32_transform_env_t *env) { if (USE_SSE2(env->cg)) res = new_rd_ia32_xCondJmp(dbg, irg, block, noreg, noreg, cmp_a, cmp_b, nomem); else { + ir_node *proj_eax; res = new_rd_ia32_vfCondJmp(dbg, irg, block, noreg, noreg, cmp_a, cmp_b, nomem); + proj_eax = new_r_Proj(irg, block, res, mode_Is, pn_ia32_vfCondJmp_temp_reg_eax); + be_new_Keep(&ia32_reg_classes[CLASS_ia32_gp], irg, block, 1, &proj_eax); } } else { -- 2.20.1