Re: SUBREG Unrecognizable RTL

2009-09-30 Thread daniel tian
Yeah. My target do have instructions support load/store HImode. And the problem is fix. I just don't understand why. Here is the information I gotta: http://gcc.gnu.org/ml/gcc/2005-01/msg00788.html. I defined a predicate function rice_memory_operand which calls the function memory operand directly

Re: SUBREG Unrecognizable RTL

2009-09-30 Thread Dave Korn
daniel tian wrote: > here are some information from the libgcc2.c.176r.greg. (BTY: the > error happened when cc1 build the libgcc2.c) > > Reloads for insn # 147 > Reload 0: reload_out (SI) = (reg/v:SI 99 [ __d0 ]) > GENERAL_REGS, RELOAD_FOR_OUTPUT (opnum = 0) > reload_out_reg: (reg/v:S

Re: SUBREG Unrecognizable RTL

2009-09-30 Thread daniel tian
here are some information from the libgcc2.c.176r.greg. (BTY: the error happened when cc1 build the libgcc2.c) Reloads for insn # 147 Reload 0: reload_out (SI) = (reg/v:SI 99 [ __d0 ]) GENERAL_REGS, RELOAD_FOR_OUTPUT (opnum = 0) reload_out_reg: (reg/v:SI 99 [ __d0 ]) reload

SUBREG Unrecognizable RTL

2009-09-30 Thread daniel tian
Hi: Yeah. You are right. Here is another RTL unrecognized. It happened after reload. (insn 749 156 147 22 (set (reg:HI 5 R5) (subreg:HI (mem/c:SI (plus:SI (reg/f:SI 15 R15) (const_int 108 [0x6c])) [19 d0+0 S4 A32]) 0)) -1 (nil)) I traced the lots of functions like: r