Jim Wilson wrote:
Dobes wrote:
I am working on a port to an architecture with some strict rules. The
restriction that I am unable to figure out how to enforce is a base
register
that is allowed in the destination operand, but not in a source operand.
GCC does not provide any way in the old
Dobes wrote:
I am working on a port to an architecture with some strict rules. The
restriction that I am unable to figure out how to enforce is a base register
that is allowed in the destination operand, but not in a source operand.
GCC does not provide any way in the old GO_IF_LEGITIMATE_ADD
Thanks. I thought that if I just try to disallow this in the operand
predicates/constraints in my define_insn patterns, I would end up
getting an unrecognizable instruction error. I will try that and see
what happens.
Brice
On Jun 29, 2009, at 5:11 PM, Ian Lance Taylor wrote:
Dobes wr
Dobes writes:
> I am working on a port to an architecture with some strict rules. The
> restriction that I am unable to figure out how to enforce is a base register
> that is allowed in the destination operand, but not in a source operand.
> For example, this would be allowed "add 4($1), $8, $9
that I could
look at? Thanks.
--
View this message in context:
http://www.nabble.com/Base-register-restrictions-tp24259346p24259346.html
Sent from the gcc - Dev mailing list archive at Nabble.com.