planetchili / NBody-SSE-AVX

A little N-Body simulation to test out some SIMD bullshits. Can get over 10x performance boost with AVX over scalar ops.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBody-SSE-AVX

Check out Game.h, where the member var [NBodyAVX sim] can also be changed to be of type NBodySSE or just NBody. Change it to NBodySSE or NBody to see the performance differences. Frametimes (in ms) appear in a file called logfile.txt, which will be in the working folder of the exe.

About

A little N-Body simulation to test out some SIMD bullshits. Can get over 10x performance boost with AVX over scalar ops.


Languages

Language:C++ 75.3%Language:SourcePawn 12.5%Language:Assembly 9.7%Language:HLSL 1.8%Language:Batchfile 0.3%Language:PHP 0.3%Language:C 0.2%