This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] add SPU optimized math functions based on SIMD code


Patch applied.

-- Jeff J.

Patrick Mansfield wrote:
Attached is a compressed version of the patch.

-- Patrick Mansfield

On Tue, Sep 25, 2007 at 10:24:11AM -0700, Patrick Mansfield wrote:
Add SPU optimized scalar math functions for functions that are based on
the SPU SIMD math headers.

The header files of the form spu/headers/*{d2,f4}.h are imported as-is
from the SDK SIMD math source.

Scalar headers include the SIMD header, and in turn the scalar headers are
included by the .c files. For example, s_tan.c includes headers/tan.h, and
tan.h includes headers/tand2.h, and the bulk of the code is (generally) in
tand2.h.

Newlib ChangeLog:

2007-09-19 Patrick Mansfield <patmans@us.ibm.com>

	* libm/machine/spu/Makefile.am: Add new C files.
	* libm/machine/spu/Makefile.in: Regenerate.
	* libm/machine/spu/headers/acos.h: New file.
	* libm/machine/spu/headers/acosd2.h: Ditto.
	* libm/machine/spu/headers/acosf.h: Ditto.
	* libm/machine/spu/headers/acosf4.h: Ditto.
	* libm/machine/spu/headers/acosh.h: Ditto.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]