DI mode in libgcc for 16-bit machines.

Florent DEFAY spira.inhabitant@gmail.com
Wed Apr 1 12:10:00 GMT 2009


Hi,

I am working on a new port. I have just compiled libgcc.
The target is a 16-bit machine and I realize that libgcc contains
functions for SI but not for DI.

As the machine is 16-bit and HI instructions are all implemented in
the machine descripton, I supposed
that libgcc would build SI instructions using HI ones and DI
instructions the same way.

More over, extend and zero_extend patterns are implemented in all modes.

Why are DI instructions not built in libgcc?
Is there a solution to get it done?
If not, what could/should I do ?

Thank you.

Regards.

Florent



More information about the Gcc-help mailing list