This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
reload reg
- From: Pierre Mallard <pierremallard at yahoo dot fr>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 29 Oct 2002 12:50:22 +0100 (CET)
- Subject: reload reg
Hi
Working on gcc-3.0.4 for port to a cpu (12 bits) with
int : QI. (long : HI) , ...
My problem is that I don't want any
(set (mem:HI (reg:HI x))(reg:HI x)) and
(set (reg:HI x) (mem:HI (reg:HI x))) generated
with x same REGNO reg.
This is in order to have complet control on ld and set
in mem in pipe (then I can split my instruction to be
length one).
The problem is that during the reload pass I got hard
regs from mem and from pseudo-reg reload in same
register that leads to an expression like the one seen
above.
Those expression doesn't seem to pass throw
define_expand movhi as I thought it would be but try
to match the define_insn *movhi wich doesn't take any
rtl of that type .
I have no idea then how I can make the reload pass
choose good expression taking care of the overall SET
expression.
Thanks for any help
Feel free to ask me for more info
Regards
Pierre
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com