Pinyo's Programming and Software Notes

Thursday, June 01, 2006

Optimization in VC++ .Net
(June 1, 2006)

Visual C++ .Net has options for SSE, SSE2 optimization.
To squeeze the best performance from our code, we should
  1. Compile for Pentium 4 and above (Go to C/C++ :: Optimize for Processors :: Pentium 4 and above / G7).
  2. Use enhanced instruction set (Go to C/C++ :: Code Generation :: Enable Enhanced Instruction Set :: Streaming SIMD Extension 2 (/arch:SSE2) ).
To check if our computer can make use of SSE2 or not, we can use CPU-Z.
See more info at http://pinyotech.blogspot.com/2006/06/cpu-z-june-1-2006-cpu-z-is-software.html.

0 Comments:

Post a Comment

<< Home