Next: Darwin Options, Previous: CR16 Options, Up: Submodel Options
GCC supports these options when compiling for C-SKY V2 processors.
-march=
arch-mcpu=
cpu-mbig-endian
-EB
-mlittle-endian
-EL
-mfloat-abi=
nameSpecifying `soft' causes GCC to generate output containing library calls for floating-point operations. `softfp' allows the generation of code using hardware floating-point instructions, but still uses the soft-float calling conventions. `hard' allows generation of floating-point instructions and uses FPU-specific calling conventions.
The default depends on the specific target configuration. Note that
the hard-float and soft-float ABIs are not link-compatible; you must
compile your entire program with the same ABI, and link with a
compatible set of libraries.
-mhard-float
-msoft-float
-mdouble-float
-mno-double-float
-mfdivdu
-mno-fdivdu
frecipd
, fsqrtd
, and fdivd
instructions.
This is the default except when compiling for CK803.
-mfpu=
fpu-melrw
-mno-elrw
lrw
instruction. This option defaults to on
for CK801 and off otherwise.
-mistack
-mno-istack
The -mistack option is required to handle the
interrupt
and isr
function attributes
(see C-SKY Function Attributes).
-mmp
-mcp
-mcache
-msecurity
-mtrust
-mdsp
-medsp
-mvdsp
-mdiv
-mno-div
-msmart
-mno-smart
-mhigh-registers
-mno-high-registers
-manchor
-mno-anchor
-mpushpop
-mno-pushpop
push
and pop
instructions. This option
defaults to on.
-mmultiple-stld
-mstm
-mno-multiple-stld
-mno-stm
stm
and ldm
instructions. This option
isn't supported on CK801 but is enabled by default on other processors.
-mconstpool
-mno-constpool
-mstack-size
-mno-stack-size
.stack_size
directives for each function in the assembly
output. This option defaults to off.
-mccrt
-mno-ccrt
-mbranch-cost=
nn
instructions. The default is 1.
-msched-prolog
-mno-sched-prolog
-msim