* Alphas in 32-bit mode under NT?
@ 1996-07-11 11:00 Pedro Mendes
0 siblings, 0 replies; 5+ messages in thread
From: Pedro Mendes @ 1996-07-11 11:00 UTC (permalink / raw)
On 10 Jul 96 at 19:00, Sakovich, Aaron wrote:
> Uh, that is, today (with 3.1 through 4.0) NT is a 32 bit OS. The Alpha
> underneath it is 64 bit, in this case. In some cases, that may not make
> a whole lot of difference, but if you're doing math, or manipulating
> strings, the Alpha can do it 64 (or more) bits at a time.
I read in an usenet newsgroup that the Alpha chip has a 64-bit mode and a
32-bit mode and that NT puts it on 32-bit mode. If this is true than I
suppose all the maths will be done in 32 bits. I am very interested in
knowing the truth about this.
I have ported a chess program to Alpha NT that uses intensively 64-bit
integer operations (bit shifts, etc.). Before porting the program I
thought it would be much faster than it really is. The program on a 21064
at 266 Mhz runs at about half the speed as on a Pentium Pro 200 Mhz
(under linux). I wonder if this is beacuse the processor is in 32 bit
mode. Or maybe it is the run-time of Visual C++ doing all the _int64
operations with two 32 bit integers (somehow this one seems more
plausible to me).
Can anyone dismiss this rumour about alphas running in 32-bit mode under
NT with certainty? Anybody from DEC?
Many thanks
Pedro.
Pedro Mendes Inst. Biological Sciences
prm@aber.ac.uk (home: pedro@enzyme.demon.co.uk) Univ. Wales, Aberystwyth,
http://gepasi.dbs.aber.ac.uk/pedro/prmhome.htm Dyfed SY23 3DA, U.K.
PGP mail welcome! (public key on demand) FAX: +44 (0)1970 622350
-
(The above mail message was from Pedro Mendes <prm@aber.ac.uk>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe: To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alphas in 32-bit mode under NT?
[not found] <199607111101.GAA11587@foo.garply.com>
@ 1996-07-11 16:55 ` Jerry Feldman
0 siblings, 0 replies; 5+ messages in thread
From: Jerry Feldman @ 1996-07-11 16:55 UTC (permalink / raw)
Pedro Mendes <prm@aber.ac.uk> wrote:
> I read in an usenet newsgroup that the Alpha chip has a 64-bit mode and a
> 32-bit mode and that NT puts it on 32-bit mode. If this is true than I
> suppose all the maths will be done in 32 bits. I am very interested in
> knowing the truth about this.
<snip>
There is no 32 bit mode for the Alpha chip that I am aware of. The alpha chip, as are other risc chips, is very sensitive to the arrangement of the resulting object code. Thus, you should insure that the compiler and assembler is generating optimized code. Both the compilers and assembler incorporate a code scheduling algorithm which looks at the code stream and reorders the object code based on instruction latencies. The 21064 chip has the capability to execute 2 instructions during the same cycle (4 in the 21164).
Also, on the Alpha, all registers are 64 bit. The copmpiler must generate code to insure that 32 bit pointers do sign extend, and that when generating code, care must be taken that stays within longword boundaries rather than quadword.
Someone else may jump in here, but IMHO, you should be comparing the Pentium Pro with the 21164 chip, not the 21064 chip.
--
+-------------------------------------------------------------+
Jerry Feldman Digital Unix Development Environment
Digital Equipment Corp. gaf@zk3.dec.com
110 Spitbrook Rd. Mailstop: ZKO3-3/Y25
Nashua, NH 03062-9987 (603)881-2970, DTN:381-2970
Boston Computer Society Board of Directors gaf@bcs.org
+-------------------------------------------------------------+
-
(The above mail message was from "Jerry Feldman" <gaf@zk3.dec.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe: To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Alphas in 32-bit mode under NT?
@ 1996-07-11 17:29 John Vert
0 siblings, 0 replies; 5+ messages in thread
From: John Vert @ 1996-07-11 17:29 UTC (permalink / raw)
There is no such thing as "32-bit mode" on an Alpha chip. Full 64-bit
integer arithmetic is always available and is supported with the __int64
datatype in VC++. The 32-bitness of Windows NT is because the operating
system only makes 32 bits worth of a potential 64-bit virtual address
space available. (the lowest 2GB for user applications, the highest 2GB
for the system). 32-bit pointers are sign-extended into the 64-bit
quantities that the Alpha chip uses.
I think you will find the 21164 is a more reasonable comparison
speedwise to the Pentium Pro 200.
-John
>----------
>From: Pedro Mendes[SMTP:prm@aber.ac.uk]
>Sent: Thursday, July 11, 1996 4:00 AM
>To: alphant@garply.com
>Subject: Alphas in 32-bit mode under NT?
>
>On 10 Jul 96 at 19:00, Sakovich, Aaron wrote:
>
>> Uh, that is, today (with 3.1 through 4.0) NT is a 32 bit OS. The Alpha
>> underneath it is 64 bit, in this case. In some cases, that may not make
>> a whole lot of difference, but if you're doing math, or manipulating
>> strings, the Alpha can do it 64 (or more) bits at a time.
>
>I read in an usenet newsgroup that the Alpha chip has a 64-bit mode and a
>32-bit mode and that NT puts it on 32-bit mode. If this is true than I
>suppose all the maths will be done in 32 bits. I am very interested in
>knowing the truth about this.
>
>I have ported a chess program to Alpha NT that uses intensively 64-bit
>integer operations (bit shifts, etc.). Before porting the program I
>thought it would be much faster than it really is. The program on a 21064
>at 266 Mhz runs at about half the speed as on a Pentium Pro 200 Mhz
>(under linux). I wonder if this is beacuse the processor is in 32 bit
>mode. Or maybe it is the run-time of Visual C++ doing all the _int64
>operations with two 32 bit integers (somehow this one seems more
>plausible to me).
>
>Can anyone dismiss this rumour about alphas running in 32-bit mode under
>NT with certainty? Anybody from DEC?
>
>Many thanks
>Pedro.
>
>Pedro Mendes Inst. Biological Sciences
>prm@aber.ac.uk (home: pedro@enzyme.demon.co.uk) Univ. Wales, Aberystwyth,
>http://gepasi.dbs.aber.ac.uk/pedro/prmhome.htm Dyfed SY23 3DA, U.K.
>PGP mail welcome! (public key on demand) FAX: +44 (0)1970 622350
>-
>(The above mail message was from Pedro Mendes <prm@aber.ac.uk>, to alphant)
>To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
>To unsubscribe: To: majordomo@garply.com, Text: UNSUBSCRIBE
>ALPHANT
>Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html
>
-
(The above mail message was from John Vert <jvert@MICROSOFT.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe: To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alphas in 32-bit mode under NT?
@ 1996-07-11 21:33 Bernie Brocklehurst
0 siblings, 0 replies; 5+ messages in thread
From: Bernie Brocklehurst @ 1996-07-11 21:33 UTC (permalink / raw)
Hello,
> thought it would be much faster than it really is. The program on a 21064
> at 266 Mhz runs at about half the speed as on a Pentium Pro 200 Mhz
> (under linux). I wonder if this is beacuse the processor is in 32 bit
> mode. Or maybe it is the run-time of Visual C++ doing all the _int64
> operations with two 32 bit integers (somehow this one seems more
> plausible to me).
1.) Linux is a fast operating system. (partially for reason #2)
2.) An OS with no graphical interface (as X was not specified) sure
should run a bit faster than one with a purely graphical interface
3.) If you are trying to compare the two computers, look at the
generations.. and look at the price. I think the pentium pro 200
costs considerably more than your 266 21064 did.. just my thoughts.
What about hardware configurations on both computers?
(ie. Alpha with 16 MB vs. Pentium Pro with 128 MB.. hardrive
sizes/speeds... SCSI? .. anyways)
To compare, use same configurations, install WinNT.. on both.. and
when the Pentium Pro finally boots up the benchmark tests should be
done on the Alpha... :)
> Can anyone dismiss this rumour about alphas running in 32-bit mode under
> NT with certainty? Anybody from DEC?
Windows NT is and always was a 32 OS. There is no doubt about that.
Microsoft has announced plans to have a 64 bit release written for
the Alpha.
My two cents... (Canadian Currency that is!)
Bernie
-
(The above mail message was from "Bernie Brocklehurst" <bernie@ebtech.net>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe: To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alphas in 32-bit mode under NT?
@ 1996-07-12 1:02 Vareck Bostrom
0 siblings, 0 replies; 5+ messages in thread
From: Vareck Bostrom @ 1996-07-12 1:02 UTC (permalink / raw)
, July 11, 1996 2:33 PM
>
> Hello,
>
> > thought it would be much faster than it really is. The program on a
21064
> > at 266 Mhz runs at about half the speed as on a Pentium Pro 200 Mhz
> > (under linux). I wonder if this is beacuse the processor is in 32 bit
> > mode. Or maybe it is the run-time of Visual C++ doing all the _int64
> > operations with two 32 bit integers (somehow this one seems more
> > plausible to me).
>
21064 is becoming quite a dated chip nowdays - the days when it was worlds
fastest was back when Pentium was on a 0.8 micron process. 200 MHz Pentium
Pro should safely be faster than a 266 MHz 21064. (I don't know about
twice as fast though.. but who knows..)
>
> To compare, use same configurations, install WinNT.. on both.. and
> when the Pentium Pro finally boots up the benchmark tests should be
> done on the Alpha... :)
>
I've got a 32 MB RAM pentium pro-200 (256kb L2), and a 32 MB RAM 21066-166
(256kb L2). According to byte native bench (precompiled in both cases)
running under NT 4.0 bld 1314 (on both machines), performance as follows:
CPU Byte-INT Byte-FP
PentiumPro-200 2.70 3.32
21066-166 1.52 1.31
Some other issues may be holding back the 21066-166 (narrower bus than
your 21064 perhaps? Less cache? Who knows) but I wouldn't be suprised to
find PPro-200 faster than 21064-266...
-
(The above mail message was from "Vareck Bostrom" <bostrov@teleport.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe: To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-07-12 1:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199607111101.GAA11587@foo.garply.com>
1996-07-11 16:55 ` Alphas in 32-bit mode under NT? Jerry Feldman
1996-07-12 1:02 Vareck Bostrom
-- strict thread matches above, loose matches on Subject: below --
1996-07-11 21:33 Bernie Brocklehurst
1996-07-11 17:29 John Vert
1996-07-11 11:00 Pedro Mendes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox