This is the mail archive of the gcc-bugs@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]

[Bug target/14852] gcc ignore the register allocation order REG_ALLOC_ORDER


------- Additional Comments From raja at rrap-software dot com  2004-04-06 08:27 -------
Subject: Re:  gcc ignore the register allocation order
 REG_ALLOC_ORDER

> If certain instructions cannot be applied to certain registers, you
> need to express that with constraints in the machine description, not
> with REG_ALLOC_ORDER.
> 
> zw

I did express that with constraints in the machine description. but,
I was getting the following error

950922-1.c:68: error: insn does not satisfy its constraints:
(insn 846 845 231 25 (nil) (set (reg:SI 16 I0)
(plus:SI (reg:SI 16 I0)
(const_int -20 [0xffffffec]))) 46 {*bfin.md:870} (nil)
(expr_list:REG_EQUIV (plus:SI (reg/f:SI 15 FP)
(const_int -20 [0xffffffec]))
(nil)))
950922-1.c:68: internal compiler error: in reload_cse_simplify_operands, at reload1.c:8345


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14852


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