[Bug target/85048] [missed optimization] vector conversions

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 23 11:45:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85048

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Target|                            |x86_64-*-*, i?86-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-03-23
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
If there's a good specification of __builtin_convertvector it certainly makes
sense to support that in a compatible way for the generic vector extension.
It would need to be handled by tree-vect-generic.c lowering it to
VEC_PACK_* / VEC_UNPACK_* / VIEW_CONVERT (for noop) sequences.

I suppose this bug is about unoptimal code being generated currently.

If so please open an enhacement request for __builtin_convertvector.


More information about the Gcc-bugs mailing list