Go to the previous, next section.

AMD29K Options

These `-m' options are defined for the AMD Am29000:

-mdw
Generate code that assumes the DW bit is set, i.e., that byte and halfword operations are directly supported by the hardware. This is the default.

-mnodw
Generate code that assumes the DW bit is not set.

-mbw
Generate code that assumes the system supports byte and halfword write operations. This is the default.

-mnbw
Generate code that assumes the systems does not support byte and halfword write operations. `-mnbw' implies `-mnodw'.

-msmall
Use a small memory model that assumes that all function addresses are either within a single 256 KB segment or at an absolute address of less than 256k. This allows the call instruction to be used instead of a const, consth, calli sequence.

-mnormal
Use the normal memory model: Generate call instructions only when calling functions in the same file and calli instructions otherwise. This works if each file occupies less than 256 KB but allows the entire executable to be larger than 256 KB. This is the default.

-mlarge
Always use calli instructions. Specify this option if you expect a single file to compile into more than 256 KB of code.

-m29050
Generate code for the Am29050.

-m29000
Generate code for the Am29000. This is the default.

-mkernel-registers
Generate references to registers gr64-gr95 instead of to registers gr96-gr127. This option can be used when compiling kernel code that wants a set of global registers disjoint from that used by user-mode code.

Note that when this option is used, register names in `-f' flags must use the normal, user-mode, names.

-muser-registers
Use the normal set of global registers, gr96-gr127. This is the default.

-mstack-check
Insert a call to __msp_check after each stack adjustment. This is often used for kernel code.

Go to the previous, next section.