[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Problem With Call to Mulsi3

From: Sean D'Epagnier
Subject: Re: [avr-gcc-list] Problem With Call to Mulsi3
Date: Tue, 17 Feb 2009 10:05:28 -0700

I have some experimental work which has implemented mulhi3_highpart.
It is essentially a rule for gcc to use when multiplying two 16bit
integers and you only want the high 16bits.  It is also used by gcc to
generate really fast division by constants which aren't powers of 2
for 16bit integers (multiply and shift instead of divide)  Before I
added this rule, this optimization was never used.

Let me know if you would be willing to test my patch and develop its
features more and I would be glad to send you what I have.


On 2/17/09, Thomas D. Dean <address@hidden> wrote:
> On Tue, 2009-02-17 at 07:52 +0100, Joerg Wunsch wrote:
>> "Thomas D. Dean" <address@hidden> wrote:
>> Ouch.  That's most likely an unpatched GCC 4.3.0, which was known to
>> have many (sic) serious bugs for the AVR target.  Get rid of it.
> I upgraded to avr-gcc version 4.3.2 and the problem is fixed.
> Thanks,
> tomdean
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]