delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/15/22:56:05

Message-Id: <199605160248.MAA24635@tornado.netspace.net.au>
Subject: Re: 64-bit integers
Date: Thu, 16 May 96 12:54:28 +1000
From: Adam Hinkley <hinks AT netspace DOT net DOT au>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
cc: <lav AT video DOT yars DOT free DOT net>, <djgpp AT delorie DOT com>, <j DOT aldrich6 AT genie DOT com>
Mime-Version: 1.0

>The old v1.x library sources archive (djlsr112.zip) included the sources 
>for these functions; if you can get that, you won't need to download the 
>multi-megabyte gcc distribution.

__udivmoddi4 (libgcc2.c_) contains the preprocessor define 
UDIV_NEEDS_NORMALIZATION.

I'm not sure whether to define it as 0 or 1.

I'm porting to PowerPC, which is a little endian - the first byte in a 
2-byte word (the lower of the two bytes in memory) contains the most 
significant part of the value.

Is that significant? Should I #define UDIV_NEEDS_NORMALIZATION as true or 
false?

Thanks

Adam

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019