From: Kelvin Lunsford <kelvin@qantel.com>
Subject: RE: Bytes and stuff...
Date: Wed, 3 Sep 1997 10:50:53 -0700 [thread overview]
Message-ID: <d8aeaadb27bc17367db14f3a2381e613.axp-list@archive.invalid> (raw)
Ronny Ranerup(ronny@axis.com) wrote:
... stuff deleted
>I just got an AlphaPC 164LX, 533Mhz. Slick machine... Twice as fast as a
>PPRO when running gcc and three times as fast running dhrystone (yes a
silly
>benchmark, I know). 530.57 BogoMips...
>
>Anyway, we bought it to try it out as a server running our
ASIC-simulators,
>but of course we didn't get the kind of speed we wanted. In fact the first
tests
>showed it to be a tad slower than our PPROs. Sad. We knew beforehand that
all
>the byteaccesses in the simulator might mess up the Alpha and it seems we
were
>right. So we changed all bytes into ints and tried again. 20 percent
faster, although
>the code got half the size of the byteversion and even smaller than the
PPRO one.
>Cache trashing or something? I don't know quite what is happening.
The Alpha processor is a 64 bit machine. Most arithmatic and logical
operations
occur using 64 bit values in the registers, and memory writes of less than
64 bits requires a read and merge operation. Because the compilers define
the int size
to be 32 bits the intermediate results require extending and truncating, so
using
ints is simular to using bytes. If you want the best performance try using
long
ints (64 bits).
>I'm not sure but I think the CPU has instructions for byte access, but
>gcc doesn't use them yet. I've heard that gcc for Alpha makes bad code
>so I would like to see if DEC cc does a better job.
I've gotten faster code (heavy byte manipulation) using gcc, although I
haven't
used the newest DEC compiler, still at 3.0B.
Kelvin Lunsford, kelvin@qantel.com
begin 600 WINMAIL.DAT
M>)\^(C<1`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$-@ 0`
M`@````(``@`!!) &`!P!```!````# ````,``# #````"P`/#@`````"`?\/
M`0```$4`````````@2L?I+ZC$!F=;@#=`0]4`@````!A>' M;&ES=$!R961H
M870N8V]M`%--5% `87AP+6QI<W1 <F5D:&%T+F-O;0`````>``(P`0````4`
M``!33510`````!X``S !````% ```&%X<"UL:7-T0')E9&AA="YC;VT``P`5
M# $````#`/X/!@```!X``3 !````%@```"=A>' M;&ES=$!R961H870N8V]M
M)P````(!"S !````&0```%--5% Z05A0+4Q)4U1 4D5$2$%4+D-/30`````#
M```Y``````L`0#H!`````@'V#P$````$`````````Y<R`0B !P`8````25!-
M+DUI8W)O<V]F="!-86EL+DYO=&4`,0@!!( !`!<```!213H@0GET97,@86YD
M('-T=69F+BXN`!T'`06 `P`.````S0<)``,`"@`R`#4``P!4`0$@@ ,`#@``
M`,T'"0`#``H`%0`!``,``P$!"8 !`"$````T-S(Y04,U-#0T,C1$,3$Q.#E$
M1# P-C X0S<Y140Y-P`+!P$#D 8`- <``!(````+`",```````,`)@``````
M"P`I```````#`#8``````$ `.0`@2IOLD;B\`1X`< `!````%P```%)%.B!"
M>71E<R!A;F0@<W1U9F8N+BX```(!<0`!````%@````&\N)'LDE2L*4@D1!'1
MB=T`8(QY[9<``!X`'@P!````!0```%--5% `````'@`?# $````2````:V5L
M=FEN0'%A;G1E;"YC;VT````#``80D.C7(@,`!Q#C! ``'@`($ $```!E````
M4D].3EE204Y%4E50*%)/3DY90$%825-#3TTI5U)/5$4Z4U151D9$14Q%5$5$
M24I54U1'3U1!3D%,4$A!4$,Q-C1,6"PU,S--2%I33$E#2TU!0TA)3D545TE#
M14%31D%35$%300`````"`0D0`0```+D%``"U!0``"@L``$Q:1G7Z9R2B_P`*
M`0\"%0*H!>L"@P!0`O()`@!C: K <V5T,C<&``;#`H,R`\4"`'!R0G$1XG-T
M96T"@S.W`N0'$P*#-!+,%,5]"H _",\)V0* "H$-L0M@;F<8,3 S%% +`VQI
M,>0T- +1:2T:,PS0&C-S"U458C$X"J #8!/08^,%0 @`;FYY!_ `< 20E'5P
M&VUC#> @*!MO1QQT`V <\4!A> 0`+HT%H&T=KQZP*2!W'&*>.A[O''0*CR,_
M("XF@*LA/QZP(!/ =0W0( VP;FP1P F )%4^)1\<=$E((&IU$\ @9QQP(!$#
MD4%L<!& 4$,@`#$V-$Q8+" U81F036AZ+@8`&A!C5&L@`,%H"X!E)H$@LE0#
M\&-E*U $(&8N<'LK000@821()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/\3
MT#/0,T)E9#,0?= T8!E0_RQ@=)!_="1591-VP4;TB9/7?X1D8WPA22@P>0A@
M3</_6L1/@6:25J$#@2Y!1')_A/L7,(ZL*(/5.U!R#S]_>%_C*.\I^R=M(#L@
M4L$(<#]#@43Q*K!TTBU 3()#4/Y5; %;PA/ '7 <H'YR+I#_!;%;$BM06V,L
M8$K!EP]Q;_\;WC."=6 'D$P"AO6:L#9P_V,1FI!%H&P`6T +(%<D,X+7G;)>
M% # :P>18E01:X)?GO^@#U'O1% JL'<(8&Q]?7%II;!$,E[A1 `H,$1^12OP
MHB4O$3I `D!%L6K\;V)P3QOSEO\>.*.S*R'7C,%G%6MT**0!=AT0G?/_`X$%
M($<B;>$B8'^$,X%GB/\JH1& ;G%,$215AO$SXBY0_U9!DE*K,X>%CB$T8&0Q
M5U&P,RXP0JRV)%5+*&"J=EOA3#,0<U:A9"Q@TZ6PN/) <4WB;"#R)%\7E\^[
M(A;!`+V0`````P`0$ `````#`!$0`````$ `!S `3 C C;B\`4 `"# `3 C
:C;B\`1X`/0`!````!0```%)%.B `````HUH`
`
end
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-09-03 17:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-03 17:50 Kelvin Lunsford [this message]
[not found] <Pine.LNX.3.95.970904013004.27349A-100000@vb.franken.de>
1997-09-04 22:03 ` Bytes and stuff Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-09-03 15:34 Ronny Ranerup
1997-09-03 7:05 ` jestabro
1997-09-03 11:12 ` jestabro
1997-09-03 23:54 ` Volker Barthelmann
1997-09-03 15:46 ` Tom Linden
1997-09-03 16:57 ` Benoit E. Donnette
2017-09-03 16:56 ` Robert Lorenz
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox