Up: Code generation options   [Contents][Index]


9.9.1 Code generation target options

The following options allow the Mercury compiler to optimize the generated C code based on the characteristics of the expected target architecture. The default values of these options will be whatever is appropriate for the host architecture that the Mercury compiler was installed on, so normally there is no need to set these options manually. They might come in handy if you are cross-compiling. But even when cross-compiling, it’s probably not worth bothering to set these unless efficiency is absolutely paramount.

--have-delay-slot

(This option is not intended for general use.)
Assume that branch instructions have a delay slot.


--num-real-r-regs n

(This option is not intended for general use.)
Assume r1 up to rn are real general purpose registers.


--num-real-f-regs n

(This option is not intended for general use.)
Assume f1 up to fn are real floating point registers.


--num-real-r-temps n

(This option is not intended for general use.)
Assume that n non-float temporaries will fit into real machine registers.


--num-real-f-temps n

(This option is not intended for general use.)
Assume that n float temporaries will fit into real machine registers.