Re: Base register restrictions

2009-06-30 Thread Jeff Law
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

Re: Base register restrictions

2009-06-29 Thread Jim Wilson
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

Re: Base register restrictions

2009-06-29 Thread Brice Dobry
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

Re: Base register restrictions

2009-06-29 Thread Ian Lance Taylor
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

Base register restrictions

2009-06-29 Thread Dobes
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.