Re: Addressing modes question

2006-07-07 Thread Rask Ingemann Lambertsen
On Thu, Jul 06, 2006 at 02:23:24PM -0700, Matt Lee wrote: > Hi, > > Is it possible for me to write a backend that accepts certain > addressing modes for loads, while rejecting them for stores? I am not > sure how to do this with the GO_IF_LEGITIMATE_ADDRESS macro. I know > that this is not very sa

Re: Addressing modes question

2006-07-06 Thread Jeffrey Law
On Thu, 2006-07-06 at 15:08 -0700, Ian Lance Taylor wrote: > "Matt Lee" <[EMAIL PROTECTED]> writes: > > > Is it possible for me to write a backend that accepts certain > > addressing modes for loads, while rejecting them for stores? I am not > > sure how to do this with the GO_IF_LEGITIMATE_ADDRES

Re: Addressing modes question

2006-07-06 Thread Ian Lance Taylor
"Matt Lee" <[EMAIL PROTECTED]> writes: > Is it possible for me to write a backend that accepts certain > addressing modes for loads, while rejecting them for stores? I am not > sure how to do this with the GO_IF_LEGITIMATE_ADDRESS macro. I know > that this is not very sane, but the situation has a

Addressing modes question

2006-07-06 Thread Matt Lee
Hi, Is it possible for me to write a backend that accepts certain addressing modes for loads, while rejecting them for stores? I am not sure how to do this with the GO_IF_LEGITIMATE_ADDRESS macro. I know that this is not very sane, but the situation has arisen neverthless. I want to allow only in