From 9b4f6a07a51dd570a2c50fe944e1fbd91f766e76 Mon Sep 17 00:00:00 2001 From: Falk Hueffner Date: Mon, 26 Jul 2004 09:07:48 +0200 Subject: [PATCH] alpha.c (alpha_rtx_cost_data): Tweak int_div costs. * config/alpha/alpha.c (alpha_rtx_cost_data): Tweak int_div costs. From-SVN: r85186 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d822608087a..42806e793b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-26 Falk Hueffner > + + * config/alpha/alpha.c (alpha_rtx_cost_data): Tweak int_div + costs. + 2004-07-25 Roger Sayle * config/i386/i386.c (output_fp_compare): Use ffreep to pop top diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 5171fa3faee..d195cab1d25 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -151,7 +151,7 @@ static struct alpha_rtx_cost_data const alpha_rtx_cost_data[PROCESSOR_MAX] = COSTS_N_INSNS (23), /* int_mult_di */ COSTS_N_INSNS (2), /* int_shift */ COSTS_N_INSNS (2), /* int_cmov */ - COSTS_N_INSNS (70), /* int_div */ + COSTS_N_INSNS (97), /* int_div */ }, { /* EV5 */ COSTS_N_INSNS (4), /* fp_add */ @@ -162,7 +162,7 @@ static struct alpha_rtx_cost_data const alpha_rtx_cost_data[PROCESSOR_MAX] = COSTS_N_INSNS (12), /* int_mult_di */ COSTS_N_INSNS (1) + 1, /* int_shift */ COSTS_N_INSNS (1), /* int_cmov */ - COSTS_N_INSNS (45), /* int_div */ + COSTS_N_INSNS (83), /* int_div */ }, { /* EV6 */ COSTS_N_INSNS (4), /* fp_add */ @@ -173,7 +173,7 @@ static struct alpha_rtx_cost_data const alpha_rtx_cost_data[PROCESSOR_MAX] = COSTS_N_INSNS (7), /* int_mult_di */ COSTS_N_INSNS (1), /* int_shift */ COSTS_N_INSNS (2), /* int_cmov */ - COSTS_N_INSNS (25), /* int_div */ + COSTS_N_INSNS (86), /* int_div */ }, }; -- 2.30.2