gcc: NDS32 Options
1
1 3.18.31 NDS32 Options
1 ---------------------
1
1 These options are defined for NDS32 implementations:
1
1 '-mbig-endian'
1 Generate code in big-endian mode.
1
1 '-mlittle-endian'
1 Generate code in little-endian mode.
1
1 '-mreduced-regs'
1 Use reduced-set registers for register allocation.
1
1 '-mfull-regs'
1 Use full-set registers for register allocation.
1
1 '-mcmov'
1 Generate conditional move instructions.
1
1 '-mno-cmov'
1 Do not generate conditional move instructions.
1
1 '-mext-perf'
1 Generate performance extension instructions.
1
1 '-mno-ext-perf'
1 Do not generate performance extension instructions.
1
1 '-mext-perf2'
1 Generate performance extension 2 instructions.
1
1 '-mno-ext-perf2'
1 Do not generate performance extension 2 instructions.
1
1 '-mext-string'
1 Generate string extension instructions.
1
1 '-mno-ext-string'
1 Do not generate string extension instructions.
1
1 '-mv3push'
1 Generate v3 push25/pop25 instructions.
1
1 '-mno-v3push'
1 Do not generate v3 push25/pop25 instructions.
1
1 '-m16-bit'
1 Generate 16-bit instructions.
1
1 '-mno-16-bit'
1 Do not generate 16-bit instructions.
1
1 '-misr-vector-size=NUM'
1 Specify the size of each interrupt vector, which must be 4 or 16.
1
1 '-mcache-block-size=NUM'
1 Specify the size of each cache block, which must be a power of 2
1 between 4 and 512.
1
1 '-march=ARCH'
1 Specify the name of the target architecture.
1
1 '-mcmodel=CODE-MODEL'
1 Set the code model to one of
1 'small'
1 All the data and read-only data segments must be within 512KB
1 addressing space. The text segment must be within 16MB
1 addressing space.
1 'medium'
1 The data segment must be within 512KB while the read-only data
1 segment can be within 4GB addressing space. The text segment
1 should be still within 16MB addressing space.
1 'large'
1 All the text and data segments can be within 4GB addressing
1 space.
1
1 '-mctor-dtor'
1 Enable constructor/destructor feature.
1
1 '-mrelax'
1 Guide linker to relax instructions.
1