This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]