diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2021-08-26 20:23:17 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2021-08-26 20:23:17 -0500 |
commit | 2e64eec6719e596e7f095c977edcc63812be18a4 (patch) | |
tree | 15168717fbff84a62f8e75c381b2b27a157b389d | |
parent | 5faf7120398c9bf290758891a975da1f727d631a (diff) | |
download | gcc-2e64eec6719e596e7f095c977edcc63812be18a4.zip gcc-2e64eec6719e596e7f095c977edcc63812be18a4.tar.gz gcc-2e64eec6719e596e7f095c977edcc63812be18a4.tar.bz2 |
rs6000: Add missing unsigned info for some P10 bifs
This patch is to make prototypes of some Power10 built-in
functions consistent with what's in the documentation, as
well as the vector version. Otherwise, useless conversions
can be generated in gimple IR, and the vectorized versions
will have inconsistent types.
gcc/ChangeLog:
* config/rs6000/rs6000-call.c (builtin_function_type): Add unsigned
signedness for some Power10 bifs.
-rw-r--r-- | gcc/config/rs6000/rs6000-call.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000-call.c b/gcc/config/rs6000/rs6000-call.c index fd7f24d..3a07118 100644 --- a/gcc/config/rs6000/rs6000-call.c +++ b/gcc/config/rs6000/rs6000-call.c @@ -14823,6 +14823,11 @@ builtin_function_type (machine_mode mode_ret, machine_mode mode_arg0, case P8V_BUILTIN_ORC_V4SI_UNS: case P8V_BUILTIN_ORC_V2DI_UNS: case P8V_BUILTIN_ORC_V1TI_UNS: + case P10_BUILTIN_CFUGED: + case P10_BUILTIN_CNTLZDM: + case P10_BUILTIN_CNTTZDM: + case P10_BUILTIN_PDEPD: + case P10_BUILTIN_PEXTD: case P10V_BUILTIN_VCFUGED: case P10V_BUILTIN_VCLZDM: case P10V_BUILTIN_VCTZDM: |