On Wed, Sep 11, 2002 at 03:58:32PM -0700, Randolph Chung wrote:
> > In _dl_start I'm not sure if r19 is expected to be correct or not - I
> > suspect that it may not be, and they didn't take into account the idea
> > that an integer divide would need to load from a constant pool... why
> > on earth is GCC generating an FP divide anyway?
> 
> there's no divide insn on pa. it's generating a fp multiply against a
> constant (inverse of 1/sizeof(blah))

Division by a constant can be done entirely in integer multiplies and
shifts.  It should be if your costs are anything reasonable - that
constant load must be expensive!

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to