]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gcc/extensions-to-the-c-language-family/target-builtins/risc-v-built-in-functions.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / gcc / doc / gcc / extensions-to-the-c-language-family / target-builtins / risc-v-built-in-functions.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. _risc-v-built-in-functions:
7
8 RISC-V Built-in Functions
9 ^^^^^^^^^^^^^^^^^^^^^^^^^
10
11 These built-in functions are available for the RISC-V family of
12 processors.
13
14 .. function:: void * __builtin_thread_pointer (void)
15
16 Returns the value that is currently set in the :samp:`tp` register.