Visual studio "optimization' wtf
#1
I was wondering why generation was slow. Then I looked at the code that VS is generating for the hottest function in our code, cNoise::IntNoise3D(). And I could only wonder: WTF??? Such code in a release build?
[Image: vs_optimization.png]
Aren't we doing something wrong if this is the "optimized" code? I've always thought compilers were better than this.
I wonder how gcc is doing in this function, any *nix geeks out there who could help dig the asm listing of that function out of gcc or gdb?
Reply
Thanks given by:


Messages In This Thread
Visual studio "optimization' wtf - by xoft - 07-04-2012, 05:55 AM
RE: Visual studio "optimization' wtf - by xoft - 07-04-2012, 05:41 PM
RE: Visual studio "optimization' wtf - by xoft - 07-05-2012, 12:49 AM
RE: Visual studio "optimization' wtf - by xoft - 07-05-2012, 10:27 PM
RE: Visual studio "optimization' wtf - by xoft - 07-28-2012, 09:18 PM
RE: Visual studio "optimization' wtf - by xoft - 07-29-2012, 12:57 AM



Users browsing this thread: 2 Guest(s)