aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCarl Love <cel@linux.ibm.com>2024-07-09 13:29:31 -0400
committerCarl Love <cel@linux.ibm.com>2024-07-09 13:34:43 -0400
commitfd9fdb33ae252ec34cc33675433eb56637905257 (patch)
tree9a582524f537eced416f53b34804a38238b30328 /gcc
parentb620845fff7d38bca3b79ca9f5a5d049eba9e7f8 (diff)
downloadgcc-fd9fdb33ae252ec34cc33675433eb56637905257.zip
gcc-fd9fdb33ae252ec34cc33675433eb56637905257.tar.gz
gcc-fd9fdb33ae252ec34cc33675433eb56637905257.tar.bz2
rs6000, Remove redundant vector float/double type conversions
The following built-ins are redundant as they are covered by another overloaded built-in. __builtin_vsx_xvcvspdp covered by vec_double{e,o} __builtin_vsx_xvcvdpsp covered by vec_float{e,o} __builtin_vsx_xvcvsxwdp covered by vec_double{e,o} __builtin_vsx_xvcvuxddp_uns covered by vec_double Remove the redundant built-ins. They are not documented nor do they have test cases. gcc/ChangeLog: * config/rs6000/rs6000-builtins.def (__builtin_vsx_xvcvspdp, __builtin_vsx_xvcvdpsp, __builtin_vsx_xvcvsxwdp, __builtin_vsx_xvcvuxddp_uns): Remove.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000-builtins.def12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/config/rs6000/rs6000-builtins.def b/gcc/config/rs6000/rs6000-builtins.def
index 5f353f5..cd629c6 100644
--- a/gcc/config/rs6000/rs6000-builtins.def
+++ b/gcc/config/rs6000/rs6000-builtins.def
@@ -1679,9 +1679,6 @@
const signed int __builtin_vsx_xvcmpgtsp_p (signed int, vf, vf);
XVCMPGTSP_P vector_gt_v4sf_p {pred}
- const vf __builtin_vsx_xvcvdpsp (vd);
- XVCVDPSP vsx_xvcvdpsp {}
-
const vsll __builtin_vsx_xvcvdpsxds (vd);
XVCVDPSXDS vsx_fix_truncv2dfv2di2 {}
@@ -1694,9 +1691,6 @@
const vsll __builtin_vsx_xvcvdpuxds_scale (vd, const int);
XVCVDPUXDS_SCALE vsx_xvcvdpuxds_scale {}
- const vd __builtin_vsx_xvcvspdp (vf);
- XVCVSPDP vsx_xvcvspdp {}
-
const vsll __builtin_vsignede_v4sf (vf);
VEC_VSIGNEDE_V4SF vsignede_v4sf {}
@@ -1718,9 +1712,6 @@
const vf __builtin_vsx_xvcvsxdsp (vsll);
XVCVSXDSP vsx_xvcvsxdsp {}
- const vd __builtin_vsx_xvcvsxwdp (vsi);
- XVCVSXWDP vsx_xvcvsxwdp {}
-
const vf __builtin_vsx_xvcvsxwsp (vsi);
XVCVSXWSP vsx_floatv4siv4sf2 {}
@@ -1730,9 +1721,6 @@
const vd __builtin_vsx_xvcvuxddp_scale (vsll, const int<5>);
XVCVUXDDP_SCALE vsx_xvcvuxddp_scale {}
- const vd __builtin_vsx_xvcvuxddp_uns (vull);
- XVCVUXDDP_UNS vsx_floatunsv2div2df2 {}
-
const vf __builtin_vsx_xvcvuxdsp (vull);
XVCVUXDSP vsx_xvcvuxdsp {}