]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Fix vector homogeneous aggregates (PR86197)
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jun 2018 10:52:39 +0000 (10:52 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jun 2018 10:52:39 +0000 (10:52 +0000)
commitf16208f941ca85e10f794ac003514e922c68dfd6
tree0cba56082f3d32d179a5733fb852ade0d908694f
parent40fa18d60b228d03f804cd98df9752cddac4f801
rs6000: Fix vector homogeneous aggregates (PR86197)

The existing code allows only 4 vectors worth of ieee128 homogeneous
aggregates, but it should be 8.  This happens because at one spot it
is mistakenly qualified as being passed in floating point registers.

PR target/86197
* config/rs6000/rs6000.md (rs6000_discover_homogeneous_aggregate): An
ieee128 argument takes up only one (vector) register, not two (floating
point) registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261738 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c