[patch] SPU libm

Ken Werner ken@linux.vnet.ibm.com
Thu Nov 27 05:30:00 GMT 2008


On Tuesday 25 November 2008 17:35, Ken Werner wrote:
> Hi,
>
> the SPU implementation of libm incorporates header files of the simdmath
> library. The attached patch rebases these headers against the current
> version.
>
> Ken
>
> newlib/ChangeLog:
>
> 2008-11-25  Ken Werner  <ken.werner@de.ibm.com>
>
>         * libm/machine/spu/headers/acosd2.h: Rebase against current
> simdmath. * libm/machine/spu/headers/asind2.h: Likewise.
>         * libm/machine/spu/headers/asinhf4.h: Likewise.
>         * libm/machine/spu/headers/divd2.h: Likewise.
>         * libm/machine/spu/headers/erf_utils.h: Likewise.
>         * libm/machine/spu/headers/erfcd2.h: Likewise.
>         * libm/machine/spu/headers/erfcf4.h: Likewise.
>         * libm/machine/spu/headers/erfd2.h: Likewise.
>         * libm/machine/spu/headers/lgammaf4.h: Likewise.
>         * libm/machine/spu/headers/recipd2.h: Likewise.

The posted patch reintroduces the compile problem if lgammaf4.h gets compiled 
with GCC 4.3 or higher. This was already fixed 
(http://sourceware.org/ml/newlib/2008/msg00458.html). Here is a revised 
version of the patch.

Regards
Ken

newlib/ChangeLog:

2008-11-26  Ken Werner  <ken.werner@de.ibm.com>

        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
        * libm/machine/spu/headers/asind2.h: Likewise.
        * libm/machine/spu/headers/asinhf4.h: Likewise.
        * libm/machine/spu/headers/divd2.h: Likewise.
        * libm/machine/spu/headers/erf_utils.h: Likewise.
        * libm/machine/spu/headers/erfcd2.h: Likewise.
        * libm/machine/spu/headers/erfcf4.h: Likewise.
        * libm/machine/spu/headers/erfd2.h: Likewise.
        * libm/machine/spu/headers/recipd2.h: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simdmath-3.1-1.patch
Type: text/x-diff
Size: 70482 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20081127/04bfddd4/attachment.bin>


More information about the Newlib mailing list