Exetools  

Go Back   Exetools > General > x64 OS

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-02-2011, 00:47
tHE mUTABLE
 
Posts: n/a
Could you please try the following (enable/disable global optimization at the function/macro level). I'm not sure about macro but theoretically it should definitely work.

#pragma optimize( "g", off )
// Macro goes here
#pragma optimize( "g", on )

Another option would be to enable optimization profiling, (MSVC has one of the worst optimization profiler I've ever seen!) so that you can pinpoint the specific transformation that is getting exercised by the compiler, then you can selectively disable or at least tweak that optimization accordingly which is I'm guessing it's most likely to be inlining!
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About .Net Packing and Introduction BackTangent General Discussion 10 06-12-2011 20:24


All times are GMT +8. The time now is 06:51.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )