Re: Question about an rtx expression.

2005-08-23 Thread Ian Lance Taylor
Leehod Baruch <[EMAIL PROTECTED]> writes: > Is it true that in a SET, a search for a _use_ of a register > in the LHS should be done only inside a memory address? See refers_to_regno_p for an example of a function which looks for all uses of a register. Ian

Re: Question about an rtx expression.

2005-08-23 Thread Paolo Bonzini
Leehod Baruch wrote: Hello, Is it true that in a SET, a search for a _use_ of a register in the LHS should be done only inside a memory address? Also within the second and third arguments of a ZERO_EXTRACT. And its first argument may be a MEM, in which case you should look into it. Look at

Question about an rtx expression.

2005-08-23 Thread Leehod Baruch
Hello, Is it true that in a SET, a search for a _use_ of a register in the LHS should be done only inside a memory address? Like in this SET: (set (mem:SI (plus:DI (reg:DI 159) (reg/v/f:DI 150 ))) (subreg/s:SI (reg/v:DI 142 [ j ]) 4)) -1 (nil) Registers 142, 159 and 150 are