public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Docs: Add doc for RISC-V vector intrinsics
@ 2023-04-18 10:16 Kito Cheng
  2023-04-18 13:29 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Kito Cheng @ 2023-04-18 10:16 UTC (permalink / raw)
  To: gcc-patches, kito.cheng, palmer, richard.guenther; +Cc: Kito Cheng

Document which version of RISC-V vector intrinsics has implemented in
GCC.

gcc/ChangeLog:

	* doc/extend.texi (Target Builtins): Add RISC-V Vector
	Intrinsics.
	(RISC-V Vector Intrinsics): Document GCC implemented which
	version of RISC-V vector intrinsics and its reference.

OK for 13?
---
 gcc/doc/extend.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 69c5ade0d62..84b44cb9916 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -14689,6 +14689,7 @@ instructions, but allow the compiler to schedule those calls.
 * PowerPC Matrix-Multiply Assist Built-in Functions::
 * PRU Built-in Functions::
 * RISC-V Built-in Functions::
+* RISC-V Vector Intrinsics::
 * RX Built-in Functions::
 * S/390 System z Built-in Functions::
 * SH Built-in Functions::
@@ -21248,6 +21249,14 @@ Xgnuzihintpausestate extension, which redefines the @code{pause} instruction to
 change architectural state.
 @enddefbuiltin
 
+@node RISC-V Vector Intrinsics
+@subsection RISC-V Vector Intrinsics
+
+GCC supports vector intrinsics as specified in version 0.11 of the RISC-V
+vector intrinsic specification, which is available at the following link:
+@uref{https://github.com/riscv-non-isa/rvv-intrinsic-doc/tree/v0.11.x}.
+All of these functions are declared in the include file @file{riscv_vector.h}.
+
 @node RX Built-in Functions
 @subsection RX Built-in Functions
 GCC supports some of the RX instructions which cannot be expressed in
-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Docs: Add doc for RISC-V vector intrinsics
  2023-04-18 10:16 [PATCH] Docs: Add doc for RISC-V vector intrinsics Kito Cheng
@ 2023-04-18 13:29 ` Jeff Law
  2023-04-18 17:48   ` Kito Cheng
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2023-04-18 13:29 UTC (permalink / raw)
  To: Kito Cheng, gcc-patches, kito.cheng, palmer, richard.guenther



On 4/18/23 04:16, Kito Cheng via Gcc-patches wrote:
> Document which version of RISC-V vector intrinsics has implemented in
> GCC.
> 
> gcc/ChangeLog:
> 
> 	* doc/extend.texi (Target Builtins): Add RISC-V Vector
> 	Intrinsics.
> 	(RISC-V Vector Intrinsics): Document GCC implemented which
> 	version of RISC-V vector intrinsics and its reference.
> 
> OK for 13?
OK for 13 and the trunk.

jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Docs: Add doc for RISC-V vector intrinsics
  2023-04-18 13:29 ` Jeff Law
@ 2023-04-18 17:48   ` Kito Cheng
  0 siblings, 0 replies; 3+ messages in thread
From: Kito Cheng @ 2023-04-18 17:48 UTC (permalink / raw)
  To: Jeff Law; +Cc: gcc-patches, kito.cheng, palmer, richard.guenther

committed to trunk and gcc 13

On Tue, Apr 18, 2023 at 9:29 PM Jeff Law <jeffreyalaw@gmail.com> wrote:
>
>
>
> On 4/18/23 04:16, Kito Cheng via Gcc-patches wrote:
> > Document which version of RISC-V vector intrinsics has implemented in
> > GCC.
> >
> > gcc/ChangeLog:
> >
> >       * doc/extend.texi (Target Builtins): Add RISC-V Vector
> >       Intrinsics.
> >       (RISC-V Vector Intrinsics): Document GCC implemented which
> >       version of RISC-V vector intrinsics and its reference.
> >
> > OK for 13?
> OK for 13 and the trunk.
>
> jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-18 17:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 10:16 [PATCH] Docs: Add doc for RISC-V vector intrinsics Kito Cheng
2023-04-18 13:29 ` Jeff Law
2023-04-18 17:48   ` Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).