]> gcc.gnu.org Git - gcc.git/commit
rs6000: Properly handle LE index munging in vec_shr (PR94710)
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 24 Apr 2020 13:33:14 +0000 (13:33 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 18 Sep 2020 18:15:52 +0000 (20:15 +0200)
commitff635dd02ad157de312e0e5bb89bb8115bab40c8
tree247bace1f9ddc42d5e23eb9091bcac1edb3b0c55
parent16cde7299cb8b5f90c8225fdd90df9b879060d01
rs6000: Properly handle LE index munging in vec_shr (PR94710)

The PR shows the compiler crashing with -mvsx -mlittle -O0.  This turns
out to be caused by a failure to make of the higher bits in an index
endian conversion.

2020-04-24  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/94710
* config/rs6000/vector.md (vec_shr_<mode> for VEC_L): Correct little
endian byteshift_val calculation.

(cherry picked from commit 9c725245beed2f056b67f5dc218fef6cb869c5f2)
gcc/config/rs6000/vector.md
This page took 0.07227 seconds and 6 git commands to generate.