]> 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)
committerSegher Boessenkool <segher@kernel.crashing.org>
Thu, 17 Sep 2020 21:46:36 +0000 (21:46 +0000)
commit336b4100940a9db7825b96d450a21040ae11b7b9
tree7970c23a962d149fbd0f3dedce556683f88ea74b
parent956ef4a2144440a85b774c9bc7796d0d54b762ec
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.059015 seconds and 6 git commands to generate.