Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 38b4820

Browse files
authoredMar 6, 2025
Rollup merge of #137868 - taiki-e:powerpcspe-doc, r=workingjubilee
Add minimal platform support documentation for powerpc-unknown-linux-gnuspe Per #137860 (comment), add minimal platform support documentation, including a brief summary and links to more detailed information about this target. The added documentation is minimal. This is somewhat similar to [powerpc-unknown-openbsd, which also has no target maintainer](https://doc.rust-lang.org/nightly/rustc/platform-support/powerpc-unknown-openbsd.html). The rest of the template is left to target maintainers. I also updated powerpc-unknown-linux-muslspe platform support documentation and added link to powerpc-unknown-linux-gnuspe platform support documentation. cc ```@glaubitz``` cc ```@BKPepe``` r? workingjubilee ```@rustbot``` label +O-PowerPC
2 parents 56f0a60 + 649c0ff commit 38b4820

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed
 

‎src/doc/rustc/src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
- [mipsisa\*r6\*-unknown-linux-gnu\*](platform-support/mips-release-6.md)
7070
- [nvptx64-nvidia-cuda](platform-support/nvptx64-nvidia-cuda.md)
7171
- [powerpc-unknown-openbsd](platform-support/powerpc-unknown-openbsd.md)
72+
- [powerpc-unknown-linux-gnuspe](platform-support/powerpc-unknown-linux-gnuspe.md)
7273
- [powerpc-unknown-linux-muslspe](platform-support/powerpc-unknown-linux-muslspe.md)
7374
- [powerpc64-ibm-aix](platform-support/aix.md)
7475
- [powerpc64le-unknown-linux-musl](platform-support/powerpc64le-unknown-linux-musl.md)

‎src/doc/rustc/src/platform-support.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ target | std | host | notes
348348
[`mipsisa64r6el-unknown-linux-gnuabi64`](platform-support/mips-release-6.md) | ✓ | ✓ | 64-bit MIPS Release 6 Little Endian
349349
`msp430-none-elf` | * | | 16-bit MSP430 microcontrollers
350350
[`powerpc-unknown-freebsd`](platform-support/freebsd.md) | ? | | PowerPC FreeBSD
351-
`powerpc-unknown-linux-gnuspe` | ✓ | | PowerPC SPE Linux
351+
[`powerpc-unknown-linux-gnuspe`](platform-support/powerpc-unknown-linux-gnuspe.md) | ✓ | | PowerPC SPE Linux
352352
`powerpc-unknown-linux-musl` | ? | | PowerPC Linux with musl 1.2.3
353-
[`powerpc-unknown-linux-muslspe`](platform-support/powerpc-unknown-linux-muslspe.md) | ? | | PowerPC SPE Linux
353+
[`powerpc-unknown-linux-muslspe`](platform-support/powerpc-unknown-linux-muslspe.md) | ? | | PowerPC SPE Linux with musl 1.2.3
354354
[`powerpc-unknown-netbsd`](platform-support/netbsd.md) | ✓ | ✓ | NetBSD 32-bit powerpc systems
355355
[`powerpc-unknown-openbsd`](platform-support/powerpc-unknown-openbsd.md) | * | |
356356
[`powerpc-wrs-vxworks`](platform-support/vxworks.md) | ✓ | |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# powerpc-unknown-linux-gnuspe
2+
3+
**Tier: 3**
4+
5+
`powerpc-unknown-linux-gnuspe` is a target for Linux on 32-bit PowerPC
6+
processors that implement the Signal Processing Engine (SPE), such as e500, and
7+
uses a different ABI than standard `powerpc-unknown-linux-gnu`.
8+
When building for other 32-bit PowerPC processors, use
9+
`powerpc-unknown-linux-gnu` instead.
10+
11+
See also [Debian Wiki](https://wiki.debian.org/PowerPCSPEPort) for details on
12+
this platform, and [ABI reference](https://web.archive.org/web/20120608163804/https://www.power.org/resources/downloads/Power-Arch-32-bit-ABI-supp-1.0-Unified.pdf)
13+
for details on SPE ABI.
14+
15+
Note that support for PowerPC SPE by GCC was [removed in GCC 9](https://gcc.gnu.org/gcc-8/changes.html),
16+
so recent GCC cannot be used as linker/compiler for this target.
17+
18+
## Target maintainers
19+
20+
There are currently no formally documented target maintainers.

‎src/doc/rustc/src/platform-support/powerpc-unknown-linux-muslspe.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
**Tier: 3**
44

5-
This target is very similar to already existing ones like `powerpc_unknown_linux_musl` and `powerpc_unknown_linux_gnuspe`.
5+
This target is very similar to already existing ones like `powerpc-unknown-linux-musl` and `powerpc-unknown-linux-gnuspe`.
66
This one has PowerPC SPE support for musl. Unfortunately, the last supported gcc version with PowerPC SPE is 8.4.0.
77

8+
See also [platform support documentation of `powerpc-unknown-linux-gnuspe`](powerpc-unknown-linux-gnuspe.md) for information about PowerPC SPE.
9+
810
## Target maintainers
911

1012
- [@BKPepe](https://github.com/BKPepe)

0 commit comments

Comments
 (0)
Failed to load comments.