Options for the LANai.

The following options are available for the LANai to specify the version of the chip for which code should be generated. By default, the `-m3.0 -mdual-context -mno-extra-nops -mpartword-load-warning' options are used.

-m3.0
This option is equivalent to `-mtwo-alus -mno-pc-load -mno-isr-load -mno-partword-load -mpartword-load-warning'.
-m3.1
This option is equivalent to `-m3.0'.
-m3.2
This option is equivalent to `-m3.1'.
-m4.0
This option is equivalent to `-m3.2'.
-m4.1
This option is equivalent to `-m4.0 -mpartword-load'. This options takes advantage of the LANai4.1's partword-load instructions to perform byte and short memory operations much more efficiently than for earlier versions of the LANai.
-mnops-after-branches -mno-extra-nops
The `-mnops-after-branches' option forces the compiler generate a nop to fill all delay slots, making the resulting assembly code easier to read. The `-mno-extra-nops' option causes the compiler to emit nops only when needed.
-msingle-context -mdual-context
`-msingle-context' causes code to be generated assuming that only a single LANai context will be used, allowing that context to use all 24 LANai general-purpose registers. `-mdual-context' causes code to be generated assuming that both LANai contexts will be used, causing only the lower 12 general-purpose registers to be used by the generated code.
-mpartword-load-warning -mno-partword-load-warning
Warn (or do not warn) the user if the (ineffecient) partword load workaround is used.

The following options are available but are automatically set appropriately by the `-mversion' options above. Developers outside Myricom should not use these options directly.

-mone-alu -mtwo-alus
Cause the generated code to use only one or both ALUs in the LANai.
-mpc-load -mno-pc-load
Cause the LANai to use PC loads or prevent it from doing so.
-misr-load -mno-isr-load
Allow or forbid ISR register loads directly from memory.
-mpartword-load -mno-partword-load
Allow or forbid the use of the LANai partword-load instructions.