This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: subreg vs register_operand


On Thu, Sep 12, 2002 at 10:09:56AM +0200, Pierre Mallard wrote:
> Unrecognizable insn:
> (insn 357 190 358 (set (subreg:QI (subreg:HI (reg:SI 16 r16) 0) 0)

Nested subregs are illegal.

This happened because you did this:

>    [(set (subreg:HI (match_dup 0) 0) ...

You should be using gen_lowpart instead of creating
subregs by yourself.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]