| GNU Compiler Collection (GCC) | www.imodulo.com · 2003-11-10 | ||
| [ Software | Documentation | Contact ] |
These -m options are defined for V850 implementations:
-mlong-calls-mno-long-callsTreat all calls as being far away (near). If calls are assumed to be far away, the compiler will always load the functions address up into a register, and call indirect through the pointer.
-mno-ep-mepDo not optimize (do optimize) basic blocks that use the same index pointer 4 or more times to copy pointer into the ep register, and use the shorter sld and sst instructions. The -mep option is on by default if you optimize.
-mno-prolog-function-mprolog-functionDo not use (do use) external functions to save and restore registers at the prologue and epilogue of a function. The external functions are slower, but use less code space if more than one function saves the same number of registers. The -mprolog-function option is on by default if you optimize.
-mspaceTry to make the code as small as possible. At present, this just turns on the -mep and -mprolog-function options.
-mtda=nPut static or global variables whose size is n bytes or less into the tiny data area that register ep points to. The tiny data area can hold up to 256 bytes in total (128 bytes for byte references).
-msda=nPut static or global variables whose size is n bytes or less into the small data area that register gp points to. The small data area can hold up to 64 kilobytes.
-mzda=nPut static or global variables whose size is n bytes or less into the first 32 kilobytes of memory.
-mv850Specify that the target processor is the V850.
-mbig-switchGenerate code suitable for big switch tables. Use this option only if the assembler/linker complain about out of range branches within a switch table.
-mapp-regsThis option will cause r2 and r5 to be used in the code generated by the compiler. This setting is the default.
-mno-app-regsThis option will cause r2 and r5 to be treated as fixed registers.
-mv850eSpecify that the target processor is the V850E. The preprocessor constant __v850e__ will be defined if this option is used.
If neither -mv850 nor -mv850e are defined then a default target processor will be chosen and the relevant __v850*__ preprocessor constant will be defined.
The preprocessor constants __v850 and __v851__ are always defined, regardless of which processor variant is the target.
-mdisable-calltThis option will suppress generation of the CALLT instruction for the v850e flavors of the v850 architecture. The default is -mno-disable-callt which allows the CALLT instruction to be used.
| © Free Software Foundation, Inc. |