Re: Proposal: adding two zeros to the integer cost to calibrate better.

2007-06-28 Thread Rask Ingemann Lambertsen
On Wed, Jun 27, 2007 at 09:41:08PM +0200, J.C. Pizarro wrote: I recommend to add 2 zeros to the integer costs as if those are 2 decimal zeros, for example, insn_cost 5: 1200 // it's 12.00 insn_cost 6: 800 // it's 8.00 insn_cost 7: 400 // it's 4.00 insn_cost 8: 433 //

Proposal: adding two zeros to the integer cost to calibrate better.

2007-06-27 Thread J.C. Pizarro
Rask Ingemann Lambertsen [EMAIL PROTECTED] wrote: I'm seeing this on my 16-bit ix86 port. Something isn't right: insn_cost 5: 12 insn_cost 6: 8 insn_cost 7: 4 ... rejecting combination of insns 5 and 6 original costs 12 + 8 = 24 replacement cost 28 Now, 12 + 8 = 20, not 24. The cost