* Compaq to port its Fortran and C compilers to Alpha Linux
@ 1999-04-06 4:00 Steve Lionel
1999-04-07 4:00 ` NewsMan
1999-04-12 4:00 ` Christian Simmendinger
0 siblings, 2 replies; 117+ messages in thread
From: Steve Lionel @ 1999-04-06 4:00 UTC (permalink / raw)
The following is an excerpt from a large Compaq press release (
http://www.compaq.com/newsroom/pr/1999/pr060499a.html) announced
today:
Linux and Tru64 UNIX Compatibility; Compaq Support
Compaq has now incorporated Linux into its enterprise UNIX strategy,
emphasizing its intentions to increase Linux and Tru64 UNIX
application and product compatibility. This will ensure a more
consistent, complete application platform for Linux customers. Compaq
will concentrate on Internet Service Providers (ISPs), High
Performance Technical Computing (HPTC) and Education as initial Linux
target markets.
Further establishing AlphaServers as the high performance leader in
Linux systems, and in direct response to demand from High Performance
Technical Computing customers, Compaq is also porting its Tru64 UNIX
Alpha Fortan and C compilers along with the associated runtime
libraries to Linux (Alpha) later this year. Additional
compilers/development tools will be considered as more requirements
are identified. Early testing has shown that the code generated by
Compaq Fortran for Linux on AlphaServers will perform floating point
calculations at least twice as fast as code generated by the g77
compiler for Linux on AlphaServers.
....
Our current thinking is that we'll have a "public beta" of the Fortran
compiler starting in July. The C compiler will be somewhat later.
Please watch our web site (http://www.compaq.com/fortran) for more
details as they become available.
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-06 4:00 ` Jeffrey J. Potoff
@ 1999-04-06 4:00 ` Ron Flory
1999-04-07 4:00 ` Paul English
` (2 subsequent siblings)
3 siblings, 0 replies; 117+ messages in thread
From: Ron Flory @ 1999-04-06 4:00 UTC (permalink / raw)
> > Don't you think that it took too long?
hey, if you think it takes awhile for stuff to get to the Alpha
platform, just imaging how bad it is for m68k folks ;(
ron
x86/Alpha/m68k Linux
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` NewsMan
@ 1999-04-06 4:00 ` Jeffrey J. Potoff
1999-04-06 4:00 ` Ron Flory
` (3 more replies)
1999-04-07 4:00 ` Steve Lionel
1999-04-10 4:00 ` Phillip Helbig
2 siblings, 4 replies; 117+ messages in thread
From: Jeffrey J. Potoff @ 1999-04-06 4:00 UTC (permalink / raw)
NewsMan wrote:
>
> Steve Lionel wrote:
>
> > The following is an excerpt from a large Compaq press release (
> > http://www.compaq.com/newsroom/pr/1999/pr060499a.html) announced
> > today:
> >
> > Linux and Tru64 UNIX Compatibility; Compaq Support
> >
> > [ ... ], Compaq is also porting its Tru64 UNIX
> > Alpha Fortan and C compilers along with the associated runtime
> > libraries to Linux (Alpha) later this year. Additional
> > compilers/development tools will be considered as more requirements
> > are identified. [ ... ]
> > Our current thinking is that we'll have a "public beta" of the Fortran
> > compiler starting in July. The C compiler will be somewhat later.
> > --
> > Steve Lionel (mailto:Steve.Lionel@compaq.com)
>
> Hi, Steve,
> Don't you think that it took too long?
Unbelievible. Compaq ports it's compilers to Alpha Linux and
you complain about it taking too long ? Be thankful it happened
at all.
> Compaq should respond to the market faster.
In a perfect world we'd all get what we wanted right away, wouldn't
we ?
> In July, an AMD K7 system will appear. I think that
> it probably is as fast as a 21164a system at around the same price.
So AMD comes up with a CPU that's as fast as a 3 year old Alpha and
somehow that's news ?
Jeff
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` NewsMan
1999-04-06 4:00 ` Jeffrey J. Potoff
@ 1999-04-07 4:00 ` Steve Lionel
1999-04-07 4:00 ` Peter Mardahl
1999-04-10 4:00 ` Phillip Helbig
2 siblings, 1 reply; 117+ messages in thread
From: Steve Lionel @ 1999-04-07 4:00 UTC (permalink / raw)
On Wed, 07 Apr 1999 11:07:32 +0900, NewsMan
<newsman@sangdu.kjist.ac.kr> wrote:
>Anyway, I've got a question: Does the present compiler system for
>TruUnix include C++? Why is there no mention of it?
Yes, we offer a very good C++ compiler for Tru64 Unix. If you're
asking why there's no mention of it in the press release about our
Linux compiler plans, that's because C++ isn't in the initial set of
compilers we're porting. It's certainly something we would look at
for the future, but we're focusing on getting the two most widely used
(and demanded) compilers out there first. As the press release says,
"Additional compilers/development tools will be considered as more
requirements are identified."
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-06 4:00 ` Jeffrey J. Potoff
1999-04-06 4:00 ` Ron Flory
@ 1999-04-07 4:00 ` Paul English
1999-04-07 4:00 ` Greg Lindahl
1999-04-07 4:00 ` Dave Cherkus
1999-04-07 4:00 ` Ben Pfaff
1999-04-07 4:00 ` Gary Scott
3 siblings, 2 replies; 117+ messages in thread
From: Paul English @ 1999-04-07 4:00 UTC (permalink / raw)
In comp.os.linux.alpha Jeffrey J. Potoff <jpotoff@rhea.umd.edu> wrote:
>> > Our current thinking is that we'll have a "public beta" of the Fortran
>> > compiler starting in July. The C compiler will be somewhat later.
>> > --
>> > Steve Lionel (mailto:Steve.Lionel@compaq.com)
>>
>> Hi, Steve,
>> Don't you think that it took too long?
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
It didn't sound like a complaint to me. It sounded like very good advice.
Often it is difficult for large companies to innovate and respond to the
market as fast as is necessary, particularly in the technology area.
And those who don't evolve get bought out or go under.
Case in point: Digital.
>> Compaq should respond to the market faster.
> In a perfect world we'd all get what we wanted right away, wouldn't
> we ?
Sure, and great computer companies wouldn't get bought out by wimpy
mail order intel crap companies, but it happens.
>> In July, an AMD K7 system will appear. I think that
>> it probably is as fast as a 21164a system at around the same price.
> So AMD comes up with a CPU that's as fast as a 3 year old Alpha and
> somehow that's news ?
Sure it is, if Compaq is still banking on a large income from that 3
year old Alpha, and is setting the price point on it's newer chips so high
that they don't appeal to the same market segment.
Ho hum...
Paul
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
@ 1999-04-07 4:00 ` Jim Klein
1999-04-07 4:00 ` Peter Mardahl
` (5 subsequent siblings)
6 siblings, 0 replies; 117+ messages in thread
From: Jim Klein @ 1999-04-07 4:00 UTC (permalink / raw)
Ben Pfaff <pfaffben@pilot.msu.edu> wrote:
>"Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
>Compaq can kiss my ass if they think I'm going to be grateful for a
>Linux port of *anything* that's not open source.
>Anyway, this is off-topic. Followups set.
>--
>(supporter of the campaign for grumpiness where grumpiness is due in c.l.c)
>Please: do not email me copies of your posts to comp.lang.c
> do not ask me C questions via email; post them instead
I warned Steve about this. I told him that there would be those who
thought they were "owed" free software with "free open source".
I just hope there are a few realistic souls out there who understand
that the people who work for Compaq have wives and childeren and house
payments and they are not all living in a 1960, Big Sur, hippy dippy
commune and therefore they need a regular pay check.
Since Compaq is not in the charity business, they have every right to
charge a reasonable fee for their services and they have every right
to protect their investment by treating their source as a proprietary
company resourse.
Yes, I know I bitched and screamed here about line number trace back,
but it is in now and I bought DVF 6.0 pro and I'm getting into it at
my day job.
Sincerely,
Jim Klein
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Paul English
1999-04-07 4:00 ` Greg Lindahl
@ 1999-04-07 4:00 ` Dave Cherkus
1999-04-07 4:00 ` essoft
1999-04-09 4:00 ` Richard Heathfield
1 sibling, 2 replies; 117+ messages in thread
From: Dave Cherkus @ 1999-04-07 4:00 UTC (permalink / raw)
Paul English (tallpaul@mathworks.com) wrote:
: In comp.os.linux.alpha Jeffrey J. Potoff <jpotoff@rhea.umd.edu> wrote:
: > Unbelievible. Compaq ports it's compilers to Alpha Linux and
: > you complain about it taking too long ? Be thankful it happened
: > at all.
:
: It didn't sound like a complaint to me. It sounded like very good advice.
Oh, thank you so much for pointing that out, Mr. English. Your great
advise will allow Compaq to ship those compilers tomorrow - NOT!
: > In a perfect world we'd all get what we wanted right away, wouldn't
: > we ?
:
: Sure, and great computer companies wouldn't get bought out by wimpy
: mail order intel crap companies, but it happens.
And the majority of the world's computers wouldn't be running an
operating system produced by a Harvard Business School dropout...
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Steve Lionel
@ 1999-04-07 4:00 ` Peter Mardahl
1999-04-07 4:00 ` Ron Flory
1999-04-08 4:00 ` Udo Klasmeier
0 siblings, 2 replies; 117+ messages in thread
From: Peter Mardahl @ 1999-04-07 4:00 UTC (permalink / raw)
In article <371e7236.606742625@usenet.pa.dec.com>,
Steve Lionel <Steve.Lionel@compaq.com> wrote:
>On Wed, 07 Apr 1999 11:07:32 +0900, NewsMan
><newsman@sangdu.kjist.ac.kr> wrote:
>
>>Anyway, I've got a question: Does the present compiler system for
>>TruUnix include C++? Why is there no mention of it?
>
>Yes, we offer a very good C++ compiler for Tru64 Unix. If you're
>asking why there's no mention of it in the press release about our
>Linux compiler plans, that's because C++ isn't in the initial set of
>compilers we're porting. It's certainly something we would look at
>for the future, but we're focusing on getting the two most widely used
>(and demanded) compilers out there first. As the press release says,
>"Additional compilers/development tools will be considered as more
>requirements are identified."
Well, I personally am much more interested in the C++ compilers than
the C or Fortran compilers.
PeterM
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
1999-04-07 4:00 ` Jim Klein
@ 1999-04-07 4:00 ` Peter Mardahl
1999-04-07 4:00 ` bmeyer
` (4 subsequent siblings)
6 siblings, 0 replies; 117+ messages in thread
From: Peter Mardahl @ 1999-04-07 4:00 UTC (permalink / raw)
In article <87d81hkqw0.fsf@pfaffben.user.msu.edu>,
Ben Pfaff <pfaffben@pilot.msu.edu> wrote:
>"Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
>
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
>
>Compaq can kiss my ass if they think I'm going to be grateful for a
>Linux port of *anything* that's not open source.
>
>Anyway, this is off-topic. Followups set.
I'll be glad when these compilers are available. If they're priced
reasonably, I'll buy them, too.
I don't think it's reasonable to demand they release their commercial
compilers for free.
PeterM
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
1999-04-07 4:00 ` Jim Klein
1999-04-07 4:00 ` Peter Mardahl
@ 1999-04-07 4:00 ` bmeyer
1999-04-07 4:00 ` Jeffrey J. Potoff
` (3 subsequent siblings)
6 siblings, 0 replies; 117+ messages in thread
From: bmeyer @ 1999-04-07 4:00 UTC (permalink / raw)
Ben Pfaff <pfaffben@pilot.msu.edu> writes:
>Compaq can kiss my ass if they think I'm going to be grateful for a
>Linux port of *anything* that's not open source.
I guess they'll just have to live with the likes of me being grateful,
then, and miss out on your gratefulness. I hope that prospect doesn't
stop them from porting their compilers.
BTW, give us a yell when you have written a compiler suite that delivers
the same sort of value as the ones Compaq is planning to make available
for relatively little money.
Bernie
--
============================================================================
"It's a magical world, Hobbes ol' buddy...
...let's go exploring"
Calvin's final words, on December 31st, 1995
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Gary Scott
@ 1999-04-07 4:00 ` Toon Moene
0 siblings, 0 replies; 117+ messages in thread
From: Toon Moene @ 1999-04-07 4:00 UTC (permalink / raw)
Gary Scott wrote:
> They're all a little behind the latest (non-"super computer") G5 mainframe at
> 1040+/- MIPs with up to a 320 processor "parallel sysplex" architecture
> (332KMIPs in somebody's marketing brochure). I'll soon have a 4 CPU one
> available, if only there was some software for it that I wanted to use...
There is a port of the egcs system to the 370 architecture, so in
principle you could run g77 on it; I have no information on how stable
that port is, however (we have gotten no questions on it in the year and
a half that the egcs project now runs).
As an aside, g77 doesn't do any shared memory SMP yet, so to use 4
processors, you also have to make your software PVM or MPI ready.
However, if you can afford a G5, it would be peanuts for you to fund
Craig to add that extension, I'd think ...
(OK, 1/2 :-)
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Greg Lindahl
@ 1999-04-07 4:00 ` Toon Moene
1999-04-08 4:00 ` Anton Ertl
1999-04-08 4:00 ` Keith Higgs
1 sibling, 1 reply; 117+ messages in thread
From: Toon Moene @ 1999-04-07 4:00 UTC (permalink / raw)
Greg Lindahl wrote:
> Thank you for sharing. The AlphaLinux community as a whole seems to be
> pretty receptive to the idea; I'd love to have an open-source compiler
> as good as Digital Fortran, but there isn't one.
And the most important thing - it might not be open source, but it seems
to be cheap (that would not be hard next to the purchasing price of a
21264 system), so I think I'll buy one when I have obtained an Alpha
system to study the differences in code generation.
Who knows what we'll learn ....
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
` (2 preceding siblings ...)
1999-04-07 4:00 ` bmeyer
@ 1999-04-07 4:00 ` Jeffrey J. Potoff
1999-04-07 4:00 ` Greg Lindahl
` (2 subsequent siblings)
6 siblings, 0 replies; 117+ messages in thread
From: Jeffrey J. Potoff @ 1999-04-07 4:00 UTC (permalink / raw)
Ben Pfaff wrote:
>
> "Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
>
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
>
> Compaq can kiss my ass if they think I'm going to be grateful for a
> Linux port of *anything* that's not open source.
>
Good for you. I have no use for the compiler source code, although
I do have a use for the compilers themselves. I'm sure there are
a large number of people in the same situation.
Do you actually have a need for the source code yourself or are
you just complaining because of some "moral" objection you have
towards closed source software ?
Jeff
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Paul English
@ 1999-04-07 4:00 ` Greg Lindahl
1999-04-07 4:00 ` Dave Cherkus
1 sibling, 0 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-07 4:00 UTC (permalink / raw)
Paul English <tallpaul@mathworks.com> writes:
> It didn't sound like a complaint to me. It sounded like very good advice.
> Often it is difficult for large companies to innovate and respond to the
> market as fast as is necessary, particularly in the technology area.
> And those who don't evolve get bought out or go under.
> Case in point: Digital.
I see. Gee, he was the first person to ever think of that point, and
it was very good for him to have shared it with all 4 newsgroups that
he posted it to. Now we are all enlightened, and I'm sure that
the CEO of Compaq will get right on this important point.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Dave Cherkus
@ 1999-04-07 4:00 ` essoft
1999-04-08 4:00 ` bmeyer
1999-04-09 4:00 ` Richard Heathfield
1 sibling, 1 reply; 117+ messages in thread
From: essoft @ 1999-04-07 4:00 UTC (permalink / raw)
Dave Cherkus wrote:
> And the majority of the world's computers wouldn't be running an
> operating system produced by a Harvard Business School dropout...
Imagine if he'd graduated -- we'd be already upgraded from USA to USM(icrosoft)
and Pentagon's MS engineered FCS would be landing missiles aimed at Belgrade
into Sydney...
--
Dr.B.Voh
-----------------------------------------------
Modeling * Simulation * Analysis
http://www.netcom.com/~essoft
-----------------------------------------------
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Peter Mardahl
@ 1999-04-07 4:00 ` Ron Flory
1999-04-07 4:00 ` Helmut Katzgraber
1999-04-08 4:00 ` Udo Klasmeier
1 sibling, 1 reply; 117+ messages in thread
From: Ron Flory @ 1999-04-07 4:00 UTC (permalink / raw)
hey guys-
lets keep a low profile here before Stallman jumps in....
ron
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ron Flory
@ 1999-04-07 4:00 ` Helmut Katzgraber
1999-04-08 4:00 ` Steve Lionel
0 siblings, 1 reply; 117+ messages in thread
From: Helmut Katzgraber @ 1999-04-07 4:00 UTC (permalink / raw)
can anyone define "later this year" and give an idea about the price for
this compilers?!?
h
--
==========================================================================
Helmut G. Katzgraber mail: dummkopf@debussy.ucsc.edu
Physics Department http://debussy.ucsc.edu/~dummkopf
Kerr Hall
Univ. of California Phone: (+1) 831-459-4762 OF
Santa Cruz, CA 95064 (+1) 831-423-3751 HOME
USA Fax: (+1) 831-459-3043
==========================================================================
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-06 4:00 Compaq to port its Fortran and C compilers to Alpha Linux Steve Lionel
@ 1999-04-07 4:00 ` NewsMan
1999-04-06 4:00 ` Jeffrey J. Potoff
` (2 more replies)
1999-04-12 4:00 ` Christian Simmendinger
1 sibling, 3 replies; 117+ messages in thread
From: NewsMan @ 1999-04-07 4:00 UTC (permalink / raw)
Steve Lionel wrote:
> The following is an excerpt from a large Compaq press release (
> http://www.compaq.com/newsroom/pr/1999/pr060499a.html) announced
> today:
>
> Linux and Tru64 UNIX Compatibility; Compaq Support
>
> [ ... ], Compaq is also porting its Tru64 UNIX
> Alpha Fortan and C compilers along with the associated runtime
> libraries to Linux (Alpha) later this year. Additional
> compilers/development tools will be considered as more requirements
> are identified. [ ... ]
> Our current thinking is that we'll have a "public beta" of the Fortran
> compiler starting in July. The C compiler will be somewhat later.
> --
> Steve Lionel (mailto:Steve.Lionel@compaq.com)
Hi, Steve,
Don't you think that it took too long? Compaq should respond to
the market faster. In July, an AMD K7 system will appear. I think that
it probably is as fast as a 21164a system at around the same price.
Anyway, I've got a question: Does the present compiler system for
TruUnix include C++? Why is there no mention of it?
Thanks.
G. Hugh Song
--
Newsman
PS: Reply to ghsong "at" kjist "dot" ac "dot" kr, if you really have to.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-06 4:00 ` Jeffrey J. Potoff
` (2 preceding siblings ...)
1999-04-07 4:00 ` Ben Pfaff
@ 1999-04-07 4:00 ` Gary Scott
1999-04-07 4:00 ` Toon Moene
3 siblings, 1 reply; 117+ messages in thread
From: Gary Scott @ 1999-04-07 4:00 UTC (permalink / raw)
"Jeffrey J. Potoff" wrote:
> NewsMan wrote:
> >
> > Steve Lionel wrote:
> >
> > > The following is an excerpt from a large Compaq press release (
> > > http://www.compaq.com/newsroom/pr/1999/pr060499a.html) announced
> > > today:
> > >
> > > Linux and Tru64 UNIX Compatibility; Compaq Support
> > >
> > > [ ... ], Compaq is also porting its Tru64 UNIX
> > > Alpha Fortan and C compilers along with the associated runtime
> > > libraries to Linux (Alpha) later this year. Additional
> > > compilers/development tools will be considered as more requirements
> > > are identified. [ ... ]
> > > Our current thinking is that we'll have a "public beta" of the Fortran
> > > compiler starting in July. The C compiler will be somewhat later.
> > > --
> > > Steve Lionel (mailto:Steve.Lionel@compaq.com)
> >
> > Hi, Steve,
> > Don't you think that it took too long?
>
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
>
> > Compaq should respond to the market faster.
>
> In a perfect world we'd all get what we wanted right away, wouldn't
> we ?
>
> > In July, an AMD K7 system will appear. I think that
> > it probably is as fast as a 21164a system at around the same price.
>
> So AMD comes up with a CPU that's as fast as a 3 year old Alpha and
> somehow that's news ?
>
> Jeff
They're all a little behind the latest (non-"super computer") G5 mainframe at
1040+/- MIPs with up to a 320 processor "parallel sysplex" architecture
(332KMIPs in somebody's marketing brochure). I'll soon have a 4 CPU one
available, if only there was some software for it that I wanted to use...
--
Gary Scott
mailto:scottg@flash.net
mailto:webmaster@fortranlib.com
http://www.fortranlib.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-06 4:00 ` Jeffrey J. Potoff
1999-04-06 4:00 ` Ron Flory
1999-04-07 4:00 ` Paul English
@ 1999-04-07 4:00 ` Ben Pfaff
1999-04-07 4:00 ` Jim Klein
` (6 more replies)
1999-04-07 4:00 ` Gary Scott
3 siblings, 7 replies; 117+ messages in thread
From: Ben Pfaff @ 1999-04-07 4:00 UTC (permalink / raw)
"Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
Unbelievible. Compaq ports it's compilers to Alpha Linux and
you complain about it taking too long ? Be thankful it happened
at all.
Compaq can kiss my ass if they think I'm going to be grateful for a
Linux port of *anything* that's not open source.
Anyway, this is off-topic. Followups set.
--
(supporter of the campaign for grumpiness where grumpiness is due in c.l.c)
Please: do not email me copies of your posts to comp.lang.c
do not ask me C questions via email; post them instead
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
` (3 preceding siblings ...)
1999-04-07 4:00 ` Jeffrey J. Potoff
@ 1999-04-07 4:00 ` Greg Lindahl
1999-04-07 4:00 ` Toon Moene
1999-04-08 4:00 ` Keith Higgs
1999-04-09 4:00 ` Daniel Barker
1999-04-10 4:00 ` Phillip Helbig
6 siblings, 2 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-07 4:00 UTC (permalink / raw)
Ben Pfaff <pfaffben@pilot.msu.edu> writes:
> "Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
>
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
>
> Compaq can kiss my ass if they think I'm going to be grateful for a
> Linux port of *anything* that's not open source.
Thank you for sharing. The AlphaLinux community as a whole seems to be
pretty receptive to the idea; I'd love to have an open-source compiler
as good as Digital Fortran, but there isn't one.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Helmut Katzgraber
@ 1999-04-08 4:00 ` Steve Lionel
1999-04-09 4:00 ` Dave Cherkus
0 siblings, 1 reply; 117+ messages in thread
From: Steve Lionel @ 1999-04-08 4:00 UTC (permalink / raw)
On Thu, 08 Apr 1999 10:15:26 -0700, Helmut Katzgraber
<dummkopf@debussy.ucsc.edu> wrote:
>what about c? any idea there?
If you're asking me for schedule or pricing for our C compiler on
Alpha Linux, all I know is that C would start beta test after Fortran,
and I have no idea on pricing.
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Anton Ertl
@ 1999-04-08 4:00 ` Toon Moene
1999-04-08 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Anton Ertl
1999-04-08 4:00 ` Compaq to port its Fortran and C compilers to Alpha Linux James D. Freels
1999-04-09 4:00 ` Jim Gettys
1999-04-09 4:00 ` bmeyer
2 siblings, 2 replies; 117+ messages in thread
From: Toon Moene @ 1999-04-08 4:00 UTC (permalink / raw)
Anton Ertl wrote:
> In article <370BA607.1F391244@moene.indiv.nluug.nl>,
> I wrote:
> [Digital compilers]
> > I think I'll buy one when I have obtained an Alpha
> > system to study the differences in code generation.
>
> I.e., if we want to write decent compilers for the Alpha, instead of
> reading an optimization guide (which, e.g., Intel and AMD provide for
> free for their CPUs) we have to buy a compiler from Compaq, look at
> the code it generates, and then measure whether the things it does are
> genuine optimizations or artifacts of the optimizer/code generator.
>
> And no, appendix A of the Alpha AXP Architecture reference manual does
> not cut it. Its "factor of" terminology is unclear, and, e.g., it does
> not explain the results I see on a 21264 when I vary
> http://www.complang.tuwien.ac.at/forth/threading/direct.c.
Hmmm, I didn't realize there's actual evidence that the information in
the Alpha Architecture Manual is not sufficient - it's just that I do
not believe we do anything "sufficiently wrong" in egcs-1.1.x which
warrants such differences.
Except for the cases were there *is* a clear difference in code
generation:
1. (Unrolled) loops which use a 4-sqrts-at-a-time library routine
(should be solved by the 21264).
2. Inefficient code for complex arithmetic (should be solved for
egcs-1.2).
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Toon Moene
1999-04-08 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Anton Ertl
@ 1999-04-08 4:00 ` James D. Freels
1999-04-09 4:00 ` Greg Lindahl
1999-04-11 4:00 ` Michal Jaegermann
1 sibling, 2 replies; 117+ messages in thread
From: James D. Freels @ 1999-04-08 4:00 UTC (permalink / raw)
Toon Moene <toon@moene.indiv.nluug.nl> writes:
> Hmmm, I didn't realize there's actual evidence that the information in
> the Alpha Architecture Manual is not sufficient - it's just that I do
> not believe we do anything "sufficiently wrong" in egcs-1.1.x which
> warrants such differences.
>
> Except for the cases were there *is* a clear difference in code
> generation:
>
> 1. (Unrolled) loops which use a 4-sqrts-at-a-time library routine
> (should be solved by the 21264).
> 2. Inefficient code for complex arithmetic (should be solved for
> egcs-1.2).
>
> --
> Toon Moene (toon@moene.indiv.nluug.nl)
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> Phone: +31 346 214290; Fax: +31 346 214286
> g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
The things that are in DEC-Unix (oops I mean Compaq-Tru64 Unix)
Fortran that are presently not in egcs (g77):
(1) equivalent of the -fpe1, -fpe2, etc. switches. No. -ieee is not
the same.
(2) equivalent performance in final excecutables. This can be
significant (as much as 100% faster code)
(3) replacement libfm (Compaq has released this already but it is not
"built in" to g77
Just to name a few. Yes, I know that I shouldn't divide by zero, but
sometimes I am forced to.
^ permalink raw reply [flat|nested] 117+ messages in thread
* 21264 performance anomalies (was: Compaq to port ...)
1999-04-08 4:00 ` Toon Moene
@ 1999-04-08 4:00 ` Anton Ertl
1999-04-09 4:00 ` P Dickerson
` (2 more replies)
1999-04-08 4:00 ` Compaq to port its Fortran and C compilers to Alpha Linux James D. Freels
1 sibling, 3 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-08 4:00 UTC (permalink / raw)
In article <370CF898.BD85182@moene.indiv.nluug.nl>,
Toon Moene <toon@moene.indiv.nluug.nl> writes:
> Anton Ertl wrote:
> > And no, appendix A of the Alpha AXP Architecture reference manual does
> > not cut it. Its "factor of" terminology is unclear, and, e.g., it does
> > not explain the results I see on a 21264 when I vary
> > http://www.complang.tuwien.ac.at/forth/threading/direct.c.
>
> Hmmm, I didn't realize there's actual evidence that the information in
> the Alpha Architecture Manual is not sufficient
Ok, I wanted to write this for some time, so here we go:
The C program is this:
#define NEXT goto **ip++
main()
{
static void *prog[] = {&&next,&&next,&&next,&&next,&&next,
&&next,&&next,&&next,&&next,&&loop};
void **ip=prog;
int count = 10000000;
next:
NEXT;
loop:
if (count>0) {
count--;
ip=prog;
NEXT;
}
}
Here's what egcs-1.03 produces for the first NEXT:
0x120000690 <main+16>: ldah t2,153(t2)
next:
0x120000694 <main+20>: ldq t0,0(t1)
0x120000698 <main+24>: addq t1,0x8,t1
0x12000069c <main+28>: jmp zero,(t0),0x1200006a0 <main+32>
This takes 3.45s (~17 cycles/NEXT)
Here are various variations on this code, with instructions before the
"next:" jump target in parentheses:
0x1200006a0 ldq (nop) (ldah) (addq) nop
0x1200006a4 addq ldq ldq ldq nop
0x1200006a8 jmp addq addq addq ldq
0x1200006ac jmp jmp jmp addq
0x1200006b0 jmp
1.12s 2.56s 3.48s 3.45s 0.72s
The conclusions I draw are:
1) Code should be aligned to 16-byte boundaries; Penalty for
non-conformance: ~8 cycles/NEXT in this benchmark. Why so much?
2) In an unaligned block the kind of instruction *before* the jump
target does play a role. nops are cheap, while the other instructions
I tried apparently cost another ~5 cycles/NEXT. Why is that and why so
much?
3) Pushing the jmp into the next 16-byte block by adding nops saves
~2cycles/NEXT. Why?
Overall I see a factor of five variation in speed by simply inserting
a few nops in the right spots.
Crossposted to comp.os.linux.alpha,comp.arch.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` essoft
@ 1999-04-08 4:00 ` bmeyer
0 siblings, 0 replies; 117+ messages in thread
From: bmeyer @ 1999-04-08 4:00 UTC (permalink / raw)
essoft@ix.netcom.com writes:
>Dave Cherkus wrote:
>> And the majority of the world's computers wouldn't be running an
>> operating system produced by a Harvard Business School dropout...
>Imagine if he'd graduated -- we'd be already upgraded from USA to
>USM(icrosoft) and Pentagon's MS engineered FCS would be landing
>missiles aimed at Belgrade into Sydney...
#define TONGUE_IN_CHEEK 1
Now _that_ would have been a positive side effect ;-)
#undef TONGUE_IN_CHEEK
Bernie
--
============================================================================
"It's a magical world, Hobbes ol' buddy...
...let's go exploring"
Calvin's final words, on December 31st, 1995
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Peter Mardahl
1999-04-07 4:00 ` Ron Flory
@ 1999-04-08 4:00 ` Udo Klasmeier
1999-04-09 4:00 ` Jacob Gladish
1 sibling, 1 reply; 117+ messages in thread
From: Udo Klasmeier @ 1999-04-08 4:00 UTC (permalink / raw)
Peter Mardahl wrote:
> Well, I personally am much more interested in the C++ compilers than
> the C or Fortran compilers.
You are in the wrong newsgroup then.
--
Udo Klasmeier
Stuttgart
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Toon Moene
@ 1999-04-08 4:00 ` Anton Ertl
1999-04-08 4:00 ` Toon Moene
` (2 more replies)
0 siblings, 3 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-08 4:00 UTC (permalink / raw)
In article <370BA607.1F391244@moene.indiv.nluug.nl>,
Toon Moene <toon@moene.indiv.nluug.nl> writes:
[Digital compilers]
> I think I'll buy one when I have obtained an Alpha
> system to study the differences in code generation.
I.e., if we want to write decent compilers for the Alpha, instead of
reading an optimization guide (which, e.g., Intel and AMD provide for
free for their CPUs) we have to buy a compiler from Compaq, look at
the code it generates, and then measure whether the things it does are
genuine optimizations or artifacts of the optimizer/code generator.
And no, appendix A of the Alpha AXP Architecture reference manual does
not cut it. Its "factor of" terminology is unclear, and, e.g., it does
not explain the results I see on a 21264 when I vary
http://www.complang.tuwien.ac.at/forth/threading/direct.c.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Helmut Katzgraber
@ 1999-04-08 4:00 ` Steve Lionel
1999-04-08 4:00 ` Helmut Katzgraber
0 siblings, 1 reply; 117+ messages in thread
From: Steve Lionel @ 1999-04-08 4:00 UTC (permalink / raw)
On Wed, 07 Apr 1999 19:03:12 -0700, Helmut Katzgraber
<dummkopf@debussy.ucsc.edu> wrote:
>can anyone define "later this year" and give an idea about the price for
>this compilers?!?
I can only speak regarding Fortran... We are aiming for starting a
"public beta" at the end of June, with a release towards the end of
the year. We hope to be running a demo at Linux Expo in May.
Pricing is undetermined, and most likely won't be set until shortly
before product release.
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Greg Lindahl
1999-04-07 4:00 ` Toon Moene
@ 1999-04-08 4:00 ` Keith Higgs
1 sibling, 0 replies; 117+ messages in thread
From: Keith Higgs @ 1999-04-08 4:00 UTC (permalink / raw)
I agree. If you're going to restrict yourself to open source (just
because you can twaddle the code if you want but probably won't ever get
around to it) you're going to find yourself with limited choices.
Open source is a good, make that GREAT, thing. Especially since it's so
instrumental in getting GNU/Linux into the computing mainstream. However,
that child is growing up very quickly and I look forward to the day when I
can walk into MicroCenter, Gateway, Circuit City or wherever and pickup
functional, first line, boxed software for Linux besides Linux itself.
Keith.
Greg Lindahl wrote:
> Ben Pfaff <pfaffben@pilot.msu.edu> writes:
> > "Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
> >
> > Unbelievible. Compaq ports it's compilers to Alpha Linux and
> > you complain about it taking too long ? Be thankful it happened
> > at all.
> >
> > Compaq can kiss my ass if they think I'm going to be grateful for a
> > Linux port of *anything* that's not open source.
>
> Thank you for sharing. The AlphaLinux community as a whole seems to be
> pretty receptive to the idea; I'd love to have an open-source compiler
> as good as Digital Fortran, but there isn't one.
>
> -- g
--
D. Keith Higgs, Collection Maintenance Supervisor
Kelvin Smith Library, 11055 Euclid Avenue, Cleveland Ohio 44106-7151
mailto:dkh2@po.cwru.edu Phone:216-368-0559 FAX:216-368-3669
Official: http://www.cwru.edu/UL/pershomepages/K_Higgs.html
Personal: http://129.22.137.40/Index.htm ICQ#28181802
Have you rebooted Windows today? Linux, it's where you want to go!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Steve Lionel
@ 1999-04-08 4:00 ` Helmut Katzgraber
1999-04-08 4:00 ` Steve Lionel
0 siblings, 1 reply; 117+ messages in thread
From: Helmut Katzgraber @ 1999-04-08 4:00 UTC (permalink / raw)
what about c? any idea there?
--
==========================================================================
Helmut G. Katzgraber mail: dummkopf@debussy.ucsc.edu
Physics Department http://debussy.ucsc.edu/~dummkopf
Kerr Hall
Univ. of California Phone: (+1) 831-459-4762 OF
Santa Cruz, CA 95064 (+1) 831-423-3751 HOME
USA Fax: (+1) 831-459-3043
==========================================================================
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Dave Cherkus
1999-04-07 4:00 ` essoft
@ 1999-04-09 4:00 ` Richard Heathfield
1999-04-09 4:00 ` Dave Cherkus
1 sibling, 1 reply; 117+ messages in thread
From: Richard Heathfield @ 1999-04-09 4:00 UTC (permalink / raw)
Dave Cherkus wrote in message <370b9997.0@news.destek.net>...
>
>And the majority of the world's computers wouldn't be running an
>operating system produced by a Harvard Business School dropout...
>
I didn't know Tim Paterson dropped out of Harvard.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Compaq to port its Fortran and C compilers to Alpha Linux James D. Freels
@ 1999-04-09 4:00 ` Greg Lindahl
1999-04-11 4:00 ` Michal Jaegermann
1 sibling, 0 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-09 4:00 UTC (permalink / raw)
fea@fea.rrd.ornl.gov (James D. Freels) writes:
> The things that are in DEC-Unix (oops I mean Compaq-Tru64 Unix)
> Fortran that are presently not in egcs (g77):
>
> (1) equivalent of the -fpe1, -fpe2, etc. switches. No. -ieee is not
> the same.
This is a good point. There isn't even a handy HOWTO on how to make
various compilers either signal or not signal for various
exceptions. That's the first thing I used to figure out when I went to
a new platform. The Compaq -fpe1 and -fpe2 switches are quite handy;
it would also be nice to have a well-defined and hopefully portable
*Fortran* subroutine interface for the same thing.
> (3) replacement libfm (Compaq has released this already but it is not
> "built in" to g77
Free replacement libraries are well underway, and it's not hard to use
Compaq's library with g77. g77's glue does need some work.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Anton Ertl
1999-04-08 4:00 ` Toon Moene
@ 1999-04-09 4:00 ` Jim Gettys
1999-04-09 4:00 ` Toon Moene
1999-04-09 4:00 ` Anton Ertl
1999-04-09 4:00 ` bmeyer
2 siblings, 2 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-09 4:00 UTC (permalink / raw)
To: Anton Ertl
> From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
> Date: 8 Apr 1999 10:30:40 GMT
> Newsgroups: comp.os.linux.alpha
> Subject: Re: Compaq to port its Fortran and C compilers to Alpha Linux
> -----
> In article <370BA607.1F391244@moene.indiv.nluug.nl>,
> Toon Moene <toon@moene.indiv.nluug.nl> writes:
> [Digital compilers]
> > I think I'll buy one when I have obtained an Alpha
> > system to study the differences in code generation.
>
> I.e., if we want to write decent compilers for the Alpha, instead of
> reading an optimization guide (which, e.g., Intel and AMD provide for
> free for their CPUs) we have to buy a compiler from Compaq, look at
> the code it generates, and then measure whether the things it does are
> genuine optimizations or artifacts of the optimizer/code generator.
>
> And no, appendix A of the Alpha AXP Architecture reference manual does
> not cut it. Its "factor of" terminology is unclear, and, e.g., it does
> not explain the results I see on a 21264 when I vary
> http://www.complang.tuwien.ac.at/forth/threading/direct.c.
>
Why would you expect to find the information you need to
optimize in the *ARCHITECTURE* manual? There are multiple
implementations of the chip architecture, and then there
are an even larger number of systems they plug into, which
also affects performance. The architecture spec gives you
what you can rely on across multiple implementations only.
So you need to go look at the specifications of the chips
(and potentially) systems themselves to get the information
to optimize compilers.
You'll find the chip related spec's in:
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
And therein you'll find the specs for the various Alpha chips,
which go into gorey detail on the pipelines, instruction issue
conflicts, etc.
At a higher level, you then have to know something about the parameters
of the systems the Alpha's plug into to get the complete picture (e.g.
external cache organization and clocking parameters used for a given clock
rate). Some of the OEM Alpha board specs are there as well; I dunno if
the specs for the larger systems are online or not.
In any case, the *architecture* spec is not the place to find the
information you are looking for.
I hope this helps.
- Jim Gettys
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Anton Ertl
1999-04-08 4:00 ` Toon Moene
1999-04-09 4:00 ` Jim Gettys
@ 1999-04-09 4:00 ` bmeyer
1999-04-09 4:00 ` Anton Ertl
2 siblings, 1 reply; 117+ messages in thread
From: bmeyer @ 1999-04-09 4:00 UTC (permalink / raw)
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>I.e., if we want to write decent compilers for the Alpha, instead of
>reading an optimization guide (which, e.g., Intel and AMD provide for
>free for their CPUs) we have to buy a compiler from Compaq, look at
>the code it generates, and then measure whether the things it does are
>genuine optimizations or artifacts of the optimizer/code generator.
This seems extremely unfair. Digital provided excellent low level
information on their processors, free for the download. The only
problem is that they didn't tell anyone about it ;-). Oh, and I haven't
seen anything covering the 264 yet (hint, hint! Compaq, are you listening?).
A good starting point is
http://sunsite.doc.ic.ac.uk/public/packages/NetBSD/misc/dec-docs/
However, this only goes up to the 21164 and doesn't mention the 21164A. I
am pretty sure I have seen 21164A info somewhere.
Also try
http://www.cs.princeton.edu/~skadron/cs_info/chips.html
*/me Goes away and searches through his too-large bookmark file*
Ha, found it! This is the real treasure chest:
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
Get the Hardware reference manual for the processor you are interested in,
and you will get all the info you want, and then some.
Bernie
--
============================================================================
"It's a magical world, Hobbes ol' buddy...
...let's go exploring"
Calvin's final words, on December 31st, 1995
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Udo Klasmeier
@ 1999-04-09 4:00 ` Jacob Gladish
0 siblings, 0 replies; 117+ messages in thread
From: Jacob Gladish @ 1999-04-09 4:00 UTC (permalink / raw)
Udo Klasmeier wrote:
>
> Peter Mardahl wrote:
>
> > Well, I personally am much more interested in the C++ compilers than
> > the C or Fortran compilers.
>
> You are in the wrong newsgroup then.
>
> --
> Udo Klasmeier
> Stuttgart
he's really not in the newsgroup...is he?
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies (was: Compaq to port ...)
1999-04-08 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Anton Ertl
@ 1999-04-09 4:00 ` P Dickerson
1999-04-09 4:00 ` Anton Ertl
1999-04-10 4:00 ` Bruce Hoult
1999-04-11 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Michael Gschwind
1999-04-11 4:00 ` 21264 performance anomalies Donald C. Lindsay
2 siblings, 2 replies; 117+ messages in thread
From: P Dickerson @ 1999-04-09 4:00 UTC (permalink / raw)
Is this really a C program? Have I missed the inclusion of dynamic gotos?
--
P.M.Dickerson.
email: peter (at) izabella (dot) demon (dot) co (dot) uk
Anton Ertl wrote in message <7ej80q$o1a$1@news.tuwien.ac.at>...
>In article <370CF898.BD85182@moene.indiv.nluug.nl>,
> Toon Moene <toon@moene.indiv.nluug.nl> writes:
>> Anton Ertl wrote:
>> > And no, appendix A of the Alpha AXP Architecture reference manual does
>> > not cut it. Its "factor of" terminology is unclear, and, e.g., it does
>> > not explain the results I see on a 21264 when I vary
>> > http://www.complang.tuwien.ac.at/forth/threading/direct.c.
>>
>> Hmmm, I didn't realize there's actual evidence that the information in
>> the Alpha Architecture Manual is not sufficient
>
>Ok, I wanted to write this for some time, so here we go:
>
>The C program is this:
>
>#define NEXT goto **ip++
>main()
>{
> static void *prog[] = {&&next,&&next,&&next,&&next,&&next,
> &&next,&&next,&&next,&&next,&&loop};
> void **ip=prog;
> int count = 10000000;
>
> next:
> NEXT;
> loop:
> if (count>0) {
> count--;
> ip=prog;
> NEXT;
> }
>}
>
>Here's what egcs-1.03 produces for the first NEXT:
>
>0x120000690 <main+16>: ldah t2,153(t2)
>next:
>0x120000694 <main+20>: ldq t0,0(t1)
>0x120000698 <main+24>: addq t1,0x8,t1
>0x12000069c <main+28>: jmp zero,(t0),0x1200006a0 <main+32>
>
>This takes 3.45s (~17 cycles/NEXT)
>
>Here are various variations on this code, with instructions before the
>"next:" jump target in parentheses:
>
>0x1200006a0 ldq (nop) (ldah) (addq) nop
>0x1200006a4 addq ldq ldq ldq nop
>0x1200006a8 jmp addq addq addq ldq
>0x1200006ac jmp jmp jmp addq
>0x1200006b0 jmp
> 1.12s 2.56s 3.48s 3.45s 0.72s
>
>The conclusions I draw are:
>
>1) Code should be aligned to 16-byte boundaries; Penalty for
>non-conformance: ~8 cycles/NEXT in this benchmark. Why so much?
>
>2) In an unaligned block the kind of instruction *before* the jump
>target does play a role. nops are cheap, while the other instructions
>I tried apparently cost another ~5 cycles/NEXT. Why is that and why so
>much?
>
>3) Pushing the jmp into the next 16-byte block by adding nops saves
>~2cycles/NEXT. Why?
>
>Overall I see a factor of five variation in speed by simply inserting
>a few nops in the right spots.
>
>Crossposted to comp.os.linux.alpha,comp.arch.
>
>- anton
>--
>M. Anton Ertl Some things have to be seen to be believed
>anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
>http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Jim Gettys
@ 1999-04-09 4:00 ` Toon Moene
1999-04-09 4:00 ` Jim Gettys
1999-04-09 4:00 ` Anton Ertl
1 sibling, 1 reply; 117+ messages in thread
From: Toon Moene @ 1999-04-09 4:00 UTC (permalink / raw)
Jim Gettys wrote:
> Why would you expect to find the information you need to
> optimize in the *ARCHITECTURE* manual? There are multiple
> implementations of the chip architecture, and then there
> are an even larger number of systems they plug into, which
> also affects performance. The architecture spec gives you
> what you can rely on across multiple implementations only.
Yes, I know that.
> So you need to go look at the specifications of the chips
> (and potentially) systems themselves to get the information
> to optimize compilers.
>
> You'll find the chip related spec's in:
> http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
I am sorry, Jim, but I can't find any 21264 Hardware Reference Manual
there.
There only seems to be a Product Brief (presumably updated since it
first appeared there in April 1996) and a Data Sheet.
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Richard Heathfield
@ 1999-04-09 4:00 ` Dave Cherkus
0 siblings, 0 replies; 117+ messages in thread
From: Dave Cherkus @ 1999-04-09 4:00 UTC (permalink / raw)
Richard Heathfield (richard@eton.powernet.co.uk) wrote:
: Dave Cherkus wrote in message <370b9997.0@news.destek.net>...
: >
: >And the majority of the world's computers wouldn't be running an
: >operating system produced by a Harvard Business School dropout...
: >
:
: I didn't know Tim Paterson dropped out of Harvard.
:
I did choose the word 'produced' with care. I'm using it in
the sense that a movie producer produces a movie by managing,
not creating.
And others have mentioned BG was a physics major.
Oh, well, I guess nits need to be picked.
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Steve Lionel
@ 1999-04-09 4:00 ` Dave Cherkus
1999-04-09 4:00 ` Steve Lionel
0 siblings, 1 reply; 117+ messages in thread
From: Dave Cherkus @ 1999-04-09 4:00 UTC (permalink / raw)
Steve Lionel (Steve.Lionel@compaq.com) wrote:
:
: If you're asking me for schedule or pricing for our C compiler on
: Alpha Linux, all I know is that C would start beta test after Fortran,
: and I have no idea on pricing.
:
When I used to work on C compilers, the 'acid test' was compiling the
kernel. I'm wondering if that is in the plan for your compiler on
Alpha Linux. I understand the Linux kernel may have dependencies on
gcc 'extensions' but I wonder if they can't be worked around. I
wouldn't want to see the product delayed for this test, but it may
provide interesting data.
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies (was: Compaq to port ...)
1999-04-09 4:00 ` P Dickerson
@ 1999-04-09 4:00 ` Anton Ertl
1999-04-10 4:00 ` Bruce Hoult
1 sibling, 0 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-09 4:00 UTC (permalink / raw)
In article <923660402.19654.0.nnrp-12.9e981e55@news.demon.co.uk>,
"P Dickerson" <peter@localhost> writes:
^^^^^^^^^
Your From:-address is broken, and you have no Reply-To: field.
>> static void *prog[] = {&&next,&&next,&&next,&&next,&&next,
>> &&next,&&next,&&next,&&next,&&loop};
> Is this really a C program?
A GNU C program using GNU C's labels-as-values feature.
> Anton Ertl wrote in message <7ej80q$o1a$1@news.tuwien.ac.at>...
[full quote deleted]
You should only quote what's necessary to understand your followup, and
put your text below the quoted material you refer to.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Jim Gettys
1999-04-09 4:00 ` Toon Moene
@ 1999-04-09 4:00 ` Anton Ertl
1 sibling, 0 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-09 4:00 UTC (permalink / raw)
In article <7ejpuh$tna@src-news.pa.dec.com>,
jg@pa.dec.com (Jim Gettys) writes:
> Why would you expect to find the information you need to
> optimize in the *ARCHITECTURE* manual?
I didn't, but Appendix A was the closest thing to an optimization
guide I found.
> So you need to go look at the specifications of the chips
> (and potentially) systems themselves to get the information
> to optimize compilers.
>
> You'll find the chip related spec's in:
> http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library=
> .html
>
> And therein you'll find the specs for the various Alpha chips,
> which go into gorey detail on the pipelines, instruction issue
> conflicts, etc.
For the 21264 I found just
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/21264ds.pdf.
It has about two pages about the pipeline organization; it neither led
me to expect what I found, nor does it explain it.
I also remember hunting for some optimization info a few years ago
(for the 064A or 164), with little success.
What the data sheets and handbooks are great at, is internal registers
etc.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` bmeyer
@ 1999-04-09 4:00 ` Anton Ertl
1999-04-09 4:00 ` Jim Gettys
0 siblings, 1 reply; 117+ messages in thread
From: Anton Ertl @ 1999-04-09 4:00 UTC (permalink / raw)
In article <7eipuj$g3i$1@wombat.cs.monash.edu.au>,
bmeyer@bruce.cs.monash.edu.au writes:
> anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> >I.e., if we want to write decent compilers for the Alpha, instead of
> >reading an optimization guide (which, e.g., Intel and AMD provide for
> >free for their CPUs) we have to buy a compiler from Compaq, look at
> >the code it generates, and then measure whether the things it does are
> >genuine optimizations or artifacts of the optimizer/code generator.
>
> This seems extremely unfair.
Well, I have been in a mean mood since someone slammed gcc for not
optimizing for a processor for which no optimization info is
available.
> Digital provided excellent low level
> information on their processors, free for the download. The only
> problem is that they didn't tell anyone about it ;-). Oh, and I haven't
> seen anything covering the 264 yet (hint, hint! Compaq, are you listening?).
Yep, that's the point.
> Also try
>
> http://www.cs.princeton.edu/~skadron/cs_info/chips.html
This one is nice. I have found some things there that I did not find
through
> http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Dave Cherkus
@ 1999-04-09 4:00 ` Steve Lionel
1999-04-09 4:00 ` Christopher B. Browne
0 siblings, 1 reply; 117+ messages in thread
From: Steve Lionel @ 1999-04-09 4:00 UTC (permalink / raw)
On 9 Apr 1999 10:30:04 -0500, cherkus@unimaster.com (Dave Cherkus)
wrote:
>When I used to work on C compilers, the 'acid test' was compiling the
>kernel. I'm wondering if that is in the plan for your compiler on
>Alpha Linux. I understand the Linux kernel may have dependencies on
>gcc 'extensions' but I wonder if they can't be worked around. I
>wouldn't want to see the product delayed for this test, but it may
>provide interesting data.
While the kernel certainly serves as a useful test case for gcc
compatibility, it is not our immediate goal that our C compiler be
able to compile the kernel. But we certainly consider that desireable
in the long run and see it as an opportunity to improve the kernel's
performance. Of course, then there would be the issue of how such a
recompiled kernel and the compiler would be distributed. Lots of open
issues there which we've noted but we're not presently worrying about.
First things first...
--
Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH
Compaq Fortran web site: http://www.compaq.com/fortran
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Steve Lionel
@ 1999-04-09 4:00 ` Christopher B. Browne
0 siblings, 0 replies; 117+ messages in thread
From: Christopher B. Browne @ 1999-04-09 4:00 UTC (permalink / raw)
On Fri, 09 Apr 1999 16:10:46 GMT, Steve Lionel
<Steve.Lionel@compaq.com> posted:
>On 9 Apr 1999 10:30:04 -0500, cherkus@unimaster.com (Dave Cherkus)
>wrote:
>
>>When I used to work on C compilers, the 'acid test' was compiling the
>>kernel. I'm wondering if that is in the plan for your compiler on
>>Alpha Linux. I understand the Linux kernel may have dependencies on
>>gcc 'extensions' but I wonder if they can't be worked around. I
>>wouldn't want to see the product delayed for this test, but it may
>>provide interesting data.
>
>While the kernel certainly serves as a useful test case for gcc
>compatibility, it is not our immediate goal that our C compiler be
>able to compile the kernel. But we certainly consider that desireable
>in the long run and see it as an opportunity to improve the kernel's
>performance. Of course, then there would be the issue of how such a
>recompiled kernel and the compiler would be distributed. Lots of open
>issues there which we've noted but we're not presently worrying about.
>First things first...
I suspect that a move from GCC to "CCC" (Compaq C Compiler? :-)) is
not likely to take place any time soon, certainly in part for the
reason that it would *probably* require that the Linux/Alpha kernel
diverge from the "normal" kernel base.
The hue and cry that *that* would cause would be *rather* hurtful.
I would think that much greater benefits would come from recompiling
GLIBC, which would doubtless be much less controversial.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
cbbrowne@hex.net - "What have you contributed to free software today?..."
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Toon Moene
@ 1999-04-09 4:00 ` Jim Gettys
0 siblings, 0 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-09 4:00 UTC (permalink / raw)
To: Toon Moene
> From: Toon Moene <toon@moene.indiv.nluug.nl>
> Date: Fri, 09 Apr 1999 14:22:21 +0200
> Newsgroups: comp.os.linux.alpha
> Subject: Re: Compaq to port its Fortran and C compilers to Alpha Linux
> -----
> Jim Gettys wrote:
>
> > Why would you expect to find the information you need to
> > optimize in the *ARCHITECTURE* manual? There are multiple
> > implementations of the chip architecture, and then there
> > are an even larger number of systems they plug into, which
> > also affects performance. The architecture spec gives you
> > what you can rely on across multiple implementations only.
>
> Yes, I know that.
>
> > So you need to go look at the specifications of the chips
> > (and potentially) systems themselves to get the information
> > to optimize compilers.
> >
> > You'll find the chip related spec's in:
> >
> http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.h
> tml
>
> I am sorry, Jim, but I can't find any 21264 Hardware Reference Manual
> there.
>
> There only seems to be a Product Brief (presumably updated since it
> first appeared there in April 1996) and a Data Sheet.
>
Alpha 21264 Microprocessor Data Sheet
EC-R4CFA-TE (February 1999)
PDF
(4556KB)
I think that the data sheet is what you are looking for: why they are
calling a 4.5 megabyte PDF document a datasheet, is beyond me: it is merely
158 pages long....
- Jim
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
` (4 preceding siblings ...)
1999-04-07 4:00 ` Greg Lindahl
@ 1999-04-09 4:00 ` Daniel Barker
1999-04-10 4:00 ` Phillip Helbig
6 siblings, 0 replies; 117+ messages in thread
From: Daniel Barker @ 1999-04-09 4:00 UTC (permalink / raw)
On 7 Apr 1999, Ben Pfaff wrote:
> "Jeffrey J. Potoff" <jpotoff@rhea.umd.edu> writes:
>
> Unbelievible. Compaq ports it's compilers to Alpha Linux and
> you complain about it taking too long ? Be thankful it happened
> at all.
>
> Compaq can kiss my ass if they think I'm going to be grateful for a
> Linux port of *anything* that's not open source.
[snip]
If not grateful, you should at least be pleased. Existence of competing
compilers is a good thing, whichever one you happen to use.
Daniel Barker.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Anton Ertl
@ 1999-04-09 4:00 ` Jim Gettys
0 siblings, 0 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-09 4:00 UTC (permalink / raw)
To: Anton Ertl
> From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
> Date: 9 Apr 1999 14:34:48 GMT
> Newsgroups: comp.os.linux.alpha
> Subject: Re: Compaq to port its Fortran and C compilers to Alpha Linux
> -----
> In article <7eipuj$g3i$1@wombat.cs.monash.edu.au>,
> bmeyer@bruce.cs.monash.edu.au writes:
> > anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> > >I.e., if we want to write decent compilers for the Alpha, instead of
> > >reading an optimization guide (which, e.g., Intel and AMD provide for
> > >free for their CPUs) we have to buy a compiler from Compaq, look at
> > >the code it generates, and then measure whether the things it does are
> > >genuine optimizations or artifacts of the optimizer/code generator.
> >
> > This seems extremely unfair.
>
> Well, I have been in a mean mood since someone slammed gcc for not
> optimizing for a processor for which no optimization info is
> available.
No information seems a bit of an overstatement...
Had you asked us for the information? In any case, I'll ask around and
see if I can dig something up.
- Jim
--
Jim Gettys
Industry Standards and Consortia
Compaq Computer Corporation
Visting Scientist, World Wide Web Consortium, M.I.T.
http://www.w3.org/People/Gettys/
jg@w3.org, jg@pa.dec.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
[not found] <9904091746.AA12557@pachyderm.pa.dec.com>
@ 1999-04-09 4:00 ` Toon Moene
1999-04-09 4:00 ` Jim Gettys
0 siblings, 1 reply; 117+ messages in thread
From: Toon Moene @ 1999-04-09 4:00 UTC (permalink / raw)
To: Jim Gettys
Jim Gettys wrote:
> Alpha 21264 Microprocessor Data Sheet
> EC-R4CFA-TE (February 1999)
> PDF
> (4556KB)
>
> I think that the data sheet is what you are looking for: why they are
> calling a 4.5 megabyte PDF document a datasheet, is beyond me: it is merely
> 158 pages long....
Thanks, I'll download it tomorrow ... Does Richard Henderson
(rth@cygnus.com) - our resident Alpha Guru - know that this is the real
thing ?
[ "Data Sheet" makes me think of pins and voltages ... ]
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-09 4:00 ` Toon Moene
@ 1999-04-09 4:00 ` Jim Gettys
0 siblings, 0 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-09 4:00 UTC (permalink / raw)
To: Toon Moene
> Sender: toon@moene.indiv.nluug.nl
> From: Toon Moene <toon@moene.indiv.nluug.nl>
> Date: Fri, 09 Apr 1999 21:24:15 +0200
> To: Jim Gettys <jg@pa.dec.com>
> Newsgroups: comp.os.linux.alpha
> Subject: Re: Compaq to port its Fortran and C compilers to Alpha Linux
> -----
> Jim Gettys wrote:
>
> > Alpha 21264 Microprocessor Data Sheet
> > EC-R4CFA-TE (February 1999)
> > PDF
> > (4556KB)
> >
> > I think that the data sheet is what you are looking for: why they are
> > calling a 4.5 megabyte PDF document a datasheet, is beyond me: it is merely
> > 158 pages long....
>
> Thanks, I'll download it tomorrow ... Does Richard Henderson
> (rth@cygnus.com) - our resident Alpha Guru - know that this is the real
> thing ?
I have no idea if Richard has seen the document....
I've sent mail asking if there is any other documents that ought to be
available that aren't... We'll see.
>
> [ "Data Sheet" makes me think of pins and voltages ... ]
>
>
Did me too: it was only the length that made me realize there was likely
more than pins and voltages.
- Jim
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` NewsMan
1999-04-06 4:00 ` Jeffrey J. Potoff
1999-04-07 4:00 ` Steve Lionel
@ 1999-04-10 4:00 ` Phillip Helbig
1999-04-10 4:00 ` Christopher B. Browne
1999-04-15 4:00 ` Jim Gettys
2 siblings, 2 replies; 117+ messages in thread
From: Phillip Helbig @ 1999-04-10 4:00 UTC (permalink / raw)
In article <370ABDE3.DC81E0A4@sangdu.kjist.ac.kr>, NewsMan
<newsman@sangdu.kjist.ac.kr> writes:
> Don't you think that it took too long? Compaq should respond to
> the market faster. In July, an AMD K7 system will appear. I think that
> it probably is as fast as a 21164a system at around the same price.
Shouldn't the comparison be to a 21264 system?
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-07 4:00 ` Ben Pfaff
` (5 preceding siblings ...)
1999-04-09 4:00 ` Daniel Barker
@ 1999-04-10 4:00 ` Phillip Helbig
1999-04-10 4:00 ` Christopher B. Browne
1999-04-11 4:00 ` Toon Moene
6 siblings, 2 replies; 117+ messages in thread
From: Phillip Helbig @ 1999-04-10 4:00 UTC (permalink / raw)
In article <87d81hkqw0.fsf@pfaffben.user.msu.edu>, Ben Pfaff <pfaffben@pilot.msu.edu> writes:
> Compaq can kiss my ass if they think I'm going to be grateful for a
> Linux port of *anything* that's not open source.
Compaq is a commercial company. If you don't like it, don't buy their
products. The fact that they are commercial does not give you a license
to kill, though I can imagine some Stallman disciples going this far.
If they go open source, there will not be enough revenue to support
development.
It is of course no coincidence that the commercial Compaq compiler is
better than a gnu compiler. This is not a criticism of gnu, just the
statement of an obvious fact. (As far as commercial compilers which are
worse than gnu compilers, that speaks more for the lack of quality of
those commercial compilers.)
For whatever reasons, some people want to run linux but have a better
compiler. If that's what they need, then Compaq supporting their
compilers for linux is what they've been waiting for. If it goes
against your philosophy, don't use it.
Or does Stallman now say it is immoral to support non-open-source
software on a gpl platform?!
--
Phillip Helbig Email ......... p.helbig@jb.man.ac.uk
Nuffield Radio Astronomy Laboratories Tel. ... +44 1477 571 321 (ext. 2635)
Jodrell Bank Fax ................ +44 1477 571 618
Macclesfield Telex ................ 36149 JODREL G
UK-Cheshire SK11 9DL Web ... http://www.jb.man.ac.uk/~pjh/
************************ currently working at *******************************
Kapteyn Instituut Email (above preferred) helbig@astro.rug.nl
Rijksuniversiteit Groningen Tel. ...................... +31 50 363 4067
Postbus 800 Fax ....................... +31 50 363 6100
NL-9700 AV Groningen
The Netherlands Web ... http://gladia.astro.rug.nl/~helbig/
My opinions are not necessarily those of either of the above institutes.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` Phillip Helbig
@ 1999-04-10 4:00 ` Christopher B. Browne
1999-04-10 4:00 ` James D. Freels
1999-04-11 4:00 ` Zane H. Healy
1999-04-11 4:00 ` Toon Moene
1 sibling, 2 replies; 117+ messages in thread
From: Christopher B. Browne @ 1999-04-10 4:00 UTC (permalink / raw)
On 10 Apr 1999 19:33:22 GMT, Phillip Helbig <helbig@man.ac.uk> posted:
>In article <87d81hkqw0.fsf@pfaffben.user.msu.edu>, Ben Pfaff
<pfaffben@pilot.msu.edu> writes:
>
>> Compaq can kiss my ass if they think I'm going to be grateful for a
>> Linux port of *anything* that's not open source.
>
>Compaq is a commercial company. If you don't like it, don't buy their
>products. The fact that they are commercial does not give you a license
>to kill, though I can imagine some Stallman disciples going this far.
Your imagination goes as far as suggesting that some FSF supporters
are would-be murderers?
I don't think anyone has to take this too much further to determine
how credible you are here...
>If they go open source, there will not be enough revenue to support
>development.
That is an interesting assumption; if it is as well-backed as your
beliefs concerning the willingness of FSF folk to commit capital
crimes, I would not plan to take it too seriously.
Compaq is primarily a seller of *HARDWARE.*
Note that Digital sold off, before the takeover, many of their
software products (RDB and Tuxedo come to mind...); apparently they
considered it preferable to divest themselves of many of their salable
software products.
>It is of course no coincidence that the commercial Compaq compiler is
>better than a gnu compiler. This is not a criticism of gnu, just the
>statement of an obvious fact.
You have to establish some causality for this to be other than a
worthless, groundless comment.
You might, for instance, enlighten us from your apparently "infinite"
wisdom on the computing industry as to precisely *why* the Compaq
compiler is "better."
Connections between its superiority and:
a) The notion of that superiority being "inherent," and
b) The notion that revenues from sales of compiler licenses for a code
generator that works solely for HARDWARE sold by a HARDWARE vendor are
fundamentally necessary for the enterprises survival
seem pretty indirect to me.
>For whatever reasons, some people want to run Linux but have a better
>compiler. If that's what they need, then Compaq supporting their
>compilers for Linux is what they've been waiting for. If it goes
>against your philosophy, don't use it.
If Digital wants to pull the "double jeapoardy" of charging for their
hardware, and then charging again for software so as to make use of
their hardware, they'll risk losses of sales of both.
>Or does Stallman now say it is immoral to support non-open-source
>software on a gpl platform?!
I'm sure that Stallman questions the idea.
The notion that they are doing anybody any "favors" by selling the
compiler is one of which people should certainly disabuse themselves.
It's *not* a favor; money charged for licenses represents "free money"
to the one doing the charging.
It may be worthwhile to some; it certainly doesn't represent a
contribution to the free software community of comparable likeness or
value to what the free software community has contributed to the sales
of Alpha/Linux systems.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
cbbrowne@hex.net - "What have you contributed to free software today?..."
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` Phillip Helbig
@ 1999-04-10 4:00 ` Christopher B. Browne
1999-04-15 4:00 ` Jim Gettys
1 sibling, 0 replies; 117+ messages in thread
From: Christopher B. Browne @ 1999-04-10 4:00 UTC (permalink / raw)
On 10 Apr 1999 19:26:40 GMT, Phillip Helbig <helbig@man.ac.uk> posted:
>In article <370ABDE3.DC81E0A4@sangdu.kjist.ac.kr>, NewsMan
><newsman@sangdu.kjist.ac.kr> writes:
>
>> Don't you think that it took too long? Compaq should respond to
>> the market faster. In July, an AMD K7 system will appear. I think
>> that it probably is as fast as a 21164a system at around the same
>> price.
>
>Shouldn't the comparison be to a 21264 system?
The burning question will be what is the hardware of comparable
*pricing* at that point in time.
Compare a $3000 K7 box to a $3000 Compaq/Alpha box.
If, come July, there's a 21264-based Compaq system in an equivalent
price range to the AMD K7 systems, then it will be pretty relevant to
compare their performance for equivalent prices.
But if not, then it may be more relevant to compare what should be
lower-priced 21164-based systems to the K7's that will be at the "high
side" of their pricing curve. That still should be able to provide
fair comparisons...
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
cbbrowne@hex.net - "What have you contributed to free software today?..."
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` Christopher B. Browne
@ 1999-04-10 4:00 ` James D. Freels
1999-04-11 4:00 ` Christopher B. Browne
1999-04-11 4:00 ` Zane H. Healy
1 sibling, 1 reply; 117+ messages in thread
From: James D. Freels @ 1999-04-10 4:00 UTC (permalink / raw)
cbbrowne@news.brownes.org (Christopher B. Browne) writes:
> You might, for instance, enlighten us from your apparently "infinite"
> wisdom on the computing industry as to precisely *why* the Compaq
> compiler is "better."
Christopher:
You may not be aware of this. I have responded to this thread once
before, but I guess it won't hurt to do so again.
There is a whole world of engineering analysts out there who, for
whatever reason, are required to modify and run large FORTRAN codes
for a living. These codes have been around for years, and will live
for many more years so long as there is a need for them. Don't even
mention running them in C or C++! The cost to convert them would be
so great as these codes typically might be 100s or 1000s of lines of
source; i.e., very large code. Hence, there definitely is a market
for FORTRAN compilers on fast machines.
These same people are also always looking for a less expensive and
faster way of running these codes. In comes the Alpha. Great
machine. However, the Linux g77 compliler lacks the Compaq f77
compiler in several areas. I am sure the developers of g77 are aware
of these areas as well. Below are two of these reasons:
(1) the final executable runs significantly faster from the Compaq
commercial product. So much faster in fact that it is worth the
extra expense to get results back quicker.
(2) the g77 compiler on the Alpha does not produce code that will
respond to floating point exceptions in the same way as it does on
the Compaq commercial product (f77) nor in the same way as g77
does on the Intel platform. (see the -fpe1, -fpe2, etc. switches
available on the Compaq f77 product).
These are well-known facts. One can test these directly by executing
the final executable files from a Compaq compile on a Linux Alpha.
One of these people who do this and who are very willing to pay Compaq
for a FORTRAN compiler on Linux is myself. I know of at least one
other person who has told me directly he is also willing to do the
same for his Linux Alpha. He is a private consultant and does this
type of thing in his business. So you might say that he will willing
to pay from his own pocket for this. I am sure Compaq feels there are
many more FORTRAN runners who are willing to pay for a good FORTRAN
compiler for the Alpha running under Linux.
I hope this clears the air a bit on this subject.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies (was: Compaq to port ...)
1999-04-09 4:00 ` P Dickerson
1999-04-09 4:00 ` Anton Ertl
@ 1999-04-10 4:00 ` Bruce Hoult
1999-04-14 4:00 ` 21264 performance anomalies Robert Herndon
1 sibling, 1 reply; 117+ messages in thread
From: Bruce Hoult @ 1999-04-10 4:00 UTC (permalink / raw)
In article <923660402.19654.0.nnrp-12.9e981e55@news.demon.co.uk>, "P
Dickerson" <peter@localhost> wrote:
> Is this really a C program? Have I missed the inclusion of dynamic gotos?
No, it's not standard C. More like de-facto :-) gcc has quite a lot of
extensions over std C.
-- Bruce
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-08 4:00 ` Compaq to port its Fortran and C compilers to Alpha Linux James D. Freels
1999-04-09 4:00 ` Greg Lindahl
@ 1999-04-11 4:00 ` Michal Jaegermann
1 sibling, 0 replies; 117+ messages in thread
From: Michal Jaegermann @ 1999-04-11 4:00 UTC (permalink / raw)
James D. Freels (fea@fea.rrd.ornl.gov) wrote:
: (3) replacement libfm (Compaq has released this already but it is not
: "built in" to g77
This is, likely, the funniest complaint I have seen for a long time.
If you want to make 'cpml' a "built in" for your g77 then load your
spec file into a text editor and make it so. Nobody else can do that
for you due to licensing restrictions.
--mj
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` Christopher B. Browne
1999-04-10 4:00 ` James D. Freels
@ 1999-04-11 4:00 ` Zane H. Healy
1999-04-11 4:00 ` James Van Buskirk
1999-04-11 4:00 ` Greg Lindahl
1 sibling, 2 replies; 117+ messages in thread
From: Zane H. Healy @ 1999-04-11 4:00 UTC (permalink / raw)
In comp.os.vms Christopher B. Browne <cbbrowne@news.brownes.org> wrote:
> On 10 Apr 1999 19:33:22 GMT, Phillip Helbig <helbig@man.ac.uk> posted:
>>In article <87d81hkqw0.fsf@pfaffben.user.msu.edu>, Ben Pfaff
> <pfaffben@pilot.msu.edu> writes:
>>
>>> Compaq can kiss my ass if they think I'm going to be grateful for a
>>> Linux port of *anything* that's not open source.
>>
>>Compaq is a commercial company. If you don't like it, don't buy their
>>products. The fact that they are commercial does not give you a license
>>to kill, though I can imagine some Stallman disciples going this far.
> Your imagination goes as far as suggesting that some FSF supporters
> are would-be murderers?
You know, I've been a Linux supporter from the beginning, but this current
open source "Movement" and Stallman are really putting me off. The term
"Rabid Lunatics" comes to mind. There is absolutly nothing wrong with
Commercial software, there is also absolutly nothing wrong with Open Source
Software.
There is something seriously wrong with the attitude that all software must
be free and open source. It doesn't have to be either.
> I don't think anyone has to take this too much further to determine
> how credible you are here...
Hrmmm? Actually I consider him to be quite credible.
>>It is of course no coincidence that the commercial Compaq compiler is
>>better than a gnu compiler. This is not a criticism of gnu, just the
>>statement of an obvious fact.
> You have to establish some causality for this to be other than a
> worthless, groundless comment.
> You might, for instance, enlighten us from your apparently "infinite"
> wisdom on the computing industry as to precisely *why* the Compaq
> compiler is "better."
Maybe you should look at the benchmarks, before accusing someone of
groundless comments.
> The notion that they are doing anybody any "favors" by selling the
> compiler is one of which people should certainly disabuse themselves.
> It's *not* a favor; money charged for licenses represents "free money"
> to the one doing the charging.
Why shouldn't they make money off of an excellent product that they have
invested a lot of money in? Oh, right I forgot making money by selling
software is evil, and not releasing the source code for that software is
treason.
> It may be worthwhile to some; it certainly doesn't represent a
> contribution to the free software community of comparable likeness or
> value to what the free software community has contributed to the sales
> of Alpha/Linux systems.
Tell us about all those sales. How significant are they really? Which
makes them more money the Alphas running Linux, or the Alphas running
OpenVMS and Tru64, or even WinNT?
Why do I feel like I just let a Troll get my goat?
Zane
--
One of these day's I've got to quit being lazy and come up with a signature.
<<Yawn>>
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` Phillip Helbig
1999-04-10 4:00 ` Christopher B. Browne
@ 1999-04-11 4:00 ` Toon Moene
1 sibling, 0 replies; 117+ messages in thread
From: Toon Moene @ 1999-04-11 4:00 UTC (permalink / raw)
Phillip Helbig wrote:
>
> In article <87d81hkqw0.fsf@pfaffben.user.msu.edu>, Ben Pfaff <pfaffben@pilot.msu.edu> writes:
>
> > Compaq can kiss my ass if they think I'm going to be grateful for a
> > Linux port of *anything* that's not open source.
>
> Compaq is a commercial company. If you don't like it, don't buy their
> products.
>
> If they go open source, there will not be enough revenue to support
> development.
That, of course, is open to debate. I wouldn't be surprised if
something other than simple cost/benefit prohibits them from publishing
the source of the compiler.
Then again: "Open Source is no magic pixie dust". If you think you've
got a good, solid, compiler team that produces a great product (at least
*I* think Digital Fortran is a great product) and you don't want them
being sidetracked by a deluge of e-mails from people who can read the
source but do not understand it, it might be a wise decision just to
keep it closed.
> It is of course no coincidence that the commercial Compaq compiler is
> better than a gnu compiler. This is not a criticism of gnu, just the
> statement of an obvious fact. (As far as commercial compilers which are
> worse than gnu compilers, that speaks more for the lack of quality of
> those commercial compilers.)
Hmm, I miss some intelligent reasoning here. So I'll present some
myself: If the EGCS team gets the same information as the Compaq
compiler team, then in principle it should be possible to produce as
good a compiler. However, (1) the EGCS team cannot start working on it
earlier than that the information becomes publicly available and (2) if
it requires the representation of features new in the latest chips, it
might take some time until we have generalized that sufficiently to be
able to come up with an improvement to egcs that encompasses this new
feature for several architectures.
As for a full Fortran-95 compiler: That's simply a lot of work
(probably too much to develop on a volunteer basis). Note that the
GNAT-95 and C++ Front Ends were both developed by teams being paid for
their work.
> For whatever reasons, some people want to run linux but have a better
> compiler. If that's what they need, then Compaq supporting their
> compilers for linux is what they've been waiting for. If it goes
> against your philosophy, don't use it.
>
> Or does Stallman now say it is immoral to support non-open-source
> software on a gpl platform?!
I've never heard him complain about the plethora of commercial compilers
on Intel/Linux, so that would highly surprise me.
If he would have, he would certainly have frased the GPL differently.
No version of the GPL ever prohibited someone from using GPL'd and
closed software together - its function is to prohibit the hoarding of
freely available software *into* closed products.
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` Zane H. Healy
1999-04-11 4:00 ` James Van Buskirk
@ 1999-04-11 4:00 ` Greg Lindahl
1 sibling, 0 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-11 4:00 UTC (permalink / raw)
"Zane H. Healy" <healyzh@shell2.aracnet.com> writes:
> > Your imagination goes as far as suggesting that some FSF supporters
> > are would-be murderers?
>
> You know, I've been a Linux supporter from the beginning, but this current
> open source "Movement" and Stallman are really putting me off. The term
> "Rabid Lunatics" comes to mind. There is absolutly nothing wrong with
> Commercial software, there is also absolutly nothing wrong with Open Source
> Software.
I agree. So why people want to debate this topic in unrelated
newsgroups is a bit beyond me, ranking below the tendency of others to
rabidly attack rms just because they disagree with him. Get over it.
> There is something seriously wrong with the attitude that all software must
> be free and open source.
Tough. I don't agree that all software must be free, but I am not
bothered by someone arguing for that position. You shouldn't get all
bent out of shape by it either. Disagree with them and be done with
it, but do it on the correct newsgroup.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` Zane H. Healy
@ 1999-04-11 4:00 ` James Van Buskirk
1999-04-11 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Richard Levitte - VMS Whacker
1999-04-11 4:00 ` Greg Lindahl
1 sibling, 2 replies; 117+ messages in thread
From: James Van Buskirk @ 1999-04-11 4:00 UTC (permalink / raw)
Zane H. Healy wrote in message <7epjti$qtl$1@spitting-spider.aracnet.com>...
>> You might, for instance, enlighten us from your apparently "infinite"
>> wisdom on the computing industry as to precisely *why* the Compaq
>> compiler is "better."
>
>Maybe you should look at the benchmarks, before accusing someone of
>groundless comments.
It seems that the negative comments about Compaq's decision not to
provide the source for their Fortran compiler for free are not
coming from Fortran programmers. The open source software folks are
nowhere near producing an optimizer that is as good as Compaq's,
even though Compaq's optimizer has, in my view, some shortcomings.
Nobody has yet produced an open source Fortran compiler on any
platform AFAIK (g77 is not a Fortran compiler). There is no
question that Compaq's product is better that any open source
compiler; something is better than nothing. Of course that point
is not yet valid on Alpha Linux but it is on Alpha NT.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` James D. Freels
@ 1999-04-11 4:00 ` Christopher B. Browne
0 siblings, 0 replies; 117+ messages in thread
From: Christopher B. Browne @ 1999-04-11 4:00 UTC (permalink / raw)
On 10 Apr 1999 19:55:08 -0400, James D. Freels <fea@fea.rrd.ornl.gov> posted:
>cbbrowne@news.brownes.org (Christopher B. Browne) writes:
>
>> You might, for instance, enlighten us from your apparently "infinite"
>> wisdom on the computing industry as to precisely *why* the Compaq
>> compiler is "better."
>
>Christopher:
>
>You may not be aware of this. I have responded to this thread once
>before, but I guess it won't hurt to do so again.
I am *quite* aware that there are performance differences between
compilers. I leave it to people such as Craig Burley or Toon Moene,
who are amongst the primary people involved with G77 development, to
respond to the technical issues particularly concerning optimization
of FORTRAN capabilities.
Yes, C and FORTRAN are different; algorithms, when cast in FORTRAN
terms, must often be substantially redesigned in order to perform
equivalently when deployed in C, since C does not, strictly speaking,
have a "vector" data type.
>I hope this clears the air a bit on this subject.
That doesn't deal with the claims that:
>>>The fact that they are commercial does not give you a license
>>>to kill, though I can imagine some Stallman disciples going this
>>>far.
or
>>>If they go open source, there will not be enough revenue to support
>>>development.
nor does it establish *relevant* causality to his claim that
>>>It is of course no coincidence that the commercial Compaq compiler is
>>>better than a gnu compiler. This is not a criticism of gnu, just the
>>>statement of an obvious fact.
None of these are technical issues relating to vectorization, code
optimization, or the all-too-typical flame wars about whether or not C
is better than FORTRAN.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
cbbrowne@hex.net - "What have you contributed to free software today?..."
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies (was: Compaq to port ...)
1999-04-08 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Anton Ertl
1999-04-09 4:00 ` P Dickerson
@ 1999-04-11 4:00 ` Michael Gschwind
1999-04-11 4:00 ` 21264 performance anomalies Donald C. Lindsay
2 siblings, 0 replies; 117+ messages in thread
From: Michael Gschwind @ 1999-04-11 4:00 UTC (permalink / raw)
Anton Ertl wrote:
>
> Here's what egcs-1.03 produces for the first NEXT:
>
> 0x120000690 <main+16>: ldah t2,153(t2)
> next:
> 0x120000694 <main+20>: ldq t0,0(t1)
> 0x120000698 <main+24>: addq t1,0x8,t1
> 0x12000069c <main+28>: jmp zero,(t0),0x1200006a0 <main+32>
>
> This takes 3.45s (~17 cycles/NEXT)
The following behavior may be explained by the cache architecture?
Here a short description of the prefetch unit on the 21264, a more detailed
discussion can probably be found in Microprocessor Report (just don't read the
sections which explain why Intel will inevitably win...)
Each line in the instruction cache holds four instructions along with
a "next-line" predictor and a set predictor. These two fields
are immediately sent back to the cache inputs to start the next
access. If the line contains a branch that is predicted taken, the
predictor fields point to the cache line and set of the predicted
target; otherwise, they simply point to the next sequential
address.
>
>
> Here are various variations on this code, with instructions before the
> "next:" jump target in parentheses:
>
> 0x1200006a0 ldq (nop) (ldah) (addq) nop
> 0x1200006a4 addq ldq ldq ldq nop
> 0x1200006a8 jmp addq addq addq ldq
> 0x1200006ac jmp jmp jmp addq
> 0x1200006b0 jmp
> 1.12s 2.56s 3.48s 3.45s 0.72s
>
> The conclusions I draw are:
>
> 1) Code should be aligned to 16-byte boundaries; Penalty for
> non-conformance: ~8 cycles/NEXT in this benchmark. Why so much?
Yoy probably read the whole line, whether you need it or not -- the fetch
probably decodes the whole line also, since the predictor described above does
not actually indicate that you know WHERE in the line you will land... you
later may have to discard those instructions?
>
>
> 2) In an unaligned block the kind of instruction *before* the jump
> target does play a role. nops are cheap, while the other instructions
> I tried apparently cost another ~5 cycles/NEXT. Why is that and why so
> much?
Maybe the architecture always decodes everything, even if it would not have to
-- see above... NOPs would be cheaper in this scheme of things.
>
>
> 3) Pushing the jmp into the next 16-byte block by adding nops saves
> ~2cycles/NEXT. Why?
>
Two guesses for (3)
1 - Some bias for double word aligned lines (one MUX level less), combined with
the cheapness of NOPs?
2 - Maybe the architects tried to be really smart about this, and can get the
branch for free with some trickery, e.g., set the current lines next line
predictor to itself and skip the branch??? This is just a wild guess, since to
actually get something like this correct could be truely painful...
M. Gschwind
IBM TJ Watson
Disclaimer: All the above are my personal opinions only, and in no way reflect
my employer's opinions.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-08 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Anton Ertl
1999-04-09 4:00 ` P Dickerson
1999-04-11 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Michael Gschwind
@ 1999-04-11 4:00 ` Donald C. Lindsay
1999-04-12 4:00 ` Justin Carlson
2 siblings, 1 reply; 117+ messages in thread
From: Donald C. Lindsay @ 1999-04-11 4:00 UTC (permalink / raw)
In article <7ej80q$o1a$1@news.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>2) In an unaligned block the kind of instruction *before* the jump
>target does play a role. nops are cheap, while the other instructions
>I tried apparently cost another ~5 cycles/NEXT. Why is that and why so
>much?
Since no one who really knows has seen fit to answer:
The 21264 uses a next-line-and-set predictor. That is, the predictor
doesn't emit a predicted PC value. It emits I-cache indexing
information which allows you to cycle the I-cache.
The advantage of this scheme is that
-the predictor state has fewer bits/target, eg 12 instead of 43.
-you don't have to map PC bits to an I-cache line-and-set, it's already done.
The disadvantage (?) of this is:
-if the I-cache misses, the I-refill doesn't have the speculated PC.
From your data, I'd guess that they're prefetching the branch target's
cache line, and speculatively issuing the left hand of the cache line.
If the target wasn't at the left hand of the cache line, their
mis-speculation has some time cost. I'd guess that the issue logic
squashes NOPs, although NOPs may be fast-pathed in some other
way.
I don't know why 5 cycles.
The moral is that on the 21264, you will see speedup if you use
binaries with cache-aligned branch targets. Compaq has tooling to
re-schedule old binaries, but I guess the customer has to know to run
them.
--
Don
Donald C. Lindsay, Ph.D. www.best.com/~dlindsay Just laid off.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` James Van Buskirk
@ 1999-04-11 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Glenn C. Everhart
` (2 more replies)
1999-04-12 4:00 ` Richard Levitte - VMS Whacker
1 sibling, 3 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-11 4:00 UTC (permalink / raw)
"James Van Buskirk" <torsop@ix.netcom.com> writes:
> Nobody has yet produced an open source Fortran compiler on any
> platform AFAIK (g77 is not a Fortran compiler).
Is this some kind of bizarre litmus test that we've all missed? g77 is
a Fortran 77 compiler. It doesn't claim to be anything more. g77
actually beats Digital Fortran on one of the spec95fp benchmarks last
time I tested, so it occasionally is pretty good. Praise it for what
it does well, realize what it doesn't do well, but don't say weird
things like "g77 isn't a Fortran compiler." Sheesh.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Glenn C. Everhart
1999-04-12 4:00 ` James Van Buskirk
@ 1999-04-12 4:00 ` Robert Harley
1999-04-12 4:00 ` Phillip Helbig
2 siblings, 1 reply; 117+ messages in thread
From: Robert Harley @ 1999-04-12 4:00 UTC (permalink / raw)
"James Van Buskirk" <torsop@ix.netcom.com> writes:
>g77 is not a Fortran compiler
lindahl@pbm.com (Greg Lindahl) writes:
>Is this some kind of bizarre litmus test that we've all missed? [...] Sheesh.
Actually I found James' far-out statement useful.
Reading Usenet and sorting out the wheat from the chaff can be quite a
lot of work.
But when some loser spews a gratuitous idiotic troll, it becomes
immediately obvious to which bin they should be relegated. *PLONK*
=:-)
Rob.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` James Van Buskirk
1999-04-11 4:00 ` Greg Lindahl
@ 1999-04-12 4:00 ` Richard Levitte - VMS Whacker
1 sibling, 0 replies; 117+ messages in thread
From: Richard Levitte - VMS Whacker @ 1999-04-12 4:00 UTC (permalink / raw)
In article <7eq64o$mmi@dfw-ixnews12.ix.netcom.com> "James Van Buskirk" <torsop@ix.netcom.com> writes:
Nobody has yet produced an open source Fortran compiler on any
platform AFAIK (g77 is not a Fortran compiler).
You know, theer's a golden rule I'd suggest you follow: check your
facts before you blurt [1].
The web page on g77 (http://www.gnu.org/software/fortran/fortran.html)
contains the following text:
g77 is a free Fortran 77 compiler.
Granted, you need the gcc source to be able to compile g77. So what,
it only means that they share the middle engine (the g77 source only
contains the front-end part). That doesn't make it less a compiler.
If I remember correctly, DEC C and DEC C++ are built in a similar way.
GNU GNAT (an Ada95 compiler) is also made that way.
-----
[1] Uhmmm, OK, it has happened that I've done the same mistake.
--
R Levitte, Levitte Programming; Spannv. 38, I; S-168 35 Bromma; SWEDEN
Tel: +46-8-26 52 47; Cell: +46-708-26 53 44; Fax: +46-708-26 53 88
PGP key fingerprint = 35 3E 6C 9E 8C 97 85 24 BD 9F D1 9E 8F 75 23 6B
http://richard.levitte.org/pubkey2.asc for my public key. levitte@lp.se
"price, performance, quality. Choose any two you like"
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-06 4:00 Compaq to port its Fortran and C compilers to Alpha Linux Steve Lionel
1999-04-07 4:00 ` NewsMan
@ 1999-04-12 4:00 ` Christian Simmendinger
1999-04-15 4:00 ` Dr. Scott A. Furman
1 sibling, 1 reply; 117+ messages in thread
From: Christian Simmendinger @ 1999-04-12 4:00 UTC (permalink / raw)
Steve Lionel wrote:
> Further establishing AlphaServers as the high performance leader in
> Linux systems, and in direct response to demand from High Performance
> Technical Computing customers, Compaq is also porting its Tru64 UNIX
> Alpha Fortan and C compilers along with the associated runtime
> libraries to Linux (Alpha) later this year.
Well, having read this thread,(and with it quite a few rather pathetic
open source
related posts) i feel it's about time for saying: Thx, Compaq !
Certainly this announcement allowed us to finally settle
for linux/alpha as a platform for scientific
number-crunching, independant of the actual
source code.
Christian
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-12 4:00 ` Robert Harley
@ 1999-04-12 4:00 ` Phillip Helbig
1999-04-12 4:00 ` Greg Lindahl
0 siblings, 1 reply; 117+ messages in thread
From: Phillip Helbig @ 1999-04-12 4:00 UTC (permalink / raw)
In article <rz7wvzi88gt.fsf@corton.inria.fr>, Robert Harley
<harley@corton.inria.fr> writes:
> "James Van Buskirk" <torsop@ix.netcom.com> writes:
> >g77 is not a Fortran compiler
> lindahl@pbm.com (Greg Lindahl) writes:
> >Is this some kind of bizarre litmus test that we've all missed? [...] Sheesh.
> But when some loser spews a gratuitous idiotic troll, it becomes
> immediately obvious to which bin they should be relegated. *PLONK*
This came up in the Compaq-to-port-compilers-to-linux thread. Of
course, we're talking Fortran95 compilers here, whereas g77, whatever
its merits, is F77 + some extensions.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Glenn C. Everhart
@ 1999-04-12 4:00 ` James Van Buskirk
1999-04-14 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Robert Harley
2 siblings, 1 reply; 117+ messages in thread
From: James Van Buskirk @ 1999-04-12 4:00 UTC (permalink / raw)
Greg Lindahl wrote in message <7eqss4$n6u@news1.newsguy.com>...
>Is this some kind of bizarre litmus test that we've all missed? g77 is
>a Fortran 77 compiler. It doesn't claim to be anything more. g77
>actually beats Digital Fortran on one of the spec95fp benchmarks last
>time I tested, so it occasionally is pretty good. Praise it for what
>it does well, realize what it doesn't do well, but don't say weird
>things like "g77 isn't a Fortran compiler." Sheesh.
Unfortunately, you have strayed from the point of my post. If you
look at the oldest text I quoted, I was responding to a question
about the difference between g77 and Compaq Fortran, and to me the
difference is night and day. If you write standard-conforminig code
like:
module hello
contains
subroutine world
write(*,*) 'Hello, world!'
end subroutine world
end module hello
program litmus_test
use hello
call world
end program litmus_test
the Compaq compiler has no problems with this but my understanding
of g77 is that it has no chance to compile it. This is not simply
a question of performance but of a vast gulf in capabilities.
Granted, I couched my statement in language that made a semantic
distinction between Fortran compilers as being compilers that at
least make some kind of attempt to keep up with current standards
and Fortran 77 compilers as being compilers that don't (gotcha,
Greg!) and the current audience is one that is not likely to be
sympathetic to my view (if you really wanted to use F90 or F95
you probably wouldn't be running Alpha Linux, would you?). For
those who prefer or even insist on F90 and are not put off by
Unix, the existence of a Fortran (and by this I mean full F95)
compiler, especially one by Compaq, can make a big difference
in their choice of platform.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-12 4:00 ` Phillip Helbig
@ 1999-04-12 4:00 ` Greg Lindahl
0 siblings, 0 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-12 4:00 UTC (permalink / raw)
> > "James Van Buskirk" <torsop@ix.netcom.com> writes:
> > >g77 is not a Fortran compiler
>
> > lindahl@pbm.com (Greg Lindahl) writes:
> > >Is this some kind of bizarre litmus test that we've all missed? [...] Sheesh.
>
> > But when some loser spews a gratuitous idiotic troll, it becomes
> > immediately obvious to which bin they should be relegated. *PLONK*
>
> This came up in the Compaq-to-port-compilers-to-linux thread. Of
> course, we're talking Fortran95 compilers here, whereas g77, whatever
> its merits, is F77 + some extensions.
We weren't talking Fortran95 compilers. He said it wasn't a "Fortran"
compiler. The "bizarre litmus test" I was referring to was the
tendency of some people to say Fortran when they mean to say
"Fortran 95" or "the latest version of Fortran". Actually, in your
case, you're guilty of reading "Fortran95" when you saw the word
"Fortran". James is guilty of saying "Fortran" when he meant "Fortan
95". Say what you mean, and read what is written.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-11 4:00 ` 21264 performance anomalies Donald C. Lindsay
@ 1999-04-12 4:00 ` Justin Carlson
1999-04-14 4:00 ` Anton Ertl
0 siblings, 1 reply; 117+ messages in thread
From: Justin Carlson @ 1999-04-12 4:00 UTC (permalink / raw)
In comp.arch Donald C. Lindsay <lindsay@best.com> wrote:
> From your data, I'd guess that they're prefetching the branch target's
> cache line, and speculatively issuing the left hand of the cache line.
> If the target wasn't at the left hand of the cache line, their
> mis-speculation has some time cost. I'd guess that the issue logic
> squashes NOPs, although NOPs may be fast-pathed in some other
> way.
> I don't know why 5 cycles.
This is close, but not quite correct. I don't have the description in
front of me, but I believe the penalty you are seeing is due to the
fact that only 1 predicted index-set target is kept per fetch block
(16 bytes). This the fetch blocks with multiple jumps will only
keep history for one of those jumps, not all of them.
Keeping 11 bits of index-set prediction data per fetch block already
eats up a fair bit of space; Keeping 44 bits would probably be extreme
overkill.
At any rate, I'm guessing you'll see the penalty go away not if
you align the jumps or the targets, but rather if you insure that
multiple jumps don't exist in the same fetch block.
Make sense?
Justin Carlson
carlson@pa.dec.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-11 4:00 ` Greg Lindahl
@ 1999-04-12 4:00 ` Glenn C. Everhart
1999-04-19 4:00 ` Bob Koehler
1999-04-12 4:00 ` James Van Buskirk
1999-04-12 4:00 ` Robert Harley
2 siblings, 1 reply; 117+ messages in thread
From: Glenn C. Everhart @ 1999-04-12 4:00 UTC (permalink / raw)
There was strong and cogent dissent when "Fortran 9X" was being
discussed that the language was in fact not Fortran, but a new
language being given an old name. The "benchmark" that originated
this is not by that standard Fortran, nor is it much akin to
essentially all the Fortran code in the world.
The committee should have chosen some other name for its new
language and left Fortran out of the picture. Their justification
was that Fortran 77 remains legal...
Greg Lindahl wrote:
>
> "James Van Buskirk" <torsop@ix.netcom.com> writes:
>
> > Nobody has yet produced an open source Fortran compiler on any
> > platform AFAIK (g77 is not a Fortran compiler).
>
> Is this some kind of bizarre litmus test that we've all missed? g77 is
> a Fortran 77 compiler. It doesn't claim to be anything more. g77
> actually beats Digital Fortran on one of the spec95fp benchmarks last
> time I tested, so it occasionally is pretty good. Praise it for what
> it does well, realize what it doesn't do well, but don't say weird
> things like "g77 isn't a Fortran compiler." Sheesh.
>
> -- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
[not found] <199904101919.OAA0000007308@localhost>
@ 1999-04-12 4:00 ` Jim Gettys
0 siblings, 0 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-12 4:00 UTC (permalink / raw)
To: esci
BTW, good tools to see if you are getting everything you can
get are on Digital UNIX: Atom, and DCPI... They exploit the
performance counters on Alpha to get lots of useful data.
Dunno yet if/when we'll get them onto Linux.
- Jim
--
Jim Gettys
Industry Standards and Consortia
Compaq Computer Corporation
Visting Scientist, World Wide Web Consortium, M.I.T.
http://www.w3.org/People/Gettys/
jg@w3.org, jg@pa.dec.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-14 4:00 ` 21264 performance anomalies Robert Herndon
@ 1999-04-14 4:00 ` Dennis Ritchie
1999-04-15 4:00 ` Erik Corry
1999-04-16 4:00 ` first-class labels (was: 21264 performance anomalies) Anton Ertl
1999-04-15 4:00 ` 21264 performance anomalies amos
1 sibling, 2 replies; 117+ messages in thread
From: Dennis Ritchie @ 1999-04-14 4:00 UTC (permalink / raw)
Robert Herndon wrote:
...
> Since day 1, labels in C have had type "pointer to int". (Check out
> "icode" in AT&T Version 6 Unix (pre-1976).) Did this change with ANSI
> C?
This went away on day 2 (actually between 6th and 7th edition).
Unfortunately, it came back with gcc, didn't it?
BTW, the "icode" array was not the subject of goto in the
language sense; it was copied into the initial user address
space and a return-from-system was faked up to location 0.
Dennis
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-12 4:00 ` James Van Buskirk
@ 1999-04-14 4:00 ` Greg Lindahl
0 siblings, 0 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-14 4:00 UTC (permalink / raw)
"James Van Buskirk" <torsop@ix.netcom.com> writes:
> Unfortunately, you have strayed from the point of my post. If you
> look at the oldest text I quoted, I was responding to a question
> about the difference between g77 and Compaq Fortran, and to me the
> difference is night and day.
No. You trimmed the quotes, but you said "g77 is not a Fortran
compiler", not "g77 is not a Compaq Fortran compiler" or "g77 is not a
Fortran 95" compiler. You were unclear, on purpose, and you continue
to beat around the bush.
> If you write standard-conforminig code
Now you're being weird again. That is not standard-conforming Fortran
77 code, so not surprisingly, some Fortran compilers, namely Fortran
77 compilers, will not compile it. Other Fortran compilers, namely
Fortran 95 compilers, can. See how easy it is to be clear and not
confuse anyone? Or you can be obscure on purpose and get flamed for it.
> the Compaq compiler has no problems with this but my understanding
> of g77 is that it has no chance to compile it. This is not simply
> a question of performance but of a vast gulf in capabilities.
g77 claims to be a Fortran 77 compiler. You seem to not understand
this. That is your problem. I realize that Fortran 77 is not Fortran
95.
> Granted, I couched my statement in language that made a semantic
> distinction between Fortran compilers as being compilers that at
> least make some kind of attempt to keep up with current standards
> and Fortran 77 compilers as being compilers that don't (gotcha,
> Greg!
Finally, after many lines, you admit you were being obscure. Why do
so, when all you do is waste everyone's time? Also, you seem to be
dishing out insults at volunteers who don't deserve to receive them,
but hey, you can kick baby seals, too.
> and the current audience is one that is not likely to be
> sympathetic to my view (if you really wanted to use F90 or F95
> you probably wouldn't be running Alpha Linux, would you?).
Actually, I use Compaq's compiler on Alpha Linux. You assume an awful
lot, don't you?
> For
> those who prefer or even insist on F90 and are not put off by
> Unix, the existence of a Fortran (and by this I mean full F95)
> compiler, especially one by Compaq, can make a big difference
> in their choice of platform.
I agree. But jerks like you being weird with definitions won't help
it. g77 is a Fortran compiler -- Fortran 77. It is not a Fortran 95
compiler. Being obscure about this simple fact helps no one.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-12 4:00 ` Justin Carlson
@ 1999-04-14 4:00 ` Anton Ertl
1999-04-14 4:00 ` Justin Carlson
1999-04-14 4:00 ` Jan Vorbrueggen
0 siblings, 2 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-14 4:00 UTC (permalink / raw)
In article <7etets$kel@usenet.pa.dec.com>,
Justin Carlson <carlson@xyzzy.pa.dec.com> writes:
> In comp.arch Donald C. Lindsay <lindsay@best.com> wrote:
[Donald Lindsay had a theory about the extra penalty I saw, when a
non-nop was in front of the unaligned jump target; I am not sure
whether Justin Carlson addresses this or also the original penalty I
saw for jump target misalignment].
> This is close, but not quite correct. I don't have the description in
> front of me, but I believe the penalty you are seeing is due to the
> fact that only 1 predicted index-set target is kept per fetch block
> (16 bytes). This the fetch blocks with multiple jumps will only
> keep history for one of those jumps, not all of them.
>
> Keeping 11 bits of index-set prediction data per fetch block already
> eats up a fair bit of space; Keeping 44 bits would probably be extreme
> overkill.
>
> At any rate, I'm guessing you'll see the penalty go away not if
> you align the jumps or the targets, but rather if you insure that
> multiple jumps don't exist in the same fetch block.
>
> Make sense?
It would, if there was more than one jump in the 16-byte block. Ok,
maybe the chip does not fully decode the instructions for this, but
decoding a frequent instruction like ldah or addq (which is what I
used) as jump would probably seriously hurt branch prediction.
One theory I have is that the performance penalty exists as soon as
the destination register of the instruction before the unaligned
branch target is not $31 (the zero register). I made a few
experiments, and they seem to support this (but I also found a few
more unexpected variations).
I also made several experiments with the same code in the 16-byte
block, varying the branch target between the first and the second
instruction of the block, and always saw a huge slowdown when the jump
target was not the first instruction.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-14 4:00 ` Anton Ertl
1999-04-14 4:00 ` Justin Carlson
@ 1999-04-14 4:00 ` Jan Vorbrueggen
1 sibling, 0 replies; 117+ messages in thread
From: Jan Vorbrueggen @ 1999-04-14 4:00 UTC (permalink / raw)
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> I also made several experiments with the same code in the 16-byte
> block, varying the branch target between the first and the second
> instruction of the block, and always saw a huge slowdown when the jump
> target was not the first instruction.
As an aside, already the VAX Fortran compilers forcibly aligned jump targets
(mainly loop entries) on 4(?)-byte boundaries, using NOPs, when optimization
was turned on. (Remeber, the VAX instructions are bytes that have to be
decoded sequentially.)
Jan
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-10 4:00 ` Bruce Hoult
@ 1999-04-14 4:00 ` Robert Herndon
1999-04-14 4:00 ` Dennis Ritchie
1999-04-15 4:00 ` 21264 performance anomalies amos
0 siblings, 2 replies; 117+ messages in thread
From: Robert Herndon @ 1999-04-14 4:00 UTC (permalink / raw)
In comp.arch Bruce Hoult <bruce@hoult.actrix.gen.nz> wrote:
> In article <923660402.19654.0.nnrp-12.9e981e55@news.demon.co.uk>, "P
> Dickerson" <peter@localhost> wrote:
>> Is this really a C program? Have I missed the inclusion of dynamic gotos?
> No, it's not standard C. More like de-facto :-) gcc has quite a lot of
> extensions over std C.
Maybe I need to look at the example again.
Since day 1, labels in C have had type "pointer to int". (Check out
"icode" in AT&T Version 6 Unix (pre-1976).) Did this change with ANSI
C? I thought I had used this fact at some point to write a threaded
interpreter, and ported it to various machines including some with
early ANSI C compilers. Or have compilers started in with restrictions
on what expressions can be the target of a goto?
[Granted, jumping to an array of ints may not work right on machines
with split I/D spaces, VM machines with specific "X" bits, ...]
/R
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-14 4:00 ` Anton Ertl
@ 1999-04-14 4:00 ` Justin Carlson
1999-04-14 4:00 ` Jan Vorbrueggen
1 sibling, 0 replies; 117+ messages in thread
From: Justin Carlson @ 1999-04-14 4:00 UTC (permalink / raw)
>> At any rate, I'm guessing you'll see the penalty go away not if
>> you align the jumps or the targets, but rather if you insure that
>> multiple jumps don't exist in the same fetch block.
>>
> It would, if there was more than one jump in the 16-byte block. Ok,
> maybe the chip does not fully decode the instructions for this, but
> decoding a frequent instruction like ldah or addq (which is what I
> used) as jump would probably seriously hurt branch prediction.
> One theory I have is that the performance penalty exists as soon as
> the destination register of the instruction before the unaligned
> branch target is not $31 (the zero register). I made a few
> experiments, and they seem to support this (but I also found a few
> more unexpected variations).
> I also made several experiments with the same code in the 16-byte
> block, varying the branch target between the first and the second
> instruction of the block, and always saw a huge slowdown when the jump
> target was not the first instruction.
Ah, I misread your original post. Sorry about that.
There shouldn't be a performance penalty for writing a non-zero register
immediately before the jump unless, of course, the write incurs
a read-after-write dependency in the pipe.
At any rate, I need more information to look at what's going on here.
I'm not overly familiar with this aspect of EV6, but I can probably
dig up the info. Can you post a larger sample of the code you
are generating, complete with register targets? Ideally I'd like
to look at 8 instructions or so on either side of the section you're
interested in.
/JDC
carlson@pa.dec.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-14 4:00 ` Dennis Ritchie
@ 1999-04-15 4:00 ` Erik Corry
1999-04-15 4:00 ` Dave Cherkus
1999-04-16 4:00 ` first-class labels (was: 21264 performance anomalies) Anton Ertl
1 sibling, 1 reply; 117+ messages in thread
From: Erik Corry @ 1999-04-15 4:00 UTC (permalink / raw)
In comp.arch Dennis Ritchie <dmr@bell-labs.com> wrote:
> Robert Herndon wrote:
> ...
>> Since day 1, labels in C have had type "pointer to int". (Check out
>> "icode" in AT&T Version 6 Unix (pre-1976).) Did this change with ANSI
>> C?
> This went away on day 2 (actually between 6th and 7th edition).
> Unfortunately, it came back with gcc, didn't it?
Why 'unfortunately'? Has this feature limited gcc's portability?
--
Erik Corry erik@arbat.com Ceterum censeo, Microsoftem esse delendam!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Erik Corry
@ 1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Erik Corry
1999-04-18 4:00 ` Bernd Paysan
0 siblings, 2 replies; 117+ messages in thread
From: Dave Cherkus @ 1999-04-15 4:00 UTC (permalink / raw)
Erik Corry (erik@arbat.com) wrote:
>
> Why 'unfortunately'? Has this feature limited gcc's portability?
>
It surely makes it hard to compile code written using this construct
with compilers other than gcc. I've been told that the only compiler
that can compile the Linux kernel code is gcc/egcs. It'd be nice to
see if the upcoming Compaq Alpha compilers for Linux produce a faster
kernel, but I've been told the work involved in eliminating/recoding
gcc constructs is huge.
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-14 4:00 ` 21264 performance anomalies Robert Herndon
1999-04-14 4:00 ` Dennis Ritchie
@ 1999-04-15 4:00 ` amos
1 sibling, 0 replies; 117+ messages in thread
From: amos @ 1999-04-15 4:00 UTC (permalink / raw)
Robert Herndon <rmhj@rmi.net> writes:
>[Granted, jumping to an array of ints may not work right on machines
>with split I/D spaces, VM machines with specific "X" bits, ...]
That's why the type of labels changed to "pointer to func" quite
a while ago.
--
Amos Shapir
Paper: nSOF Parallel Software, Ltd.
Givat-Hashlosha 48800, Israel
Tel: +972 3 9388551 Fax: +972 3 9388552 GEO: 34 55 15 E / 32 05 52 N
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Dave Cherkus
@ 1999-04-15 4:00 ` Erik Corry
1999-04-15 4:00 ` Dave Cherkus
1999-04-18 4:00 ` Bernd Paysan
1 sibling, 1 reply; 117+ messages in thread
From: Erik Corry @ 1999-04-15 4:00 UTC (permalink / raw)
In comp.arch Dave Cherkus <cherkus@unimaster.com> wrote:
> Erik Corry (erik@arbat.com) wrote:
>>
>> Why 'unfortunately'? Has this feature limited gcc's portability?
> It surely makes it hard to compile code written using this construct
> with compilers other than gcc.
If you care you can make gcc issue warnings/errors for this sort
of thing.
> I've been told that the only compiler
> that can compile the Linux kernel code is gcc/egcs. It'd be nice to
> see if the upcoming Compaq Alpha compilers for Linux produce a faster
> kernel, but I've been told the work involved in eliminating/recoding
> gcc constructs is huge.
Does the Compaq compiler allow you to embed gas assembler
snippets in your code? That is a very valid thing for a kernel
to want to do, and the Linux kernel does it all over the place.
Until that is possible, minor things like label variables are
not worth thinking about.
The Linux kernel (in eg /usr/src/include/asm-i386/uaccess.h) also
does some clever stuff, setting up a sort of simple exception
handler that handles programs passing bad pointers to system
calls with 0 overhead in the common case. Not even the icache
is hit with the error handling code, since it is put in a different
section. This is one of the reasons Linux does so well in lmbench
scores (when's the next version due out, Larry?).
So, yes, the Linux kernel uses a lot of gcc extensions, but there
are good reasons for it most of the time.
--
Erik Corry erik@arbat.com Ceterum censeo, Microsoftem esse delendam!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Erik Corry
@ 1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Linus Torvalds
0 siblings, 1 reply; 117+ messages in thread
From: Dave Cherkus @ 1999-04-15 4:00 UTC (permalink / raw)
Erik Corry (erik@arbat.com) wrote:
: Does the Compaq compiler allow you to embed gas assembler
: snippets in your code?
It has support for asm() et al - see /usr/include/c_asm.h on any DU box
for the details. I'm not familiar enough with gas syntax to know if
the syntax is compatible.
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Dave Cherkus
@ 1999-04-15 4:00 ` Linus Torvalds
1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Jim Gettys
0 siblings, 2 replies; 117+ messages in thread
From: Linus Torvalds @ 1999-04-15 4:00 UTC (permalink / raw)
In article <37163084.0@news.destek.net>,
Dave Cherkus <cherkus@unimaster.com> wrote:
>
>It has support for asm() et al - see /usr/include/c_asm.h on any DU box
>for the details. I'm not familiar enough with gas syntax to know if
>the syntax is compatible.
It doesn't have to be: the asm stuff is (for obvious reasons) in
architecture header file, and as such it shouldn't be that hard to
consider another compiler to be just a "sub-architecture".
I don't think switching kernel compilers would be all that hard, it's
just that it hasn't ever been done so there are probably tons of small
things that would need fixing up. The incentives to do it haven't been
very strong..
Linus
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Linus Torvalds
@ 1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Jim Gettys
1 sibling, 0 replies; 117+ messages in thread
From: Dave Cherkus @ 1999-04-15 4:00 UTC (permalink / raw)
Linus Torvalds (torvalds@transmeta.com) wrote:
> It doesn't have to be: the asm stuff is (for obvious reasons) in
> architecture header file, and as such it shouldn't be that hard to
> consider another compiler to be just a "sub-architecture".
I'd imagine a clever script could clean up many of the incompatibilities.
> I don't think switching kernel compilers would be all that hard, it's
> just that it hasn't ever been done so there are probably tons of small
> things that would need fixing up. The incentives to do it haven't been
> very strong..
They still aren't all that strong. I'm just curious about the impact
of compilers on the kernel's performance. But, then again, you were
once curious about how 386 virtual machines worked, and look what the
result was :-)
I understand the performance diffference between DEC C and gcc/egcs
isn't as dramatic for integer intensive code as it is for floating
point intensive code.
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-10 4:00 ` Phillip Helbig
1999-04-10 4:00 ` Christopher B. Browne
@ 1999-04-15 4:00 ` Jim Gettys
1 sibling, 0 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-15 4:00 UTC (permalink / raw)
To: p.helbig
> From: helbig@man.ac.uk (Phillip Helbig)
> Date: 10 Apr 1999 19:26:40 GMT
> Newsgroups:
> comp.lang.fortran,comp.lang.c,comp.os.linux.development,comp.os.linux.alpha
> Subject: Re: Compaq to port its Fortran and C compilers to Alpha Linux
> -----
> In article <370ABDE3.DC81E0A4@sangdu.kjist.ac.kr>, NewsMan
> <newsman@sangdu.kjist.ac.kr> writes:
>
> > Don't you think that it took too long? Compaq should respond to
> > the market faster. In July, an AMD K7 system will appear. I think that
> > it probably is as fast as a 21164a system at around the same price.
>
> Shouldn't the comparison be to a 21264 system?
Not to mention the 21264 and AMD K7 share the same Slot A interface
(we licensed the EV6 pin bus to AMD)...
- Jim
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Linus Torvalds
1999-04-15 4:00 ` Dave Cherkus
@ 1999-04-15 4:00 ` Jim Gettys
1 sibling, 0 replies; 117+ messages in thread
From: Jim Gettys @ 1999-04-15 4:00 UTC (permalink / raw)
To: Linus Torvalds
> From: torvalds@transmeta.com (Linus Torvalds)
> Date: 15 Apr 1999 18:43:39 GMT
> Newsgroups: comp.os.linux.alpha,comp.arch
> Subject: Re: 21264 performance anomalies
> -----
> In article <37163084.0@news.destek.net>,
> Dave Cherkus <cherkus@unimaster.com> wrote:
> >
> >It has support for asm() et al - see /usr/include/c_asm.h on any DU box
> >for the details. I'm not familiar enough with gas syntax to know if
> >the syntax is compatible.
>
> It doesn't have to be: the asm stuff is (for obvious reasons) in
> architecture header file, and as such it shouldn't be that hard to
> consider another compiler to be just a "sub-architecture".
>
> I don't think switching kernel compilers would be all that hard, it's
> just that it hasn't ever been done so there are probably tons of small
> things that would need fixing up. The incentives to do it haven't been
> very strong..
>
> Linus
Should be interesting; it will soon (is actually already inside Compaq)
possible to start this experiment; anyone will be able to try once the
compiler ships. First thing to do, however, is to identify where time
is going in the kernel and see if the GEM compiler makes significant
differences in the hot spots. A random walk through possible compiler
differences hardly makes sense; first thing to do is to see what benefits
most.
- Jim
--
Jim Gettys
Industry Standards and Consortia
Compaq Computer Corporation
Visting Scientist, World Wide Web
Consortium, M.I.T. http://www.w3.org/People/Gettys/
jg@w3.org, jg@pa.dec.com
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-12 4:00 ` Christian Simmendinger
@ 1999-04-15 4:00 ` Dr. Scott A. Furman
0 siblings, 0 replies; 117+ messages in thread
From: Dr. Scott A. Furman @ 1999-04-15 4:00 UTC (permalink / raw)
> Steve Lionel wrote:
>
> > Further establishing AlphaServers as the high performance leader in
> > Linux systems, and in direct response to demand from High Performance
> > Technical Computing customers, Compaq is also porting its Tru64 UNIX
> > Alpha Fortan and C compilers along with the associated runtime
> > libraries to Linux (Alpha) later this year.
One of the reasons I haven't switched completely to Linux is that software
like this
isn't available (I use DVF6). As more large developers support Linux, it
will grow even faster.
Thanks to Digital/Compaq. And I don't mind paying for quality.
--
Dr. Scott Furman
CSIRO
^ permalink raw reply [flat|nested] 117+ messages in thread
* first-class labels (was: 21264 performance anomalies)
1999-04-14 4:00 ` Dennis Ritchie
1999-04-15 4:00 ` Erik Corry
@ 1999-04-16 4:00 ` Anton Ertl
1 sibling, 0 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-16 4:00 UTC (permalink / raw)
In article <3714DA77.6150C99A@bell-labs.com>,
Dennis Ritchie <dmr@bell-labs.com> writes:
> Robert Herndon wrote:
> > Since day 1, labels in C have had type "pointer to int". (Check out
> > "icode" in AT&T Version 6 Unix (pre-1976).) Did this change with ANSI
> > C?
>
> This went away on day 2 (actually between 6th and 7th edition).
> Unfortunately, it came back with gcc, didn't it?
Why did you eliminate first-class labels, and why do you find their
inclusion in gcc unfortunate?
My experiences with gcc's labels-as-values feature is very positive.
It provides a significant speedup for the interpreter I work on, and I
don't see any disadvantages.
In numbers: the speedup factor of Gforth (which uses threaded code
with labels-as-values) over PFE (which uses an ANSI C compliant
technique which I call "call threading") on a number of benchmarks is
of 1.5-1.74 on a 486/66.
Followups to comp.lang.c.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Erik Corry
@ 1999-04-18 4:00 ` Bernd Paysan
1999-04-18 4:00 ` How hard would it be to improve gcc's performance to match DEC CC? Peter Mardahl
` (4 more replies)
1 sibling, 5 replies; 117+ messages in thread
From: Bernd Paysan @ 1999-04-18 4:00 UTC (permalink / raw)
Dave Cherkus wrote:
>
> Erik Corry (erik@arbat.com) wrote:
> >
> > Why 'unfortunately'? Has this feature limited gcc's portability?
> >
>
> It surely makes it hard to compile code written using this construct
> with compilers other than gcc. I've been told that the only compiler
> that can compile the Linux kernel code is gcc/egcs. It'd be nice to
> see if the upcoming Compaq Alpha compilers for Linux produce a faster
> kernel, but I've been told the work involved in eliminating/recoding
> gcc constructs is huge.
But adding this GCC feature to any other C compiler should be pretty
trivial, what? This is the "don't fix your app, fix your compiler"
approach. GCC has so many valuable extensions that are needed to write
efficient code, and labels as values is just one of them - Linux uses
others. So maybe recoding Linux might lead to compilable code on
DECpaq's compiler, but it doesn't necessarily mean that this code will
run faster.
Well, IMHO the whole thing is all the wrong approach. The Alpha compiler
team should better improve GCC instead of trying to port Linux over to a
non-GCC compiler.
But back to the topic: The effect of the instructions in the 16 byte
chunk before the label target is easy to explain: obviously the 21264
just executes all of them, and cancels those that shouldn't have been
executed - that takes time. The other effect is also understandable:
it's just like the Pentium doesn't like back-to-back branches, and when
you move the jump into the next chunk, it's not a back-to-back branch.
GCC has some simple hooks to define alignments of branch targets, the
pgcc makes use of that, too; setting them to 16 bytes (and padding with
nops) should be easy. I don't know if it also allows padding of jumps,
but after all emiting a .align per jump should be not so difficult. With
ELF, these alignments actually work.
--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
^ permalink raw reply [flat|nested] 117+ messages in thread
* How hard would it be to improve gcc's performance to match DEC CC?
1999-04-18 4:00 ` Bernd Paysan
@ 1999-04-18 4:00 ` Peter Mardahl
1999-04-19 4:00 ` TTK Ciar
1999-04-19 4:00 ` 21264 performance anomalies Dave Cherkus
` (3 subsequent siblings)
4 siblings, 1 reply; 117+ messages in thread
From: Peter Mardahl @ 1999-04-18 4:00 UTC (permalink / raw)
In article <371A0B6C.4E678E8@gmx.de>,
Bernd Paysan <bernd.paysan@gmx.de> wrote:
>Dave Cherkus wrote:
>Well, IMHO the whole thing is all the wrong approach. The Alpha compiler
>team should better improve GCC instead of trying to port Linux over to a
>non-GCC compiler.
I've read somewhere that gcc's fundamental design (cross-platform, etc)
and some of the abstraction layers make it very, very hard to do certain
kinds of optimizations, which DEC CC can do, or in other words,
that gcc would have to be redesigned to get performance to match
DEC CC.
I unfortunately can't cite a source for this, but it makes me
reluctant to tell DEC (or anyone else) that they should "fix" gcc.
I'd be really interested to see comments on this from
anyone who knows more about it.
PeterM
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-18 4:00 ` Bernd Paysan
1999-04-18 4:00 ` How hard would it be to improve gcc's performance to match DEC CC? Peter Mardahl
1999-04-19 4:00 ` 21264 performance anomalies Dave Cherkus
@ 1999-04-19 4:00 ` peter
1999-04-20 4:00 ` Larry Kilgallen
1999-04-22 4:00 ` Anton Ertl
4 siblings, 0 replies; 117+ messages in thread
From: peter @ 1999-04-19 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 515 bytes --]
In comp.os.linux.alpha Bernd Paysan <bernd.paysan@gmx.de> wrote:
> Dave Cherkus wrote:
>>
What is the performance of alpha these days ?
I recently run a suite of benchmarks on a axppci33 and wonder how
these results scales to modern designs.
Specifically, do anyone have HINT benchmarks for any combination of newer alphas ?
--
Peter H�kanson Phone +46 0708 39 23 04
Network Management AB Fax +46 031 779 7844
Email : use peter (at) gbg (dot) netman (dot) se No copy to sanford wallace!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: How hard would it be to improve gcc's performance to match DEC CC?
1999-04-18 4:00 ` How hard would it be to improve gcc's performance to match DEC CC? Peter Mardahl
@ 1999-04-19 4:00 ` TTK Ciar
0 siblings, 0 replies; 117+ messages in thread
From: TTK Ciar @ 1999-04-19 4:00 UTC (permalink / raw)
In article <7fdn5h$e24$1@tesla.EECS.Berkeley.EDU>,
Peter Mardahl <peterm@tesla.EECS.Berkeley.EDU> wrote:
>
>I've read somewhere that gcc's fundamental design (cross-platform, etc)
>and some of the abstraction layers make it very, very hard to do certain
>kinds of optimizations, which DEC CC can do, or in other words,
>that gcc would have to be redesigned to get performance to match
>DEC CC.
Yes, it needs to be redesigned. The cross-platform orientation of
the compiler has little to do with it, though. The intermediate lang-
guage (RTL) is ancient and makes it hard to perform certain modern
optimizations. Also, not enough optimization is performed at the
parse-tree level.
Replacing all of the RTL stuff would mean rewriting most of the
compiler, something that people accustomed to developing gcc are
loathe to do, especially since there's a lot of work that can be
done to improve the compiler without going so far as total rewrite.
>I unfortunately can't cite a source for this, but it makes me
>reluctant to tell DEC (or anyone else) that they should "fix" gcc.
I don't see DEC's motivation, frankly. They've already designed
and implemented their own compiler. If they "should" do anything,
perhaps they should add gcc's C enhancements to their compiler.
-- TTK
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-12 4:00 ` Glenn C. Everhart
@ 1999-04-19 4:00 ` Bob Koehler
1999-04-19 4:00 ` Jim Reiss
0 siblings, 1 reply; 117+ messages in thread
From: Bob Koehler @ 1999-04-19 4:00 UTC (permalink / raw)
In article <371235DE.7F4C80AB@gce.com>, "Glenn C. Everhart" <Everhart@gce.com> writes:
>There was strong and cogent dissent when "Fortran 9X" was being
>discussed that the language was in fact not Fortran, but a new
>language being given an old name. The "benchmark" that originated
>this is not by that standard Fortran, nor is it much akin to
>essentially all the Fortran code in the world.
Which is why the Fortran 9X standard was forced to a vote and rejected.
This forced the Fortran 9X committee to back up and rethink, so the
Fortran 90 language was much more compatable with Fortran 77 than
originally planned. Fortran 95 isn't that big a move from Fortran 90.
>The committee should have chosen some other name for its new
>language and left Fortran out of the picture. Their justification
>was that Fortran 77 remains legal...
Mean while, if you buy a Fortran compiler from Sun, HP, MS, probably
others, you will hear a prhase like "VAX Fortran Compatable". Fortran
95 may be the ANSI and/or ISO standard, but VAX Fortran is the defacto
industry standard.
----------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | Federal Sector, Civil Group
Flight Software Team | please remove ".aspm" when replying
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-18 4:00 ` Bernd Paysan
1999-04-18 4:00 ` How hard would it be to improve gcc's performance to match DEC CC? Peter Mardahl
@ 1999-04-19 4:00 ` Dave Cherkus
1999-04-20 4:00 ` Larry Kilgallen
1999-04-19 4:00 ` peter
` (2 subsequent siblings)
4 siblings, 1 reply; 117+ messages in thread
From: Dave Cherkus @ 1999-04-19 4:00 UTC (permalink / raw)
Bernd Paysan (bernd.paysan@gmx.de) wrote:
> But adding this GCC feature to any other C compiler should be pretty
> trivial, what? This is the "don't fix your app, fix your compiler"
> approach. GCC has so many valuable extensions that are needed to write
> efficient code, and labels as values is just one of them - Linux uses
> others. So maybe recoding Linux might lead to compilable code on
> DECpaq's compiler, but it doesn't necessarily mean that this code will
> run faster.
Fair enough.
> Well, IMHO the whole thing is all the wrong approach. The Alpha compiler
> team should better improve GCC instead of trying to port Linux over to a
> non-GCC compiler.
For the record, I don't know if they have any interest at all in doing
this. It was me who was curious, not the Alpha compiler team.
It'd be wonderful if all proprietary compiler developers gave up their
proprietary technology bases and moved to open source. The same can be
said for operating system developers, database developers, word
processor developers, etc.
--
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM When the music's over, turn out the lights!
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Compaq to port its Fortran and C compilers to Alpha Linux
1999-04-19 4:00 ` Bob Koehler
@ 1999-04-19 4:00 ` Jim Reiss
0 siblings, 0 replies; 117+ messages in thread
From: Jim Reiss @ 1999-04-19 4:00 UTC (permalink / raw)
Bob Koehler <koehler@bessta.gsfc.nasa.aspm.gov> wrote:
>Mean while, if you buy a Fortran compiler from Sun, HP, MS, probably
>others, you will hear a prhase like "VAX Fortran Compatable". Fortran
>95 may be the ANSI and/or ISO standard, but VAX Fortran is the defacto
>industry standard.
Unfortunately, that's a standard which isn't defined very well. Many
compilers on the market claim compatibility with VAX FORTRAN, but none
offer all of the extensions available on VMS. Our company was forced to
create a tool to precompile VMS FORTRAN in order to properly target
compilers which supposedly were "VMS compatible"...and the precompiler
has to do a lot.
Most vendors provide %val and VMS-style structures...many do not provide
the 'Q' FORMAT descriptor, indexed file I/O (even Digital/Compaq doesn't,
saying indexed files are not a language feature), various VMS FORTRAN
intrinsic functions, and so on. I believe the actual standards implemented
by vendors have more to do with military specs which have come to include
certain VMS extensions.
Most of the commercial offerings we've seen are a lot better with
VMS FORTRAN code than the current g77, though.
--
Jim Reiss (jim@accelr8.com) Accelr8 Technology, Denver, Colorado, USA
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-18 4:00 ` Bernd Paysan
` (2 preceding siblings ...)
1999-04-19 4:00 ` peter
@ 1999-04-20 4:00 ` Larry Kilgallen
1999-04-22 4:00 ` Anton Ertl
4 siblings, 0 replies; 117+ messages in thread
From: Larry Kilgallen @ 1999-04-20 4:00 UTC (permalink / raw)
In article <371A0B6C.4E678E8@gmx.de>, Bernd Paysan <bernd.paysan@gmx.de> writes:
> Well, IMHO the whole thing is all the wrong approach. The Alpha compiler
> team should better improve GCC instead of trying to port Linux over to a
> non-GCC compiler.
If the Alpha compiler folks feel they have some unique strengths,
they presumably do not want to see them ported to other CPUs, as
would happen in an open source environment.
Larry Kilgallen
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-19 4:00 ` 21264 performance anomalies Dave Cherkus
@ 1999-04-20 4:00 ` Larry Kilgallen
1999-04-21 4:00 ` Bernd Paysan
0 siblings, 1 reply; 117+ messages in thread
From: Larry Kilgallen @ 1999-04-20 4:00 UTC (permalink / raw)
In article <371b3cfe.0@news.destek.net>, cherkus@unimaster.com (Dave Cherkus) writes:
> It'd be wonderful if all proprietary compiler developers gave up their
> proprietary technology bases and moved to open source. The same can be
> said for operating system developers, database developers, word
> processor developers, etc.
So you say.
I, on the other hand, feel the removal of technology as a basis for
competition would lead to competition based solely on color, price,
brand recognition, and other factors quite divorced from quality.
Larry Kilgallen
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-20 4:00 ` Larry Kilgallen
@ 1999-04-21 4:00 ` Bernd Paysan
1999-04-21 4:00 ` Greg Lindahl
1999-04-22 4:00 ` Jan Vorbrueggen
0 siblings, 2 replies; 117+ messages in thread
From: Bernd Paysan @ 1999-04-21 4:00 UTC (permalink / raw)
Larry Kilgallen wrote:
> I, on the other hand, feel the removal of technology as a basis for
> competition would lead to competition based solely on color, price,
> brand recognition, and other factors quite divorced from quality.
You mean just exactly as it is today?
I also don't buy the leading by compiler technology argument you brought
in the previous post. Yes, I'm aware that the Alpha compiler team
managed to tune one of the SPECint benchmarks by a ridiculous factor. If
I remember right, soon after that the Intel compiler specialists tuned
the same benchmark by a yet more ridiculous factor. The compiler
specialists at Motorola didn't succeed to tune their compiler to the
same amount as Intel's, and found out that Intel's specialists had their
part overtuned, and it produced wrong results that haven't been catched
by the SPECint suite.
The lesson we learn is that reverse engineering already happens. The
exchange of technology seems to work even without open source. It's just
more expensive, and after all, noone benefits from that but the big
companies (thus a big company can affort to reverse engineer the
competitor's product, whereas the small companies just can hope to
develop superiour technology first - and then be ripped of by the
reverse engineerers).
BTW: the point about open source is - despite of product splits and ego
plays we sometimes see - not to compete, but to cooperate. If DEC's
compiler specialists don't want to share their knowledge, we'll end up
using the code Intel's and HP's specialists put into the Merced GCC
port. This will give us a fast Alpha GCC, but perhaps later than DEC
wants.
--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-21 4:00 ` Bernd Paysan
@ 1999-04-21 4:00 ` Greg Lindahl
1999-04-22 4:00 ` Terje Mathisen
1999-04-22 4:00 ` Jan Vorbrueggen
1 sibling, 1 reply; 117+ messages in thread
From: Greg Lindahl @ 1999-04-21 4:00 UTC (permalink / raw)
Bernd Paysan <bernd.paysan@gmx.de> writes:
> I also don't buy the leading by compiler technology argument you brought
> in the previous post. Yes, I'm aware that the Alpha compiler team
> managed to tune one of the SPECint benchmarks by a ridiculous factor. If
> I remember right, soon after that the Intel compiler specialists tuned
> the same benchmark by a yet more ridiculous factor. The compiler
> specialists at Motorola didn't succeed to tune their compiler to the
> same amount as Intel's, and found out that Intel's specialists had their
> part overtuned, and it produced wrong results that haven't been catched
> by the SPECint suite.
This gives a pretty unfair impression about the whole SPECint and
SPECfp effort. For the most part, the optimizations encouraged by
these benchmarks have been positive for all programs. I hope that
SPECint and fp99 manage to be even better at it.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-21 4:00 ` Bernd Paysan
1999-04-21 4:00 ` Greg Lindahl
@ 1999-04-22 4:00 ` Jan Vorbrueggen
1999-04-22 4:00 ` Larry Kilgallen
1 sibling, 1 reply; 117+ messages in thread
From: Jan Vorbrueggen @ 1999-04-22 4:00 UTC (permalink / raw)
Bernd Paysan <bernd.paysan@gmx.de> writes:
> BTW: the point about open source is - despite of product splits and ego
> plays we sometimes see - not to compete, but to cooperate. If DEC's
> compiler specialists don't want to share their knowledge, we'll end up
> using the code Intel's and HP's specialists put into the Merced GCC
> port. This will give us a fast Alpha GCC, but perhaps later than DEC wants.
You repeat this despite the point having been made that they would have to
effectively re-write GCC from scratch to do this. They might as well put their
compiler front-ends and GEM into the public domain. But why should they?
They're making good money from it as it is.
The point is: the knowledge is there. It costs time and thus money to turn it
into useable code. Having deduced how some of the innards of the latest and
greatest (at least in hype) Sun compilers work (or rather, not work), this
is the main problem.
Jan
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Jan Vorbrueggen
@ 1999-04-22 4:00 ` Larry Kilgallen
1999-04-22 4:00 ` Paul DeMone
1999-04-22 4:00 ` Fred Kleinsorge
0 siblings, 2 replies; 117+ messages in thread
From: Larry Kilgallen @ 1999-04-22 4:00 UTC (permalink / raw)
In article <y4lnfl3y6b.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> writes:
> Bernd Paysan <bernd.paysan@gmx.de> writes:
>
>> BTW: the point about open source is - despite of product splits and ego
>> plays we sometimes see - not to compete, but to cooperate. If DEC's
>> compiler specialists don't want to share their knowledge, we'll end up
>> using the code Intel's and HP's specialists put into the Merced GCC
>> port. This will give us a fast Alpha GCC, but perhaps later than DEC wants.
>
> You repeat this despite the point having been made that they would have to
> effectively re-write GCC from scratch to do this. They might as well put their
> compiler front-ends and GEM into the public domain. But why should they?
> They're making good money from it as it is.
From a discussion of GCC design, it does not at all follow that
"They might as well put the compiler front-ends and GEM into the
public domain." If DEC had some magical technique inside their
compiler, making it public would allow Sun to use it in SPARC
compilers, HP to use it in Merced<DEL><DEL><DEL><DEL><DEL><DEL>
compilers for their machines, etc.
DEC's interest would be in having GCC do very well on Alpha,
and I recall seeing Web documents on how to schedule Alpha
instructions in your own compiler. Perhaps they have fewer
people assigned to this writing chore than they should, but
releasing Alpha tips is quite different from releasing their
compiler designs.
Larry
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-21 4:00 ` Greg Lindahl
@ 1999-04-22 4:00 ` Terje Mathisen
1999-04-22 4:00 ` Greg Lindahl
0 siblings, 1 reply; 117+ messages in thread
From: Terje Mathisen @ 1999-04-22 4:00 UTC (permalink / raw)
Greg Lindahl wrote:
>
> Bernd Paysan <bernd.paysan@gmx.de> writes:
>
> > I also don't buy the leading by compiler technology argument you brought
> > in the previous post. Yes, I'm aware that the Alpha compiler team
> > managed to tune one of the SPECint benchmarks by a ridiculous factor. If
> > I remember right, soon after that the Intel compiler specialists tuned
> > the same benchmark by a yet more ridiculous factor. The compiler
> > specialists at Motorola didn't succeed to tune their compiler to the
> > same amount as Intel's, and found out that Intel's specialists had their
> > part overtuned, and it produced wrong results that haven't been catched
> > by the SPECint suite.
>
> This gives a pretty unfair impression about the whole SPECint and
> SPECfp effort. For the most part, the optimizations encouraged by
> these benchmarks have been positive for all programs. I hope that
"All programs" is probably still a bit too optimistic, but the '95
version is at least a step in the right direction, in that it requires
all optimizations used to be useful for a set of programs which is
larger than just the spec95 benchmarks.
> SPECint and fp99 manage to be even better at it.
It's hard to see how the requirements can be made more strict, but the
programs selected should avoid those that have been proven too
susceptible to non-general optimization tricks.
Terje
--
- <Terje.Mathisen@hda.hydro.com>
Using self-discipline, see http://www.eiffel.com/discipline
"almost all programming can be viewed as an exercise in caching"
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Terje Mathisen
@ 1999-04-22 4:00 ` Greg Lindahl
0 siblings, 0 replies; 117+ messages in thread
From: Greg Lindahl @ 1999-04-22 4:00 UTC (permalink / raw)
Terje Mathisen <Terje.Mathisen@hda.hydro.com> writes:
> > SPECint and fp99 manage to be even better at it.
>
> It's hard to see how the requirements can be made more strict, but the
> programs selected should avoid those that have been proven too
> susceptible to non-general optimization tricks.
SPEC95 still contained some application kernels instead of
applications, and almost all of the programs in it have rather small
computational kernels (in terms of lines of code). The second seems to
be a selection effect to me; my favorite programs all do not have
small computational kernels.
-- g
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Larry Kilgallen
1999-04-22 4:00 ` Paul DeMone
@ 1999-04-22 4:00 ` Fred Kleinsorge
1999-04-22 4:00 ` John Pieper
1999-04-22 4:00 ` Thomas Womack
1 sibling, 2 replies; 117+ messages in thread
From: Fred Kleinsorge @ 1999-04-22 4:00 UTC (permalink / raw)
My 2 cents: Rather than giving away DECC, the better approach is to
make sure that DECC runs on Linux, and that we build a Linux kernel
using DECC. You want fast - use DECC and spend a couple bucks. You
want free... then you have the choice.
Larry Kilgallen wrote:
>
> In article <y4lnfl3y6b.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> writes:
> > Bernd Paysan <bernd.paysan@gmx.de> writes:
> >
> >> BTW: the point about open source is - despite of product splits and ego
> >> plays we sometimes see - not to compete, but to cooperate. If DEC's
> >> compiler specialists don't want to share their knowledge, we'll end up
> >> using the code Intel's and HP's specialists put into the Merced GCC
> >> port. This will give us a fast Alpha GCC, but perhaps later than DEC wants.
> >
> > You repeat this despite the point having been made that they would have to
> > effectively re-write GCC from scratch to do this. They might as well put their
> > compiler front-ends and GEM into the public domain. But why should they?
> > They're making good money from it as it is.
>
> From a discussion of GCC design, it does not at all follow that
> "They might as well put the compiler front-ends and GEM into the
> public domain." If DEC had some magical technique inside their
> compiler, making it public would allow Sun to use it in SPARC
> compilers, HP to use it in Merced<DEL><DEL><DEL><DEL><DEL><DEL>
> compilers for their machines, etc.
>
> DEC's interest would be in having GCC do very well on Alpha,
> and I recall seeing Web documents on how to schedule Alpha
> instructions in your own compiler. Perhaps they have fewer
> people assigned to this writing chore than they should, but
> releasing Alpha tips is quite different from releasing their
> compiler designs.
>
> Larry
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Fred Kleinsorge
@ 1999-04-22 4:00 ` John Pieper
1999-04-22 4:00 ` Thomas Womack
1 sibling, 0 replies; 117+ messages in thread
From: John Pieper @ 1999-04-22 4:00 UTC (permalink / raw)
Fred Kleinsorge wrote:
>
> My 2 cents: Rather than giving away DECC, the better approach is to
> make sure that DECC runs on Linux, and that we build a Linux kernel
> using DECC. You want fast - use DECC and spend a couple bucks. You
> want free... then you have the choice.
>
Indeed, if you really wanted a choice today, you could start using SUIF.
It has optimizing technology that has beaten GEM-based technology (for a
long time, SUIF held the world's record in Specfp95; it doesn't today
only because it hasn't been run on recent hardware).
I think SUIF's C front-end is gcc.
I know SUIF can generate Alpha code.
The only thing keeping GEM ahead of SUIF (in bug rate and code quality)
is sweat equity; the technology bases are similar.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Fred Kleinsorge
1999-04-22 4:00 ` John Pieper
@ 1999-04-22 4:00 ` Thomas Womack
1 sibling, 0 replies; 117+ messages in thread
From: Thomas Womack @ 1999-04-22 4:00 UTC (permalink / raw)
Fred Kleinsorge wrote in message
<371F13A2.5ADE863B@star.enet.dec_nospam.com>...
>My 2 cents: Rather than giving away DECC, the better
>approach is to make sure that DECC runs on Linux, and
>that we build a Linux kernel using DECC. You want fast
>- use DECC and spend a couple bucks. You want free...
>then you have the choice.
This provides a really, really good argument for making the kernel more
modular, of course - because, assuming DECC is significantly better than
gcc and that most users won't have DECC, you'll get quite a performance
hit by being forced to recompile the kernel, since the one you'll have
been shipped will have been produced by Redhat or Debian or whoever
using DECC.
Tom
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Larry Kilgallen
@ 1999-04-22 4:00 ` Paul DeMone
1999-04-23 4:00 ` Jan Vorbrueggen
1999-04-22 4:00 ` Fred Kleinsorge
1 sibling, 1 reply; 117+ messages in thread
From: Paul DeMone @ 1999-04-22 4:00 UTC (permalink / raw)
Larry Kilgallen wrote:
[snip]
> From a discussion of GCC design, it does not at all follow that
> "They might as well put the compiler front-ends and GEM into the
> public domain." If DEC had some magical technique inside their
> compiler, making it public would allow Sun to use it in SPARC
> compilers, HP to use it in Merced<DEL><DEL><DEL><DEL><DEL><DEL>
> compilers for their machines, etc.
DEC probably has the best binary recompilation and object code
optimization technology in the business. If it really wanted
to keep its algorithms under wraps it could just release a
GCC output optimizer as an executable. Ugly but better than
nothing.
[snip]
--
Paul W. DeMone The 801 experiment SPARCed an ARMs race of EPIC
Kanata, Ontario proportions to put more PRECISION and POWER into
demone@mosaid.com architectures with MIPSed results but ALPHA's well
pdemone@igs.net that ends well.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-18 4:00 ` Bernd Paysan
` (3 preceding siblings ...)
1999-04-20 4:00 ` Larry Kilgallen
@ 1999-04-22 4:00 ` Anton Ertl
4 siblings, 0 replies; 117+ messages in thread
From: Anton Ertl @ 1999-04-22 4:00 UTC (permalink / raw)
In article <371A0B6C.4E678E8@gmx.de>,
Bernd Paysan <bernd.paysan@gmx.de> writes:
> The other effect is also understandable:
> it's just like the Pentium doesn't like back-to-back branches, and when
> you move the jump into the next chunk, it's not a back-to-back branch.
Could be. I have done some more measurements: this time I aligned the
jump target, and had the load (+add) and the jump in various 16-byte
groups, and filled the rest of the instructions with nops and
unops.
I.e.
$L2:
{nop;unop;nop;unop}
ldq $1,0($2)
addq $2,8,$2
[nop;nop]
{nop;unop;nop;unop}
jmp $31,($1),0
This resulted in:
jump load group
group 0 1 2 3
0 1.12s
1 0.72s 2.64s
2 1.16s 2.68s 2.84s
3 1.12s 2.64s 2.82s 3.00s
4 1.28s 1.52s 2.82s 3.01s
5 1.44s 1.70s 1.70s 3.01s
6 1.62s 1.90s 1.89s 1.89s
If the load is not in group 0, the pattern seems to be: if the jump
happens before the loaded value is available (the load latency is 3
cycles), it mispredicts and does not update the next-line predictor of
the jump. For some reason it works a lot better with the load in
group 0.
I am a bit worried, because many of these patterns occur in a real
interpreter. However, I don't know how the presence of instructions
other than nops and unops affects these results (but my experiences
until now indicate that they do), so I probably should stop worrying
and wait until the optimization guide arrives.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-22 4:00 ` Paul DeMone
@ 1999-04-23 4:00 ` Jan Vorbrueggen
1999-04-23 4:00 ` Paul DeMone
0 siblings, 1 reply; 117+ messages in thread
From: Jan Vorbrueggen @ 1999-04-23 4:00 UTC (permalink / raw)
Paul DeMone <pdemone@igs.net> writes:
> DEC probably has the best binary recompilation and object code
> optimization technology in the business. If it really wanted
> to keep its algorithms under wraps it could just release a GCC
> output optimizer as an executable. Ugly but better than nothing.
As I understand it, that wouldn't work: GCC's intermedaite representation
is outdated and isn't able to convey enough of the information required for
many modern optimization techniques. Look at the struggle the g77 people
are having in trying to get the GCC backend use the additional semantics
a language such as Fortran can provide to the compiler (e.g., regarding
aliasing).
Jan
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-23 4:00 ` Jan Vorbrueggen
@ 1999-04-23 4:00 ` Paul DeMone
1999-04-24 4:00 ` Zalman Stern
1999-05-09 4:00 ` TTK Ciar
0 siblings, 2 replies; 117+ messages in thread
From: Paul DeMone @ 1999-04-23 4:00 UTC (permalink / raw)
Jan Vorbrueggen wrote:
>
> Paul DeMone <pdemone@igs.net> writes:
>
> > DEC probably has the best binary recompilation and object code
> > optimization technology in the business. If it really wanted
> > to keep its algorithms under wraps it could just release a GCC
> > output optimizer as an executable. Ugly but better than nothing.
>
> As I understand it, that wouldn't work: GCC's intermedaite representation
> is outdated and isn't able to convey enough of the information required for
> many modern optimization techniques. Look at the struggle the g77 people
> are having in trying to get the GCC backend use the additional semantics
> a language such as Fortran can provide to the compiler (e.g., regarding
> aliasing).
I guess I was unclear. I meant that a binary recompiler could take
the Alpha executable image generated by gcc and recompile and reschedule
the code.
BTW, if you think gcc internals are obsolete for good Alpha code
generation, wait until someone tries to graft on EPIC compiler
technology. The compiler gurus unequivocally say that to compile
properly for EPIC you essentially have to start from scratch.
>
> Jan
--
Paul W. DeMone The 801 experiment SPARCed an ARMs race of EPIC
Kanata, Ontario proportions to put more PRECISION and POWER into
demone@mosaid.com architectures with MIPSed results but ALPHA's well
pdemone@igs.net that ends well.
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-24 4:00 ` Zalman Stern
@ 1999-04-23 4:00 ` Donald C. Lindsay
0 siblings, 0 replies; 117+ messages in thread
From: Donald C. Lindsay @ 1999-04-23 4:00 UTC (permalink / raw)
In article <zalmanFAo6Iy.KMx@netcom.com>,
Zalman Stern <zalman@netcom.com> wrote:
>Paul DeMone (pdemone@igs.net) wrote:
>: I guess I was unclear. I meant that a binary recompiler could take
>: the Alpha executable image generated by gcc and recompile and reschedule
>: the code.
>Now I suppose you can say all information is in the binary. And I suppose
>that's true in some sense if you have access to the entirety of the bits
>that are used in the binary and an infinite amount of time to do the
>optimization :-)
No one sensible ever said that there was One True Place to insert all
optimizations. Of course there are ones that are best done at
preprocessor time, or at parse time, or whenever.
However, there are a whole bunch of things that are best done at or
after link time. For example, you learn if called routines are in
shared libraries. You learn the sizes of constant pools, and learn
which C++ method invocations don't need table lookup. And, more
to the point, you can reschedule code for the CPU at hand.
Post-link-time optimization is just really useful. I've used (and
modified) the Alpha's binary rewriting tools and their speed is not
some sort of big issue. Binary rewriting is one of those things that
we should have thought of sooner.
--
Don
Donald C. Lindsay www.best.com/~dlindsay
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-23 4:00 ` Paul DeMone
@ 1999-04-24 4:00 ` Zalman Stern
1999-04-23 4:00 ` Donald C. Lindsay
1999-05-09 4:00 ` TTK Ciar
1 sibling, 1 reply; 117+ messages in thread
From: Zalman Stern @ 1999-04-24 4:00 UTC (permalink / raw)
Paul DeMone (pdemone@igs.net) wrote:
: I guess I was unclear. I meant that a binary recompiler could take
: the Alpha executable image generated by gcc and recompile and reschedule
: the code.
The compiler algorithms may depend on information that is in the source
code but not in the assembly (or gcc intermediate representation). This
whole model of a compiler as a language dependent front-end talking to a
machine and language independent optimizer talking to a machine dependent
back-end is highly idealized and not all compiler (even gcc) work that way.
Now I suppose you can say all information is in the binary. And I suppose
that's true in some sense if you have access to the entirety of the bits
that are used in the binary and an infinite amount of time to do the
optimization :-)
: BTW, if you think gcc internals are obsolete for good Alpha code
: generation, wait until someone tries to graft on EPIC compiler
: technology. The compiler gurus unequivocally say that to compile
: properly for EPIC you essentially have to start from scratch.
Well, the EPIC compiler gurus are pretty heavily invested in certain
compiler technologies... Fortunately, some of that technology (Trimaran) is
already out in the public and I expect Intel to take an interest in making
sure something like gcc/egcs (or lcc, whatever) works well on IA-64. But
yeah, "an interest" is no substitute for working code and its a hard
problem...
-Z-
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-04-23 4:00 ` Paul DeMone
1999-04-24 4:00 ` Zalman Stern
@ 1999-05-09 4:00 ` TTK Ciar
1999-05-11 4:00 ` Peter Mayne
1 sibling, 1 reply; 117+ messages in thread
From: TTK Ciar @ 1999-05-09 4:00 UTC (permalink / raw)
In article <372113DF.7886F290@igs.net>, Paul DeMone <pdemone@igs.net> wrote:
>
> I guess I was unclear. I meant that a binary recompiler could take
> the Alpha executable image generated by gcc and recompile and reschedule
> the code.
This is called "peephole optimization", and its ability to improve
code is sharply limited because it lacks high-level information about
the code it is manipulating. The GCC back-end (and for some architec-
tures the GAS assembler) already does quite a bit of very good peephole
optimization. The gap between GCC's and DECC's effectiveness is due to
optimizations performed further upstream at the icode levels.
-- TTK
^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: 21264 performance anomalies
1999-05-09 4:00 ` TTK Ciar
@ 1999-05-11 4:00 ` Peter Mayne
0 siblings, 0 replies; 117+ messages in thread
From: Peter Mayne @ 1999-05-11 4:00 UTC (permalink / raw)
See also DIGITAL Technical Journal Volume 9, Number 4 at
http://www.digital.com/DTJS00/index.html
Optimizing Alpha Executables on Windows NT with Spike
Robert S. Cohn, David W. Goodwin, and P. Geoffrey Lowney
Abstract
Many Windows NT-based applications are large, call-intensive programs, with
loops that span multiple procedures and procedures that have complex control
flow and contain numerous basic blocks. Spike is a profile-directed
optimization system for Alpha executables that is designed to improve the
performance of these applications. The Spike Optimizer performs code layout
to improve instruction cache behavior and hot-cold optimization to reduce
the number of instructions executed on the frequent paths through the
program. The Spike Optimization Environment provides a complete system for
performing profile feedback by handling the tasks of collecting, managing,
and applying profile information. Spike speeds up program execution by as
much as 33 percent and is being used to optimize applications developed by
DIGITAL and other software vendors.
PJDM
----
Peter Mayne, Compaq Computer Australia, Canberra, ACT
These are my opinions, and have nothing to do with Compaq.
A room without books is like a body without a soul. - Cicero
TTK Ciar <ttk@for_mail_remove_this_and_fruit.larva.apple.shinma.org> wrote
in message news:8qlZ2.1468$LP2.21512@news6.ispnews.com...
> In article <372113DF.7886F290@igs.net>, Paul DeMone <pdemone@igs.net>
wrote:
> >
> > I guess I was unclear. I meant that a binary recompiler could take
> > the Alpha executable image generated by gcc and recompile and
reschedule
> > the code.
>
> This is called "peephole optimization", and its ability to improve
> code is sharply limited because it lacks high-level information about
> the code it is manipulating
^ permalink raw reply [flat|nested] 117+ messages in thread
end of thread, other threads:[~1999-05-11 4:00 UTC | newest]
Thread overview: 117+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-06 4:00 Compaq to port its Fortran and C compilers to Alpha Linux Steve Lionel
1999-04-07 4:00 ` NewsMan
1999-04-06 4:00 ` Jeffrey J. Potoff
1999-04-06 4:00 ` Ron Flory
1999-04-07 4:00 ` Paul English
1999-04-07 4:00 ` Greg Lindahl
1999-04-07 4:00 ` Dave Cherkus
1999-04-07 4:00 ` essoft
1999-04-08 4:00 ` bmeyer
1999-04-09 4:00 ` Richard Heathfield
1999-04-09 4:00 ` Dave Cherkus
1999-04-07 4:00 ` Ben Pfaff
1999-04-07 4:00 ` Jim Klein
1999-04-07 4:00 ` Peter Mardahl
1999-04-07 4:00 ` bmeyer
1999-04-07 4:00 ` Jeffrey J. Potoff
1999-04-07 4:00 ` Greg Lindahl
1999-04-07 4:00 ` Toon Moene
1999-04-08 4:00 ` Anton Ertl
1999-04-08 4:00 ` Toon Moene
1999-04-08 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Anton Ertl
1999-04-09 4:00 ` P Dickerson
1999-04-09 4:00 ` Anton Ertl
1999-04-10 4:00 ` Bruce Hoult
1999-04-14 4:00 ` 21264 performance anomalies Robert Herndon
1999-04-14 4:00 ` Dennis Ritchie
1999-04-15 4:00 ` Erik Corry
1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Erik Corry
1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Linus Torvalds
1999-04-15 4:00 ` Dave Cherkus
1999-04-15 4:00 ` Jim Gettys
1999-04-18 4:00 ` Bernd Paysan
1999-04-18 4:00 ` How hard would it be to improve gcc's performance to match DEC CC? Peter Mardahl
1999-04-19 4:00 ` TTK Ciar
1999-04-19 4:00 ` 21264 performance anomalies Dave Cherkus
1999-04-20 4:00 ` Larry Kilgallen
1999-04-21 4:00 ` Bernd Paysan
1999-04-21 4:00 ` Greg Lindahl
1999-04-22 4:00 ` Terje Mathisen
1999-04-22 4:00 ` Greg Lindahl
1999-04-22 4:00 ` Jan Vorbrueggen
1999-04-22 4:00 ` Larry Kilgallen
1999-04-22 4:00 ` Paul DeMone
1999-04-23 4:00 ` Jan Vorbrueggen
1999-04-23 4:00 ` Paul DeMone
1999-04-24 4:00 ` Zalman Stern
1999-04-23 4:00 ` Donald C. Lindsay
1999-05-09 4:00 ` TTK Ciar
1999-05-11 4:00 ` Peter Mayne
1999-04-22 4:00 ` Fred Kleinsorge
1999-04-22 4:00 ` John Pieper
1999-04-22 4:00 ` Thomas Womack
1999-04-19 4:00 ` peter
1999-04-20 4:00 ` Larry Kilgallen
1999-04-22 4:00 ` Anton Ertl
1999-04-16 4:00 ` first-class labels (was: 21264 performance anomalies) Anton Ertl
1999-04-15 4:00 ` 21264 performance anomalies amos
1999-04-11 4:00 ` 21264 performance anomalies (was: Compaq to port ...) Michael Gschwind
1999-04-11 4:00 ` 21264 performance anomalies Donald C. Lindsay
1999-04-12 4:00 ` Justin Carlson
1999-04-14 4:00 ` Anton Ertl
1999-04-14 4:00 ` Justin Carlson
1999-04-14 4:00 ` Jan Vorbrueggen
1999-04-08 4:00 ` Compaq to port its Fortran and C compilers to Alpha Linux James D. Freels
1999-04-09 4:00 ` Greg Lindahl
1999-04-11 4:00 ` Michal Jaegermann
1999-04-09 4:00 ` Jim Gettys
1999-04-09 4:00 ` Toon Moene
1999-04-09 4:00 ` Jim Gettys
1999-04-09 4:00 ` Anton Ertl
1999-04-09 4:00 ` bmeyer
1999-04-09 4:00 ` Anton Ertl
1999-04-09 4:00 ` Jim Gettys
1999-04-08 4:00 ` Keith Higgs
1999-04-09 4:00 ` Daniel Barker
1999-04-10 4:00 ` Phillip Helbig
1999-04-10 4:00 ` Christopher B. Browne
1999-04-10 4:00 ` James D. Freels
1999-04-11 4:00 ` Christopher B. Browne
1999-04-11 4:00 ` Zane H. Healy
1999-04-11 4:00 ` James Van Buskirk
1999-04-11 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Glenn C. Everhart
1999-04-19 4:00 ` Bob Koehler
1999-04-19 4:00 ` Jim Reiss
1999-04-12 4:00 ` James Van Buskirk
1999-04-14 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Robert Harley
1999-04-12 4:00 ` Phillip Helbig
1999-04-12 4:00 ` Greg Lindahl
1999-04-12 4:00 ` Richard Levitte - VMS Whacker
1999-04-11 4:00 ` Greg Lindahl
1999-04-11 4:00 ` Toon Moene
1999-04-07 4:00 ` Gary Scott
1999-04-07 4:00 ` Toon Moene
1999-04-07 4:00 ` Steve Lionel
1999-04-07 4:00 ` Peter Mardahl
1999-04-07 4:00 ` Ron Flory
1999-04-07 4:00 ` Helmut Katzgraber
1999-04-08 4:00 ` Steve Lionel
1999-04-08 4:00 ` Helmut Katzgraber
1999-04-08 4:00 ` Steve Lionel
1999-04-09 4:00 ` Dave Cherkus
1999-04-09 4:00 ` Steve Lionel
1999-04-09 4:00 ` Christopher B. Browne
1999-04-08 4:00 ` Udo Klasmeier
1999-04-09 4:00 ` Jacob Gladish
1999-04-10 4:00 ` Phillip Helbig
1999-04-10 4:00 ` Christopher B. Browne
1999-04-15 4:00 ` Jim Gettys
1999-04-12 4:00 ` Christian Simmendinger
1999-04-15 4:00 ` Dr. Scott A. Furman
[not found] <9904091746.AA12557@pachyderm.pa.dec.com>
1999-04-09 4:00 ` Toon Moene
1999-04-09 4:00 ` Jim Gettys
[not found] <199904101919.OAA0000007308@localhost>
1999-04-12 4:00 ` Jim Gettys
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox