gcc: NDS32 Built-in Functions
1
1 6.59.19 NDS32 Built-in Functions
1 --------------------------------
1
1 These built-in functions are available for the NDS32 target:
1
1 -- Built-in Function: void __builtin_nds32_isync (int *ADDR)
1 Insert an ISYNC instruction into the instruction stream where ADDR
1 is an instruction address for serialization.
1
1 -- Built-in Function: void __builtin_nds32_isb (void)
1 Insert an ISB instruction into the instruction stream.
1
1 -- Built-in Function: int __builtin_nds32_mfsr (int SR)
1 Return the content of a system register which is mapped by SR.
1
1 -- Built-in Function: int __builtin_nds32_mfusr (int USR)
1 Return the content of a user space register which is mapped by USR.
1
1 -- Built-in Function: void __builtin_nds32_mtsr (int VALUE, int SR)
1 Move the VALUE to a system register which is mapped by SR.
1
1 -- Built-in Function: void __builtin_nds32_mtusr (int VALUE, int USR)
1 Move the VALUE to a user space register which is mapped by USR.
1
1 -- Built-in Function: void __builtin_nds32_setgie_en (void)
1 Enable global interrupt.
1
1 -- Built-in Function: void __builtin_nds32_setgie_dis (void)
1 Disable global interrupt.
1