Re: [PATCH] Fix various arithmetic patterns with %[abcd]h destination (PR target/82524)

2017-10-13 Thread Uros Bizjak
On Thu, Oct 12, 2017 at 9:49 PM, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, there are two bugs in these. One is that > the zero_extract destination is effectively another input operand (for the > remaining bits that are unchanged) and thus the constraint can't be

[PATCH] Fix various arithmetic patterns with %[abcd]h destination (PR target/82524)

2017-10-12 Thread Jakub Jelinek
Hi! As mentioned in the PR, there are two bugs in these. One is that the zero_extract destination is effectively another input operand (for the remaining bits that are unchanged) and thus the constraint can't be =Q, but has to be +Q. And the other problem is that then LRA ICEs whenever it has 3