Visual studio "optimization' wtf
#3
I've got an even easier "fix": putting the 57*57*57 into parenthesis made VS emit the optimized codeTongue
Even weirder - if I pull that function out into a standalone project for testing, the optimizer works wonders - for a few calls with constants, it even replaced the calls with the constant results; in other cases, it inlined the function and optimized it much better. It seems something's wrong with our projectTongue
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: 4 Guest(s)