On 02/03/2016 04:56 AM, Richard Sandiford wrote:
gcc/
PR rtl-optimization/69577
* reginfo.c (record_subregs_of_mode): Add a partial_def parameter.
(find_subregs_of_mode): Update accordingly. Iterate over partial
definitions.
gcc/testsuite/
PR rtl-optimiz
Richard Sandiford writes:
> Uros Bizjak writes:
>> On Tue, Feb 2, 2016 at 5:54 PM, Kyrill Tkachov
>> wrote:
>>> Hi Richard,
>>>
>>>
>>> On 02/02/16 14:56, Richard Sandiford wrote:
In PR 69577 we have:
A: (set (reg:V2TI X) ...)
B: (set (subreg:TI (reg:V2TI X) 0) ...
[Resending without disclaimer, sorry]
Uros Bizjak writes:
> On Tue, Feb 2, 2016 at 5:54 PM, Kyrill Tkachov
> wrote:
>> Hi Richard,
>>
>>
>> On 02/02/16 14:56, Richard Sandiford wrote:
>>>
>>> In PR 69577 we have:
>>>
>>>A: (set (reg:V2TI X) ...)
>>>B: (set (subreg:TI (reg:V2TI X) 0) ...)
On Tue, Feb 2, 2016 at 5:54 PM, Kyrill Tkachov
wrote:
> Hi Richard,
>
>
> On 02/02/16 14:56, Richard Sandiford wrote:
>>
>> In PR 69577 we have:
>>
>>A: (set (reg:V2TI X) ...)
>>B: (set (subreg:TI (reg:V2TI X) 0) ...)
>>
>> X gets allocated to an AVX register, as usual for V2TI. The probl
Hi Richard,
On 02/02/16 14:56, Richard Sandiford wrote:
In PR 69577 we have:
A: (set (reg:V2TI X) ...)
B: (set (subreg:TI (reg:V2TI X) 0) ...)
X gets allocated to an AVX register, as usual for V2TI. The problem is
that the movti for B doesn't then preserve the other half of X, even
thou