Comment 6 for bug 1856682

Revision history for this message
In , Krebbel (krebbel) wrote :

Author: krebbel
Date: Mon Dec 16 08:03:28 2019
New Revision: 279410

URL: https://gcc.gnu.org/viewcvs?rev=279410&root=gcc&view=rev
Log:
Fix PR92950: Wrong code emitted for movv1qi

The backend emits 16 bit memory loads for single element character
vector. As a result the character will not be right justified in the
GPR.

gcc/ChangeLog:

2019-12-16 Andreas Krebbel <email address hidden>

 PR target/92950
 * config/s390/vector.md ("mov<mode>" for V_8): Replace lh, lhy,
 and lhrl with llc.

gcc/testsuite/ChangeLog:

2019-12-16 Andreas Krebbel <email address hidden>

 PR target/92950
 * gcc.target/s390/vector/pr92950.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/s390/vector/pr92950.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/vector.md
    trunk/gcc/testsuite/ChangeLog