Eggenmüller Bernd schrieb:
> Hi,
> 
> I've to represent 32 bit immediates to trans late the libgcc2.
> The problem is that my assembler only can represent 16 Bit immediates.
> How can I implement a workaround for 32 Bit immediates.

libgcc is written in C, so it's likely that you have no proper support
of SImode in your compiler. If you support SImode then you must not emit
32-bit constants if the assembler cannot handle them.

For (optional) target specific functions in the (optional) assembler
part of libgcc you have to write the right instructions. If some of your
derivatives support 32-bit immediates and others do not, then you have
to generate several multilib versions of libgcc.

Georg

Reply via email to