This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: IA64 patch / build question


> On Mon, Jul 02, 2001 at 10:26:09AM -0700, Steve Ellcey wrote:
> > The t-ia64 Makefile segment overrides some of the functions from
> > LIB2FUNCS.  Specifically, it has its own optimized versions of _divdi3,
> > _moddi3, _udivdi3, and _umoddi3 in lib1funcs.asm.
> 
> This patch cannot possibly be correct.  The crucial part that
> you are missing is that the bits that get built from libgcc2.c
> are *not* actually __divdi3 etc, rather __divti3 and so on.
> 
> After your patch, we no longer have TImode division functions.

Well, I did say I tested it on IA64 HP-UX and not IA64 Linux.  It looks
like it worked for me because in my config/ia64/hpux.h I have:

#define MIN_UNITS_PER_WORD 4

which may or may not be right but I needed it at one point to get libgcc
to build.  With this defined the bits getting built are __divdi3 and not
__divti3.

Feel free to remove it (or have Jim Wilson remove it) if it is breaking
IA64 Linux.  I don't have write permission so I can't undo it myself.

Steve Ellcey
sje@cup.hp.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]