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
Doug Kwan (Ãö®¶¼w) wrote:
> Okay. I will try generating instruction sequence directly. However,
> we may still want to optimize libgcc because the current generated
> code is horrible.
Agreed. For -Os, it will probably be better to make the call, even for
a 6-instruction sequence, and there's no reason to have the call go to
big, slow code. You might look at defining __umulsidi3 for ARM, as it
looks like lots of other architectures have asm implementations that
might be a lot more efficient than the default.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713