This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] optimizing _muldi3 for Thumb
ping^2
-Doug
2008/7/8 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
> ping
>
> 2008/7/1 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
>> Hi
>>
>> This patch adds an ARM assembly implementation for _muldi3. In
>> current gcc, thumb code calls the generic version in libgcc2.c and
>> generated code from C is not efficient. The thumb version is 53
>> instructions long. The patch implements _muldi3 in just 6 ARM
>> instructions.
>>
>> This has been tested in arm-none-eabi.
>>
>> -Doug
>>
>> 2008-07-01 Doug Kwan <dougkwan@google.com>
>>
>> * config/arm/lib1funcs.asm (muldi3): New.
>> * config/arm/t-strongarm-elf (LIB1ASFUNCS): Add _muldi3.
>> * config/arm/t-vxworks: Same.
>> * config/arm/t-pe: Same.
>> * config/arm/t-arm-elf: Same.
>> * config/arm/t-arm-coff: Same.
>> * config/arm/t-linux: Same.
>> * config/arm/t-symbian: Same.
>> * config/arm/t-wince-pe: Same.
>>
>