Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DEC Alpha- big endian or little endian?
@ 1996-01-29  5:00 Konstantin Olchanski
  1996-02-03  5:00 ` John McNamara
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Konstantin Olchanski @ 1996-01-29  5:00 UTC (permalink / raw)



Folks- what is the endianess of the DEC Alpha machines?

Let me try to describe my problem-

I am looking at all these great new DEC Alpha
	machines coming out with pretty damn good
	price/performance and wish we could use
	them as compute servers.

Unfortunately our applications lives in the big-endian world
	(SGIs, IBM/rs6000 and SUNs) and the Alphas
	seem to be little endian.

This is not a problem for the code itself- it is endian
	independant and was easily ported to the Alpha.

The problem is that all our data sets are written in the
	big-endian format and the little-endian version
	of our code cannot read them.

I understand that it is possible to write a
	"data converter" to covert our data between
	little-endian and big-endian representations.

This approach requires a fair amount of work
	and has some drawbacks, such as slower programs
	(if data is coverted on-the-fly) or increased
	disk space usage (if we have to keep two versions
	of the data- big-endian and little-endian).

So I am asking the DEC gurus this question- is there any
	easier way to make use on the Alphas?

Is there some magic switch that we can flip to have the machine
	run in big-endian mode?

Or maybe some hidden compiler switches to make it produce
	"big-endian" code?

DEC must have provided some kind of solution to this problem,
	since it's hard to believe that they completely locked
	themselves out of the big-endian-workstation market!



Konstantin Olchanski, olchansk@b1.phy.bnl.gov



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

end of thread, other threads:[~1996-02-16  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-29  5:00 DEC Alpha- big endian or little endian? Konstantin Olchanski
1996-02-03  5:00 ` John McNamara
1996-02-04  5:00   ` bruce
1996-02-09  5:00   ` Konstantin Olchanski
1996-02-16  5:00     ` bruce
1996-02-04  5:00 ` fairfield
1996-02-05  5:00 ` Steve Lionel

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