Page 1 of 1

Bullet 2.39 released: prepare for SIMD

Posted: Sat Dec 09, 2006 1:59 am
by Erwin Coumans
Bullet 2.39 is one step away from using some SIMD vector code: next version (2.40) will start using some SIMD under Win32 (optional).

- To allow proper use of SIMD, the data needs to be aligned to 16 byte boundaries. So the stl std::vector has been replaced by btAlignedObjectArray and btAlignedAllocator, while keeping the same interface.
- Projectfiles have been updated, optional quickstep and boxbox from ODE is in projectfiles (unused) and GPUphysics is included in the builds too.

If you get compilation errors related to btVector3 under Windows, make sure to pass btVector3 objects by (const) reference. If there are still problems, please let us know on this forum, and meanwhile revert btScalar.h line 36 back from:

Code: Select all

		#define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
into

Code: Select all

		#define ATTRIBUTE_ALIGNED16(a)  a
Download:
http://www.continuousphysics.com/mediaw ... e=Download

Enjoy,
Erwin