]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: convert widen_[us]sum into convert optab [PR122069]
authorTamar Christina <tamar.christina@arm.com>
Sat, 18 Oct 2025 07:21:30 +0000 (08:21 +0100)
committerTamar Christina <tamar.christina@arm.com>
Sat, 18 Oct 2025 07:24:17 +0000 (08:24 +0100)
commitbb80fb6e9bd26f04d4654248184f93d62dc53a76
treeeb44bfdb8326d35d7a5f7e7bd3eb80f2e8ee6b29
parent8f60eb809708f3594dbe2debc6fd228a5796e15f
rs6000: convert widen_[us]sum into convert optab [PR122069]

This patch is a mechanical rewrite of the widen_[us]sum optabs from a direct to
a conversion optab.  The result of which requires the output mode to be added to
the existing patterns.

No change in functionality is expected.

gcc/ChangeLog:

PR middle-end/122069
* config/rs6000/altivec.md (widen_usum<mode>3): Rename ...
(widen_usumv4si<mode>3): ... to this.
(widen_ssumv16qi3): Rename ...
(widen_ssumv4siv16qi3): ... to this.
(widen_ssumv8hi3): Rename ...
(widen_ssumv4siv8hi3): ... to this.
gcc/config/rs6000/altivec.md