Contents|Index|Previous|Next

Convex Options

The following ‘-m’ options are defined for Convex.

-mc1
Generate output for C1. The code will run on any Convex machine. The preprocessor symbol, __convex__c1__, is defined.

-mc2
Generate output for C2. Uses instructions not available on C1. Scheduling and other optimizations are chosen for max performance on C2. The preprocessor symbol, __convex_c2__, is defined.

-mc32
Generate output for C32xx. Uses instructions not available on C1. Scheduling and other optimizations are chosen for max performance on C32. The preprocessor symbol, __convex_c32__, is defined.

-mc34
Generate output for C34xx. Uses instructions not available on C1. Scheduling and other optimizations are chosen for max performance on C34. The preprocessor symbol, __convex_c34__, is defined.
-mc38
Generate output for C38xx. Uses instructions not available on C1. Scheduling and other optimizations are chosen for max performance on C38. The preprocessor symbol, __convex_c38__, is defined.

-margcount
Generate code which puts an argument count in the word preceding each argument list. This is compatible with regular CC, and a few programs may need the argument count word. GDB and other source-level debuggers do not need it; this info is in the symbol table.

-mnoargcount
Omit the argument count word. This is the default.

-mvolatile-cache
Allow volatile references to be cached. This is the default.

-mvolatile-nocache
Volatile references bypass the data cache, going all the way to memory. This is only needed for multi-processor code that does not use standard synchronization instructions. Making non-volatile references to volatile locations will not necessarily work.

-mlong32
Type long is 32 bits, the same as type int. This is the default.

-mlong64
Type long is 64 bits, the same as type long long. This option is useless, because no library support exists for it.