[Bug c/93819] PPC64 builtin vec_rlnm() argument order is wrong.

2020-02-18 Thread cel at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93819 --- Comment #2 from Carl Love --- With the attached patch, the test program now runs as follows: ABI says: VEC_RLNM (ARG1, ARG2, ARG3) ARG2 contains the shift count for each element in the low-order byte, with other bytes zero. ARG3 contains

[Bug c/93819] PPC64 builtin vec_rlnm() argument order is wrong.

2020-02-18 Thread cel at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93819 --- Comment #1 from Carl Love --- Created attachment 47873 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47873=edit Patch to fix vec_vrlnm() functionality The issue with the vec_rlnm() builtin is the order of the arguments in the builtin