6 The SIMD math library (SIMD math lib) is a SIMDized version of the
7 C99 standard math library (libm).
12 This library is licensed under the terms in the file 'LICENSE' in
18 To install this library, run following commands:
20 - 32 bit mode PowerPC with VMX
23 $ make ARCH=ppu install
25 - 64 bit mode PowerPC with VMX
28 $ make ARCH=ppu64 install
30 - SPU (Cell Broadband Engine Synergistic Processor Unit)
33 $ make ARCH=spu install
35 The same library is created and installed for SPU regardless of
39 By default, files in the library will be placed as below:
41 - libraries (except SPU library)
43 /usr/lib/libsimdmath.a (static library)
44 /usr/lib/libsimdmath.so (shared library)
46 - headers (except SPU headers)
48 /usr/lib/simdmath.h (main header)
49 /usr/lib/simdmath/<FUNCTION>.h (header of inline version)
53 /usr/spu/lib/libsimdmath.a (static library)
54 (no shared library for SPU)
58 /usr/spu/lib/simdmath.h (main header)
59 /usr/spu/lib/simdmath/<FUNCTION>.h (header of inline version)
64 By running following command in this directory, a source tarball
65 'simdmath-<VERSION>.tar.gz' can be created:
69 You can also create RPM packages by executing the command below with
72 $ rpmbuild -tb simdmath-1.0.1.tar.gz --target=ppc
74 Three packages, simdmath, simdmath-devel and spu-simdmath-devel,
82 You must include the header simdmat.h in your source code, as
89 If you want to use inlined version of the functions, you need to
90 include simdmath/<FUNCTION>.h instead of simdmath.h:
94 #include <simdmath/sinf4.h>
96 - Linking with library
98 If you use non-inlined version of the library, you need to link
99 the library libsimdmath.a or libsimdmath.so:
103 $ gcc -o foo foo.o -lsimdmath
104 $ spu-gcc -o bar bar.o -lsimdmath
108 To obtain details about each function in this library, the
109 specification document "SIMD Math Library Specification for Cell
110 Broadband Engine Architecture" is avaiable at
111 "http://cell.scei.co.jp/".
113 Note that the name of each inlined version of function is prefixed
114 by a character '_' against the corresponding non-inlined one.
117 * Contacting the project
119 Module maintainer: Erwin Coumans
121 Feedback and patches:
122 http://www.bulletphysics.com/Bullet/phpBB2/viewforum.php?f=18
125 http://bullet.svn.sourceforge.net/viewvc/bullet/trunk/Extras/simdmathlibrary