comp.lang.ada
 help / color / mirror / Atom feed
From: kenner@lab.ultra.nyu.edu (Richard Kenner)
Subject: Re: FSF drops Apple boycott, opens gate fo
Date: 9 Feb 1995 03:01:22 GMT
Date: 1995-02-09T03:01:22+00:00	[thread overview]
Message-ID: <3hc0i2$eia@cmcl2.NYU.EDU> (raw)
In-Reply-To: 1995Feb8.114712.3756@driftwood.cray.com

In article <1995Feb8.114712.3756@driftwood.cray.com> brh@cray.com writes:
>There is also an rs6000 version of gcc/gnat.  The rs6000 uses the power
>chip set which is fairly close to the power pc instruction set.

Though this is off-topic, I think I should say something about this
families of architectures, since there is a lot of confusion out there
(not necessarily in this thread).

The POWER architecture first appeared a number of years ago in the IBM
product known as the RS/6000.  The processor itself didn't have a
public name, but most people referered to it by its last IBM code name
(RIOS).

The PowerPC architecture is neither a superset nor a subset of POWER.
However, the instructions present in both is a very large subset of
both; i.e., the differences between the two are a relatively small
number of instructions.  One other difference is that the mnemonics
used in the documentation of both architectures differ, even for the
instructions in both; GCC has a option that says which mnemonics to
use which is orthogonal (except in its default) to what architecture
you're compiling for.

The PowerPC architecture is a 64-bit architecture with defined
subsets.  All announced implementations omit the 64-bit instructions
and some omit a few of floating-point instructions (that are not in
the POWER architecture).  You also view it as having optional
supersets consisting of those instructions.

What is popularly known as the "PowerPC" chip is more properly known
by its Motorola part number, MPC601.  This is *not* a pure PowerPC
processor.  In fact, it implements the *union* of the POWER
architecture and the smallest defined subset of PowerPC (less the
64-bit and the extra FP instructions).  GCC knows this and when
compiling for the 601 (the default when you say "powerpc") it will use
either POWER or PowerPC instructions, depending on which are more
efficient for a particular expression.  The MPC603 and MPC604 do not
implement the POWER-only instructions.

To make life even *more* interesting, IBM recently announced products
based on the POWER2 architecture.  This architecture is a superset of
the POWER architecture.  Some, but not all, of these added
instructions are also in the optional part of the PowerPC
architecture.  GCC also supports POWER2.

This is probably much more than most people want to know on this
topic, but I thought I should straighten out the confusion.



  reply	other threads:[~1995-02-09  3:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-01 12:42 FSF drops Apple boycott, opens gate for GNAT, etc David Weller
1995-02-02  0:21 ` Michael Hirasuna
1995-02-02  1:45   ` Richard Kenner
     [not found]     ` <hirasuna-0402950942330001@hirasuna.clark.net>
1995-02-07 11:11       ` Richard Kenner
     [not found]   ` <3gr7ql$39u@rational.rational.com>
1995-02-07 10:32     ` Richard Kenner
1995-02-06  4:46 ` Larry Kilgallen, LJK Software
1995-02-07  3:03   ` Robert Dewar
1995-02-07 14:06     ` Larry Kilgallen, LJK Software
1995-02-07 22:07       ` Richard Kenner
1995-02-08 15:56         ` Larry Kilgallen, LJK Software
1995-02-09  1:51         ` Robert Dewar
1995-02-08 17:47       ` FSF drops Apple boycott, opens gate fo Brian Hanson
1995-02-09  3:01         ` Richard Kenner [this message]
     [not found]       ` <3h8qve$e02@cmcl2.nyu.edu>
1995-02-09 21:52         ` FSF drops Apple boycott, opens gate for GNAT, etc Bradley Ross
     [not found] ` <3grq8l$jja@gnat.cs.nyu.edu>
     [not found]   ` <3h06rv$4pg@Starbase.NeoSoft.COM>
     [not found]     ` <3h3hiv$e49@gnat.cs.nyu.edu>
1995-02-06 18:26       ` Stan Shebs
1995-02-07 20:05         ` Robert Dewar
1995-02-09 17:16           ` Mats Weber
1995-02-11 13:55             ` Robert Dewar
replies disabled

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