These built-in functions are available for the NDS32 target:
Insert an ISYNC instruction into the instruction stream where addr is an instruction address for serialization.
Insert an ISB instruction into the instruction stream.
Return the content of a system register which is mapped by sr.
Return the content of a user space register which is mapped by usr.
Move the value to a system register which is mapped by sr.
Move the value to a user space register which is mapped by usr.
Enable global interrupt.
Disable global interrupt.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/NDS32-Built_002din-Functions.html