-march=
archname-mcpu=
cpuname-EL
-mlittle-endian
-EB
-mbig-endian
-fpic
-pic
-mljump
-mno-ljump
jbf
, jbt
, and jbr
to jmpi
.
This option is for V2 processors only.
It is ignored on CK801 and CK802 targets, which do not support the jmpi
instruction, and is enabled by default for other processors.
-mbranch-stub
-mno-branch-stub
R_CKCORE_PCREL_IMM26BY2
relocations for bsr
instructions to the linker.
This option is only available for bare-metal C-SKY V2 ELF targets, where it is enabled by default. It cannot be used in code that will be dynamically linked against shared libraries.
-force2bsr
-mforce2bsr
-no-force2bsr
-mno-force2bsr
jbsr
instructions to bsr
.
This option is always enabled (and -mno-force2bsr is ignored)
for CK801/CK802 targets. It is also always enabled when
-mbranch-stub is in effect.
-jsri2bsr
-mjsri2bsr
-no-jsri2bsr
-mno-jsri2bsr
jsri
instructions to bsr
.
This option is enabled by default.
-mnolrw
-mno-lrw
lrw
instructions into a
movih
/ori
pair.
-melrw
-mno-elrw
lrw
instructions.
This option is enabled by default for CK800-series processors.
-mlaf
-mliterals-after-func
-mno-laf
-mno-literals-after-func
-mlabr
-mliterals-after-br
-mno-labr
-mnoliterals-after-br
-mistack
-mno-istack
The following options explicitly enable certain optional instructions.
These features are also enabled implicitly by using -mcpu=
to specify
a processor that supports it.
-mhard-float
-mmp
-mcp
-mcache
-msecurity
-mtrust
-mdsp
-medsp
-mvdsp