Przeglądaj źródła

Add powerpcspe to ostable and triplettable

The 'powerpcspe' architecture is a binary-incompatible variant of
PowerPC/POWER designed and supported by FreeScale and IBM. It is also
known under the trade names "e500"/"MPC8500" and "e200"/"MPC5xx".

Additional information can be found at:
  http://en.wikipedia.org/wiki/PowerPC_e500
  http://en.wikipedia.org/wiki/PowerPC_e200

In particular, the 'powerpcspe' architecture lacks the classic FPU with
dedicated FPRs found on most other PowerPC systems. It is replaced with
a set of "SPE" instructions which perform floating-point operations on
the integer registers.

In an unfortunate choice of architecture design, the instructions used
for the "SPE" operations overlap with those for the AltiVec unit on most
other modern PowerPC cores.

The "e500v2"-series chips have 64-bit GPRs, where the high 32-bits are
accesible only via the special "SPE" instructions, allowing them to make
efficient use of the "double" datatype.

The relative rare "e500v1"-series chips have only 32-bit GPRs, and
require software traps and emulation to support native "double".

The "e200z3" and "e200z6" chips have no support for floating point at
all, but with software traps and emulation are binary-compatible with
the "e500"-series chips.

The Debian port to this architecture specifically chooses to optimize
for the higher-end chips (e500v2), as most of the others are targeted
at automotive applications or no longer in production.

The specific GNU triplet for this arch is "powerpc-linux-gnuspe". As a
result, we end up adding an extra "ostable" entry instead of one in
"cputable".

Closes: #568123, #575158

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Guillem Jover <guillem@debian.org>
Kyle Moffett 16 lat temu
rodzic
commit
feb5792cc9
3 zmienionych plików z 8 dodań i 0 usunięć
  1. 6 0
      debian/changelog
  2. 1 0
      ostable
  3. 1 0
      triplettable

+ 6 - 0
debian/changelog

@@ -1,10 +1,16 @@
 dpkg (1.15.7.2) UNRELEASED; urgency=low
 
+  [ Raphaël Hertzog ]
   * Update dpkg-buildflags to respect $XDG_CONFIG_HOME and to use
     $XDG_CONFIG_HOME/dpkg/buildflags.conf by default.
   * Update deb-substvars(5) to codify how variables containing multiple
     lines must be managed.
 
+  [ Guillem Jover ]
+  * Add powerpcspe support to ostable and triplettable.
+    Thanks to Sebastian Andrzej Siewior <sebastian@breakpoint.cc> and
+    Kyle Moffett <Kyle.D.Moffett@boeing.com>. Closes: #568123, #575158
+
  -- Raphaël Hertzog <hertzog@debian.org>  Fri, 23 Apr 2010 18:17:14 +0200
 
 dpkg (1.15.7.1) unstable; urgency=low

+ 1 - 0
ostable

@@ -17,6 +17,7 @@
 uclibceabi-linux	linux-uclibceabi	linux[^-]*-uclibceabi
 uclibc-linux		linux-uclibc		linux[^-]*-uclibc
 gnueabi-linux		linux-gnueabi		linux[^-]*-gnueabi
+gnuspe-linux		linux-gnuspe		linux[^-]*-gnuspe
 gnulp-linux		linux-gnulp		linux[^-]*-gnulp
 gnu-linux		linux-gnu		linux[^-]*(-gnu.*)?
 gnu-kfreebsd		kfreebsd-gnu		kfreebsd[^-]*(-gnu.*)?

+ 1 - 0
triplettable

@@ -6,6 +6,7 @@
 uclibceabi-linux-arm	uclibc-linux-armel
 uclibc-linux-<cpu>	uclibc-linux-<cpu>
 gnueabi-linux-arm	armel
+gnuspe-linux-powerpc	powerpcspe
 gnulp-linux-i386	lpia
 gnu-linux-<cpu>		<cpu>
 gnu-kfreebsd-<cpu>	kfreebsd-<cpu>