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/risc-v-built-in-functions.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 devdocs/gcc~13/risc-v-built-in-functions.html (limited to 'devdocs/gcc~13/risc-v-built-in-functions.html') diff --git a/devdocs/gcc~13/risc-v-built-in-functions.html b/devdocs/gcc~13/risc-v-built-in-functions.html new file mode 100644 index 00000000..a3ddc773 --- /dev/null +++ b/devdocs/gcc~13/risc-v-built-in-functions.html @@ -0,0 +1,12 @@ +

6.60.28 RISC-V Built-in Functions

These built-in functions are available for the RISC-V family of processors.

+Built-in Function: void * __builtin_thread_pointer (void) +

Returns the value that is currently set in the ‘tp’ register.

+
+Built-in Function: void __builtin_riscv_pause (void) +

Generates the pause (hint) machine instruction. This implies the Xgnuzihintpausestate extension, which redefines the pause instruction to change architectural state.

+
+

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

+
-- cgit v1.2.3