Tuesday, July 13, 2010

Efficient Vector Library with ASM and C++

This Text will show how to create a Very efficient Math vector Library for 3d Graphics Using the math preprocessor of the Intel CPU and Visual Studio C++

First I will start showing an introductory example of how to use inline intel ASM in visual C++, later on i will explain some simple vector math.

Code a simple vector class in c++, and later on i will show you how to transform each method of the class to its counter part in ASM using the Streaming SIMD Extensions (SSE) of Intel. I will explain briefly whats an XMM register and each ASM instruction that will use.

No comments: