Nios II Function Attributes#
These function attributes are supported by the Nios II back end:
- target (options)#
As discussed in Common Function Attributes, this attribute allows specification of target-specific compilation options.
When compiling for Nios II, the following options are allowed:
custom-insn=Nno-custom-insnEach
custom-insn=Nattribute locally enables use of a custom instruction with encodingNwhen generating code that usesinsn. Similarly,no-custom-insnlocally inhibits use of the custom instructioninsn. These target attributes correspond to the-mcustom-insn=Nand-mno-custom-insncommand-line options, and support the same set ofinsnkeywords. See Nios II Options, for more information.custom-fpu-cfg=nameThis attribute corresponds to the
-mcustom-fpu-cfg=namecommand-line option, to select a predefined set of custom instructions namedname. See Nios II Options, for more information.