public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3168] rs6000: Add Cell builtins
@ 2021-08-26 19:31 William Schmidt
  0 siblings, 0 replies; only message in thread
From: William Schmidt @ 2021-08-26 19:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a7f13a51990770702618d2fc3f311cd5214e130d

commit r12-3168-ga7f13a51990770702618d2fc3f311cd5214e130d
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date:   Mon Jun 7 16:09:15 2021 -0500

    rs6000: Add Cell builtins
    
    2021-06-07  Bill Schmidt  <wschmidt@linux.ibm.com>
    
    gcc/
            * config/rs6000/rs6000-builtin-new.def: Add cell stanza.

Diff:
---
 gcc/config/rs6000/rs6000-builtin-new.def | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gcc/config/rs6000/rs6000-builtin-new.def b/gcc/config/rs6000/rs6000-builtin-new.def
index 7bfe9bca298..3e732ce91e4 100644
--- a/gcc/config/rs6000/rs6000-builtin-new.def
+++ b/gcc/config/rs6000/rs6000-builtin-new.def
@@ -1106,6 +1106,33 @@
     VEC_SET_V8HI nothing {set}
 
 
+; Cell builtins.
+[cell]
+  pure vsc __builtin_altivec_lvlx (signed long, const void *);
+    LVLX altivec_lvlx {ldvec}
+
+  pure vsc __builtin_altivec_lvlxl (signed long, const void *);
+    LVLXL altivec_lvlxl {ldvec}
+
+  pure vsc __builtin_altivec_lvrx (signed long, const void *);
+    LVRX altivec_lvrx {ldvec}
+
+  pure vsc __builtin_altivec_lvrxl (signed long, const void *);
+    LVRXL altivec_lvrxl {ldvec}
+
+  void __builtin_altivec_stvlx (vsc, signed long, void *);
+    STVLX altivec_stvlx {stvec}
+
+  void __builtin_altivec_stvlxl (vsc, signed long, void *);
+    STVLXL altivec_stvlxl {stvec}
+
+  void __builtin_altivec_stvrx (vsc, signed long, void *);
+    STVRX altivec_stvrx {stvec}
+
+  void __builtin_altivec_stvrxl (vsc, signed long, void *);
+    STVRXL altivec_stvrxl {stvec}
+
+
 ; VSX builtins.
 [vsx]
   pure vd __builtin_altivec_lvx_v2df (signed long, const void *);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-26 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 19:31 [gcc r12-3168] rs6000: Add Cell builtins William Schmidt

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).