[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Status - compiling on hppa / ld sigsegv's - glibc 2.2.93



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



Reply to: