Can anyone link me to an example of how to use #pragma optimize("some_values_for_02", on) in order to mimic the global 02 optimization for a select few functions.
I have looked around in the msdn docs and also on SO, this is the best ive seen so far: In VC++ what is the #pragma equivalent of /O2 compiler option (optimize for speed)
That answer's link is no longer active though.
What does the syntax look like? Do I need to use multiple #pragmas to mimic the 02 optimization? The linked answer mentions trying to add #pragma intrinsic
and #pragma auto_inline
If you can point me to source in the wild that i can read as an example that could work too.
Thanks