[gcc(refs/users/wschmidt/heads/builtins3)] rs6000: Map to vector_pair and vector_quad type nodes

William Schmidt wschmidt@gcc.gnu.org
Tue Oct 27 16:30:14 GMT 2020


https://gcc.gnu.org/g:968f6cde9f57bf8133b309ed56e2524b5b4046a2

commit 968f6cde9f57bf8133b309ed56e2524b5b4046a2
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date:   Tue Aug 18 12:07:55 2020 -0500

    rs6000: Map to vector_pair and vector_quad type nodes
    
    2020-08-18  Bill Schmidt  <wschmidt@linux.ibm.com>
    
            * rs6000-gen-builtin.c (TYPE_MAP_SIZE): Adjust.
            (type_map): Add entries.

Diff:
---
 gcc/config/rs6000/rs6000-gen-builtins.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index eb75b11dbe3..75c9ed69ce5 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -439,7 +439,7 @@ struct typemap
    maps tokens from a fntype string to a tree type.  For example,
    in "si_ftype_hi" we would map "si" to "intSI_type_node" and
    map "hi" to "intHI_type_node".  */
-#define TYPE_MAP_SIZE 37
+#define TYPE_MAP_SIZE 39
 static typemap type_map[TYPE_MAP_SIZE] =
   {
     { "bv16qi",	"bool_V16QI" },
@@ -472,6 +472,8 @@ static typemap type_map[TYPE_MAP_SIZE] =
     { "uv8hi",	"unsigned_V8HI" },
     { "v",	"void" },
     { "v16qi",	"V16QI" },
+    { "v1poi",	"vector_pair" },
+    { "v1pxi",	"vector_quad" },
     { "v1ti",	"V1TI" },
     { "v2df",	"V2DF" },
     { "v2di",	"V2DI" },


More information about the Gcc-cvs mailing list