On 04/01/2017 10:48 AM, Andrew Jenner wrote:
In the course of working with the ia16 port, I found a case of subreg shape (I think it was a 32-bit value in one 16-bit register and two 8-bit registers) which is not currently supported by subreg_get_info but which easily could be, with the attached change.

2017-04-01  Andrew Jenner  <and...@codesourcery.com>

     * rtlanal.c (subreg_get_info): set info->nregs from hard_regno_nregs.

I really think we need a testcase for this. Or at least a very clear description of the situation. ie, what is xregno, xmode & ymode.

It's probably also useful to indicate what hard_regno_nregs is for the given xregno and ymode.

jeff

Reply via email to