[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load
meissner at linux dot ibm.com
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 21:56:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230
--- Comment #7 from meissner at linux dot ibm.com ---
On Sat, Jan 11, 2020 at 07:02:32AM +0000, pinskia at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230
>
> --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> Does it make sense to fold vec_extract directly into BIT_FIELD_REF in
> altivec_resolve_overloaded_builtin for constants?
> Or even in rs6000_fold_builtin ?
>
> It seems like a lot of the builtins should be fold directly to gimple versions.
Sure if somebody does the work. But note, vec_extract does support variable
element numbers.
More information about the Gcc-bugs
mailing list