[Bug target/85181] Loading wrong source/dest registers for xviexpdp instruction with -O2 optimization
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 4 11:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85181
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
When you change the asm to
__asm__ __volatile__ ("xviexpdp %x0, %x1, %x2 " : "+wa" (vec_xt): "wa"
(vec_xa), "wa" (vec_xb));
it works as expected (%xN also is needed here with "v" constraints; that also
works).
Closing as invalid.
More information about the Gcc-bugs
mailing list