gcc: Other MIPS Built-in Functions

1 
1 6.59.17 Other MIPS Built-in Functions
1 -------------------------------------
1 
1 GCC provides other MIPS-specific built-in functions:
1 
1 'void __builtin_mips_cache (int OP, const volatile void *ADDR)'
1      Insert a 'cache' instruction with operands OP and ADDR.  GCC
1      defines the preprocessor macro '___GCC_HAVE_BUILTIN_MIPS_CACHE'
1      when this function is available.
1 
1 'unsigned int __builtin_mips_get_fcsr (void)'
1 'void __builtin_mips_set_fcsr (unsigned int VALUE)'
1      Get and set the contents of the floating-point control and status
1      register (FPU control register 31).  These functions are only
1      available in hard-float code but can be called in both MIPS16 and
1      non-MIPS16 contexts.
1 
1      '__builtin_mips_set_fcsr' can be used to change any bit of the
1      register except the condition codes, which GCC assumes are
1      preserved.
1