Newsgroups: comp.sys.transputer
From: jdd@aiki.demon.co.uk (Jim Dixon)
Subject: Re: Transputer 'C' - How do you do 64-bit Math?
Organization: AIKI Parallel Systems Ltd
Date: Thu, 14 Jul 1994 13:11:27 +0000
Message-ID: <774191487snz@aiki.demon.co.uk>

In article <301f0l$ioo@chaos.wg.com>
           ambrose@wgt-dev.wg.com "Steve Ambrose" writes:
> 
> We are using T425 transputers and are keeping some real-time counters that
> will overflow an INT32.  I cannot seem to find anything in the documentation
> that supports 64-bit data integer data types. 
> 
> Does anyone know if such types and operations exist?  Should I write the 
> routines myself?  Any recommendations would be greatly appreciated.
> 
The Inmos ANSI C Toolset doesn't support INT64s.  But the Occam Toolset does.
If you have it, you might want to use occam routines to do your arithmetic.
Or it might be worth while to define a set of occam INT64 library functions
and disassemble them (using the /ZAS switch, as I recall).  When I looked,
quite a long time ago, the code generated by the occam compiler was a lot
better than the code generated by the C compiler.
-- 
+------------------------------------+---------------------------------------+
|  Jim Dixon<jdd@aiki.demon.co.uk>   |       Compuserve: 100114,1027         |
| AIKI Parallel Systems Ltd + parallel processing hardware & software design |
|             voice +44 272 291 316  | fax +44 272 272 015                   |
+------------------------------------+---------------------------------------+

