6.58.17. NDS32 Built-in Functions

6.58.17 NDS32 Built-in Functions

These built-in functions are available for the NDS32 target:

— Built-in Function: void __builtin_nds32_isync (int *addr)

Insert an ISYNC instruction into the instruction stream where addr is an instruction address for serialization.

— Built-in Function: void __builtin_nds32_isb (void)

Insert an ISB instruction into the instruction stream.

— Built-in Function: int __builtin_nds32_mfsr (int sr)

Return the content of a system register which is mapped by sr.

— Built-in Function: int __builtin_nds32_mfusr (int usr)

Return the content of a user space register which is mapped by usr<