This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
splitting addhi, addsi
- From: Pierre Mallard <pierremallard at yahoo dot fr>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 21 Oct 2002 09:56:14 +0200 (CEST)
- Subject: splitting addhi, addsi
Hi,
I'm working on the c compiler gcc-3.0.4 to port code
for my cpu.
In order to feel right my delay pipe of 3 slot I need
to cut every expression in code of one length
instruction.
So I need to have my addhi and addsi cut with sthg
like a define_split or things like this and I need to
take care of the carry...
I'm wondering how I can define a define_insn that do
not match the pattern of addqi and that realise the
add_with_carry instruction :
(plus:HI (reg:HI)(reg:HI))
->
(plus:QI (reg:QI)(reg:QI))
(plus_with_carry:QI (reg:QI)(reg:QI))...
Thanks,Regards
Pierre Mallard
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com