From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/other-mips-built-in-functions.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 devdocs/gcc~13/other-mips-built-in-functions.html (limited to 'devdocs/gcc~13/other-mips-built-in-functions.html') diff --git a/devdocs/gcc~13/other-mips-built-in-functions.html b/devdocs/gcc~13/other-mips-built-in-functions.html new file mode 100644 index 00000000..e02604d8 --- /dev/null +++ b/devdocs/gcc~13/other-mips-built-in-functions.html @@ -0,0 +1,9 @@ +

6.60.19 Other MIPS Built-in Functions

GCC provides other MIPS-specific built-in functions:

void __builtin_mips_cache (int op, const volatile void *addr)
+

Insert a ‘cache’ instruction with operands op and addr. GCC defines the preprocessor macro ___GCC_HAVE_BUILTIN_MIPS_CACHE when this function is available.

unsigned int __builtin_mips_get_fcsr (void)
void __builtin_mips_set_fcsr (unsigned int value)
+

Get and set the contents of the floating-point control and status register (FPU control register 31). These functions are only available in hard-float code but can be called in both MIPS16 and non-MIPS16 contexts.

__builtin_mips_set_fcsr can be used to change any bit of the register except the condition codes, which GCC assumes are preserved.

+
+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Other-MIPS-Built-in-Functions.html +

+
-- cgit v1.2.3