Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Alpha 64 bit integers
@ 1992-12-17 20:50 John Brock
  1992-12-18 10:29 ` James Bonfield
  1992-12-18 18:12 ` Dave Eklund
  0 siblings, 2 replies; 3+ messages in thread
From: John Brock @ 1992-12-17 20:50 UTC (permalink / raw)


A question for you DECie techie types from a total outsider.  Does the
new Alpha architecture have native 64 bit integers?  How are they
organized?  As a natural extension of DEC's little endian 32 bit
integers?  Or something else?

Will Alpha C compilers have 16 bit shorts, 32 bit ints, and 64 bit
longs?  Will FORTRAN have INTEGER*8?

Do the new MIPS chips have 64 bit integers, and are they the same as
DEC's?  Do they have them in both big and little endian flavors, as
they do with 32 bit integers?  How about HP (PA) and IBM (POWER)
architectures, which I understand are also at least potentially 64
bit.  It seems to me that with 64 bits to play around in there is even
more potential for incompatabilities and big/little endian type warfare
than with 32 bits, so I hope somebody is thinking about this.

-- 
John Brock
uunet!csfb1!jbrock
jbrock@csfb1.fir.fbc.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alpha 64 bit integers
  1992-12-17 20:50 Alpha 64 bit integers John Brock
@ 1992-12-18 10:29 ` James Bonfield
  1992-12-18 18:12 ` Dave Eklund
  1 sibling, 0 replies; 3+ messages in thread
From: James Bonfield @ 1992-12-18 10:29 UTC (permalink / raw)


In <BzF8Ju.LrG@csfb1.fir.fbc.com> jbrock@csfb1.fir.fbc.com (John Brock) writes:

> A question for you DECie techie types from a total outsider.  Does the
> new Alpha architecture have native 64 bit integers?  How are they
> organized?  As a natural extension of DEC's little endian 32 bit
> integers?  Or something else?
Here's an output of the first chunk of 'enquire'

SIZES
char = 8 bits, signed
short=16 int=32 long=64 float=32 double=64 bits 
char*=64 bits BEWARE! larger than int!
int* =64 bits BEWARE! larger than int!
func*=64 bits BEWARE! larger than int!
Type size_t is unsigned long
Type size_t is unsigned long

ALIGNMENTS
char=1 short=2 int=4 long=8
float=4 double=8
char*=8 int*=8 func*=8

CHARACTER ORDER
short: BA
int:   DCBA
long:  HGFEDCBA

> Will Alpha C compilers have 16 bit shorts, 32 bit ints, and 64 bit
> longs?  Will FORTRAN have INTEGER*8?

Fortran INTEGERs appear to be 4 bytes. I do not know if the language has
extensions for providing longer INTEGERS.

> bit.  It seems to me that with 64 bits to play around in there is even
> more potential for incompatabilities and big/little endian type warfare
> than with 32 bits, so I hope somebody is thinking about this.

Indeed there is - I've just finished (I think) porting about 3meg of source
to the Alpha. It was a Fortran and C mix so I needed to think a lot about the
size of fortran integers when accessed within C. Personally I think a big
endian 64bit machine would pose even more problems.

	James

-- 
James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
Medical Research Council Laboratory of Molecular Biology, Hills Road,
Cambridge, CB2 2QH, England. Tel: 0223 402499   Fax: 0223 412282


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alpha 64 bit integers
  1992-12-17 20:50 Alpha 64 bit integers John Brock
  1992-12-18 10:29 ` James Bonfield
@ 1992-12-18 18:12 ` Dave Eklund
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Eklund @ 1992-12-18 18:12 UTC (permalink / raw)


Yes, there are 64-bit integers, DEC Fortran will support them on AXP, and they
are little endian.  INTEGER*8 provides the fairly natural extension to
the 64-bit integers.

Dave Eklund
DEC Fortran team


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1992-12-18 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-12-17 20:50 Alpha 64 bit integers John Brock
1992-12-18 10:29 ` James Bonfield
1992-12-18 18:12 ` Dave Eklund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox