Bullet 2.39 released: prepare for SIMD

Open source Bullet Physics SDK release information
Post Reply
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Bullet 2.39 released: prepare for SIMD

Post 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
Post Reply