Zero-initialise masked load destinations
authorAndrew Stubbs <ams@codesourcery.com>
Wed, 29 Jan 2020 16:57:02 +0000 (16:57 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 31 Jan 2020 11:12:06 +0000 (11:12 +0000)
commit95607c12363712c39345e1d97f2c1aee8025e188
tree56adf1d4dc38b20ae5966965d8c15a57fb79fbff
parent42f36563ef655db48d5fda60cd7f3eac9650dade
Zero-initialise masked load destinations

Fixes an execution failure in testcase gfortran.dg/assumed_rank_1.f90.

2020-01-30  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn-valu.md (gather<mode>_exec): Move contents ...
(mask_gather_load<mode>): ... here, and zero-initialize the
destination.
(maskload<mode>di): Zero-initialize the destination.
* config/gcn/gcn.c:
gcc/ChangeLog
gcc/config/gcn/gcn-valu.md
gcc/config/gcn/gcn.c