* Byte ordering on VAX and Alpha
@ 1995-07-17 4:00 Greg Thomas
1995-07-17 4:00 ` oberman
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Greg Thomas @ 1995-07-17 4:00 UTC (permalink / raw)
A simple question ...
Are the byte orderings on the VAX and Alpha platforms different?
Thanks for any replies,
Greg Thomas
---
Tel (01473) 224832
Fax (01473) 233319
^ permalink raw reply [flat|nested] 12+ messages in thread* RE: Byte ordering on VAX and Alpha 1995-07-17 4:00 Byte ordering on VAX and Alpha Greg Thomas @ 1995-07-17 4:00 ` oberman 1995-07-17 4:00 ` Ron Fox 1995-07-18 4:00 ` Ron Natalie 1995-07-19 4:00 ` Larry Kilgallen 2 siblings, 1 reply; 12+ messages in thread From: oberman @ 1995-07-17 4:00 UTC (permalink / raw) In Article <3ue04p$mmp@pheidippides.axion.bt.co.uk> thomasgd@boat.bt.com (Greg Thomas) writes: >A simple question ... >Are the byte orderings on the VAX and Alpha platforms different? A simple answer: No. R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Lawrence Livermore National Laboratory (LLNL) Internet: koberman@llnl.gov +1 510-422-6955 ^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: Byte ordering on VAX and Alpha 1995-07-17 4:00 ` oberman @ 1995-07-17 4:00 ` Ron Fox 0 siblings, 0 replies; 12+ messages in thread From: Ron Fox @ 1995-07-17 4:00 UTC (permalink / raw) -- In article <3ue84i$5va@lll-winken.llnl.gov>, oberman@icaen.llnl.gov writes: |>Path: msunews!caen!hookup!news.mathworks.com!gatech!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!usenet |>From: oberman@icaen.llnl.gov |>Newsgroups: comp.sys.dec |>Subject: RE: Byte ordering on VAX and Alpha |>Date: Mon, 17 Jul 95 14:55:58 EDT |>Organization: Lawrence Livermore National Laboratory |>Lines: 12 |>Message-ID: <3ue84i$5va@lll-winken.llnl.gov> |>References: <3ue04p$mmp@pheidippides.axion.bt.co.uk> |>NNTP-Posting-Host: rogue.llnl.gov |> |>In Article <3ue04p$mmp@pheidippides.axion.bt.co.uk> |>thomasgd@boat.bt.com (Greg Thomas) writes: |>>A simple question ... |>>Are the byte orderings on the VAX and Alpha platforms different? |> |>A simple answer: No. |> |>R. Kevin Oberman |>Energy Sciences Network (ESnet) |>National Energy Research Supercomputer Center (NERSC) |>Lawrence Livermore National Laboratory (LLNL) |>Internet: koberman@llnl.gov +1 510-422-6955 |> However it's possible for the floating point representations to be different or the same depending on compilation options of the Alpha software. Alpha can perform VAX fpu arithmetic or IEEE floating point arithmentic. RF. Ron Fox | FOX@nscl00.nscl.msu.edu | NSCL | FOX@foxsun.NSCL.MSU.EDU | Michigan State University | MSUHEP::RUDOLF::FOX | East Lansing, MI 48824-1321 | | USA ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-17 4:00 Byte ordering on VAX and Alpha Greg Thomas 1995-07-17 4:00 ` oberman @ 1995-07-18 4:00 ` Ron Natalie 1995-07-18 4:00 ` Ross Alexander 1995-07-18 4:00 ` Carl J. Appellof 1995-07-19 4:00 ` Larry Kilgallen 2 siblings, 2 replies; 12+ messages in thread From: Ron Natalie @ 1995-07-18 4:00 UTC (permalink / raw) Greg Thomas (thomasgd@boat.bt.com) wrote: : A simple question ... : Are the byte orderings on the VAX and Alpha platforms different? No. Every DEC does is LSBFirst. -Ron ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-18 4:00 ` Ron Natalie @ 1995-07-18 4:00 ` Ross Alexander 1995-07-18 4:00 ` Ron Natalie 1995-07-18 4:00 ` Carl J. Appellof 1 sibling, 1 reply; 12+ messages in thread From: Ross Alexander @ 1995-07-18 4:00 UTC (permalink / raw) ron@topaz.sensor.com (Ron Natalie) writes: >Greg Thomas (thomasgd@boat.bt.com) wrote: >: A simple question ... >: Are the byte orderings on the VAX and Alpha platforms different? >No. Every DEC does is LSBFirst. Ummm, except for the pdp/1, 3, 5, 6, 7, 8, 9, 10, 12, 15 and 20. Viewed from this perspective, the 11, vax, and alpha are the oddballs ;) pedantically, Ross ps: yes, and most of these boxes are word machines anyhow. I'm just being a wiseacre. -- Ross Alexander, ve6pdq -- (403) 675 6311 -- rwa@cs.athabascau.ca ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-18 4:00 ` Ross Alexander @ 1995-07-18 4:00 ` Ron Natalie 1995-07-20 4:00 ` Burkhard Neidecker-Lutz 0 siblings, 1 reply; 12+ messages in thread From: Ron Natalie @ 1995-07-18 4:00 UTC (permalink / raw) Ross Alexander (rwa@cs.athabascau.ca) wrote: : >No. Every DEC does is LSBFirst. : Ummm, except for the pdp/1, 3, 5, 6, 7, 8, 9, 10, 12, 15 and 20. : Viewed from this perspective, the 11, vax, and alpha are the oddballs : ;) Don't forget the SPIM Decstations. DEC was the only vendor to run the MIPS chips backwards. : ps: yes, and most of these boxes are word machines anyhow. I'm just : being a wiseacre. The idea of a standard "byte" is a pretty foreign concept to the 10's and 20's. -Ron ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-18 4:00 ` Ron Natalie @ 1995-07-20 4:00 ` Burkhard Neidecker-Lutz 0 siblings, 0 replies; 12+ messages in thread From: Burkhard Neidecker-Lutz @ 1995-07-20 4:00 UTC (permalink / raw) In article <3uh2eb$f31@topaz.sensor.com> ron@topaz.sensor.com (Ron Natalie) writes: >Ross Alexander (rwa@cs.athabascau.ca) wrote: >Don't forget the SPIM Decstations. DEC was the only vendor to run >the MIPS chips backwards. At the time. Today NT runs them that way. Burkhard Neidecker-Lutz GLASS Project, CEC Karlsruhe Advanced Technology Group, Digital Equipment Corporation neideck@nestvx.enet.dec.com "July 95: AlphaStation 600 5/300, SPECint 334, SPECfp 503" ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-18 4:00 ` Ron Natalie 1995-07-18 4:00 ` Ross Alexander @ 1995-07-18 4:00 ` Carl J. Appellof 1995-07-18 4:00 ` Ron Natalie 1 sibling, 1 reply; 12+ messages in thread From: Carl J. Appellof @ 1995-07-18 4:00 UTC (permalink / raw) ron@topaz.sensor.com (Ron Natalie) wrote: >No. Every DEC does is LSBFirst. Not PDP10s. But I guess they don't count anymore :-) -- Carl Appellof not speaking for Digital Equipment Corporation ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-18 4:00 ` Carl J. Appellof @ 1995-07-18 4:00 ` Ron Natalie 0 siblings, 0 replies; 12+ messages in thread From: Ron Natalie @ 1995-07-18 4:00 UTC (permalink / raw) Carl J. Appellof (cja@zso.dec.com) wrote: : ron@topaz.sensor.com (Ron Natalie) wrote: : >No. Every DEC does is LSBFirst. : Not PDP10s. But I guess they don't count anymore :-) Of course, PDP10's didn't really have bytes, but arbitrary partial words. %DECSYSTEM-20 Not Running (Anymore). ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-17 4:00 Byte ordering on VAX and Alpha Greg Thomas 1995-07-17 4:00 ` oberman 1995-07-18 4:00 ` Ron Natalie @ 1995-07-19 4:00 ` Larry Kilgallen 1995-07-23 4:00 ` Steve Peltz 2 siblings, 1 reply; 12+ messages in thread From: Larry Kilgallen @ 1995-07-19 4:00 UTC (permalink / raw) In article <3ue04p$mmp@pheidippides.axion.bt.co.uk>, thomasgd@boat.bt.com (Greg Thomas) writes: > A simple question ... > Are the byte orderings on the VAX and Alpha platforms different? > > Thanks for any replies, A simple reply: No, there is no difference. A complicated reply: Since the Alpha instruction set does not have byte load and store from memory, the base machine is neither big-endian or little-endian. The compilers for VMS create a little- endian behaviour (same as VAX). I believe the compilers for OSF and WNT do the same, but I could be wrong. I have not the faintest idea about the compiler for Linux. There is a slight bias in the Alpha instruction set toward little endian, as setting up for certain byte extraction operations takes the compiler an extra instruction if you want big-endian. That instruction might be in an otherwise unused instruction slot anyway, so perhaps for your most critical inner loop there would be no difference. Larry Kilgallen ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-19 4:00 ` Larry Kilgallen @ 1995-07-23 4:00 ` Steve Peltz 1995-07-26 4:00 ` Larry Kilgallen 0 siblings, 1 reply; 12+ messages in thread From: Steve Peltz @ 1995-07-23 4:00 UTC (permalink / raw) In article <1995Jul19.195232.10631@eisner>, Larry Kilgallen <kilgallen@eisner.decus.org> wrote: > There is a slight bias in the Alpha instruction set toward > little endian, as setting up for certain byte extraction > operations takes the compiler an extra instruction if you > want big-endian. Not to mention that longwords are aligned little-endian with regard to quadwords! Given that, the only sane way to do bytes is little-endian as well (though I highly prefer big-endian otherwise). -- Steve Peltz tricorn@uiuc.edu ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Byte ordering on VAX and Alpha 1995-07-23 4:00 ` Steve Peltz @ 1995-07-26 4:00 ` Larry Kilgallen 0 siblings, 0 replies; 12+ messages in thread From: Larry Kilgallen @ 1995-07-26 4:00 UTC (permalink / raw) In article <3usqcf$2oq@vixen.cso.uiuc.edu>, peltz@cerl.uiuc.edu (Steve Peltz) writes: > Not to mention that longwords are aligned little-endian with regard > to quadwords! Given that, the only sane way to do bytes is little-endian > as well (though I highly prefer big-endian otherwise). Are there other machines where the reverse is true ? TCP/IP networking for VMS requires the programmer "convert" longwords between machine and network formats, and likewise for bytes, but nothing for quadwords. Or is it simply that other platforms do not use quadwords on a regular basis ? (If so, do you anticipate this will change?) Larry Kilgallen ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1995-07-26 4:00 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1995-07-17 4:00 Byte ordering on VAX and Alpha Greg Thomas 1995-07-17 4:00 ` oberman 1995-07-17 4:00 ` Ron Fox 1995-07-18 4:00 ` Ron Natalie 1995-07-18 4:00 ` Ross Alexander 1995-07-18 4:00 ` Ron Natalie 1995-07-20 4:00 ` Burkhard Neidecker-Lutz 1995-07-18 4:00 ` Carl J. Appellof 1995-07-18 4:00 ` Ron Natalie 1995-07-19 4:00 ` Larry Kilgallen 1995-07-23 4:00 ` Steve Peltz 1995-07-26 4:00 ` Larry Kilgallen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox