RE: postreload problem using reload_inm and SECONDARY_RELOAD macros

2011-09-15 Thread BELBACHIR Selim
further hints : The immediate which gcc wants to move in R_REGS is a (const_int 8) as described in the error message below : arithmetic.c:197: error: insn does not satisfy its constraints: (insn 1505 903 1506 0 (set (reg:SI 25 $R9) (const_int 8 [0x8])) 0 {movsi_in

RE: postreload problem using reload_inm and SECONDARY_RELOAD macros

2011-09-14 Thread BELBACHIR Selim
CHIR Selim Cc : gcc@gcc.gnu.org Objet : Re: postreload problem using reload_inm and SECONDARY_RELOAD macros BELBACHIR Selim writes: > I'm writing a backend for gcc3.4.6 and I'm a bit confused about reload passes. You know gcc 3.4.6 is really old, right? > I have no mean to exp

Re: postreload problem using reload_inm and SECONDARY_RELOAD macros

2011-09-14 Thread Ian Lance Taylor
BELBACHIR Selim writes: > I'm writing a backend for gcc3.4.6 and I'm a bit confused about reload passes. You know gcc 3.4.6 is really old, right? > I have no mean to express this limitation inside predicates (because > pseudo register don't known in which hard register they will be > allocated)

postreload problem using reload_inm and SECONDARY_RELOAD macros

2011-09-14 Thread BELBACHIR Selim
Hi, I'm writing a backend for gcc3.4.6 and I'm a bit confused about reload passes. -> my constraints : 'b' = arithmetic/logical unit register ($R, class R_REGS) 'c' = counter register ($C, class C_REGS) 'v' = memory with several special constraint (also described in predicate my_mem_or_reg_op