summaryrefslogtreecommitdiff
path: root/asmcomp/power/NOTES.md
blob: d54c08691c16e42d3a0f5bea99a3513844b377b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Supported platforms

IBM POWER and Freescale (nee Motorola) PowerPC processors, in three flavors:
* 32 bits, ELF ABI: Debian's `powerpc`
* 64 bits big-endian, ELF ABI v1: Debian's `powerpc`
* 64 bits little-endian, ELF ABI v2: Debian's `ppc64el`

No longer supported: AIX and MacOS X.

# Reference documents

* Instruction set architecture:
  _PowerPC User Instruction Set Architecture_,
  book 1 of _PowerPC Architecture Book_
  (http://www.ibm.com/developerworks/systems/library/es-archguide-v2.html).
* ELF ABI 32 bits:
  _System V Application Binary Interface, PowerPC Processor Supplement_
* ELF ABI 64 bits version 1:
  _64-bit PowerPC ELF Application Binary Interface Supplement_
  (http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html)
* ELF ABI 64 bits version 2:
   _Power Architecture 64-bit ELF V2 ABI Specification,
    OpenPOWER ABI for Linux Supplement_
  (http://openpowerfoundation.org/technical/technical-resources/technical-specifications/)
* _The PowerPC Compiler Writer's Guide_, Warthman Associates, 1996.
  (PDF available from various sources on the Web.)