appendix contains useful information for people wanting to supply assembly
kernels. Presently, ATLAS config detects seven styles of assembler, all
using gnu's gcc/gas:
- x86-32: Classic x86 assembler (AT&T syntax)
- x86-64: Assembler for 64-bit mode of x86-64 (AT&T syntax).
- Sparc: Sparc assembler.
- OS X PowerPC: PowerPC assembly using OS X's ABI.
- Linux PowerPC: PowerPC assembly using Linux's ABI.
- HP-UX PA-RISC: PA-RISC assembly using HP-UX's commands.
- Linux PA-RISC: PA-RISC assembly using Linux's commands.
The following sections give some hints that may be helpful in writing
assembly for each of these variants. One trick to keep in mind, when
you are unsure of syntax or how to do something, is to write the code
in C, and use gcc to convert your C implementation to assembler
(gcc -S), and see how gcc does it.