This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14852] gcc ignore the register allocation order REG_ALLOC_ORDER
- From: "raja at rrap-software dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2004 08:27:20 -0000
- Subject: [Bug target/14852] gcc ignore the register allocation order REG_ALLOC_ORDER
- References: <20040405143902.14852.raja@rrap-software.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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