[PATCH][ppc] Use generic mpa.c code for everything except __sqr and __mul

Ryan S. Arnold ryan.arnold@gmail.com
Wed Mar 6 18:15:00 GMT 2013


On Wed, Mar 6, 2013 at 4:12 AM, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> Ping!
>
> On Thu, Feb 28, 2013 at 11:33:58AM +0530, Siddhesh Poyarekar wrote:
>> Ping!
>>
>> On Thu, Feb 21, 2013 at 04:12:22PM +0530, Siddhesh Poyarekar wrote:
>> > Hi,
>> >
>> > Here's a patch that applies on top of all the patches I've posted so
>> > far to make the powerpc mpa.c use much of the generic mpa.c,
>> > overriding only the __mul and __sqr functions since the powerpc
>> > implementation of those functions currrently need to be different.  I
>> > have compared the generated code using objdump to verify that the
>> > generated code does not change in powerpc due to this.  The only thing
>> > that changes is the order of function definition in the binary between
>> > __dvd and __sqr.
>> >
>> > The intent of doing this is to ensure that only functions that are
>> > really necessary to be powerpc-only remain duplicated and everything
>> > else is common code.
>> >
>> > Siddhesh

This is fine.  Thanks.

Ryan



More information about the Libc-alpha mailing list