This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
compiler/rustc_target/src/asm Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1128,6 +1128,21 @@ impl InlineAsmClobberAbi {
11281128 } ,
11291129 InlineAsmClobberAbi :: PowerPC => clobbered_regs ! {
11301130 PowerPC PowerPCInlineAsmReg {
1131+ // Refs:
1132+ // - PPC32 SysV: "3.2. Function Calling Sequence" in Power Architecture® 32-bit Application Binary Interface Supplement 1.0 - Linux® & Embedded
1133+ // https://web.archive.org/web/20120608163804/https://www.power.org/resources/downloads/Power-Arch-32-bit-ABI-supp-1.0-Unified.pdf
1134+ // - PPC64 ELFv1: "3.2. Function Calling Sequence" in 64-bit PowerPC ELF Application Binary Interface Supplement 1.9
1135+ // https://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#FUNC-CALL
1136+ // - PPC64 ELFv2: "2.2 Function Calling Sequence" in 64-Bit ELF V2 ABI Specification: Power Architecture, Revision 1.5
1137+ // https://openpowerfoundation.org/specifications/64bitelfabi/
1138+ // - AIX:
1139+ // - Register usage and conventions
1140+ // https://www.ibm.com/docs/en/aix/7.3?topic=overview-register-usage-conventions
1141+ // - Special registers in the PowerPC®
1142+ // https://www.ibm.com/docs/en/aix/7.3?topic=overview-special-registers-in-powerpc
1143+ // - AIX vector programming
1144+ // https://www.ibm.com/docs/en/aix/7.3?topic=concepts-aix-vector-programming
1145+
11311146 // r0, r3-r12
11321147 r0,
11331148 r3, r4, r5, r6, r7,
You can’t perform that action at this time.
0 commit comments