[Bug target/80376] Some vec_xxpermdi usage lead to ICE

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 10 14:13:00 GMT 2017


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

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #2 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
The vec_xxpermdi interface is incorrectly documented in the GCC docs, and that
needs to be corrected.  Where you have:

vec_xxpermdi(a, b, j)

the use of j is not permitted.  The third argument to vec_xxpermdi must be a
constant in the range [0,3].  We still should not ICE, of course, but the code
as written is not expected to work.


More information about the Gcc-bugs mailing list