<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 3, 2015 at 1:18 PM, Owen Anderson <span dir="ltr"><<a href="mailto:resistor@mac.com" target="_blank">resistor@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">To add on to what Danny and Krzysztof have said, this proposal doesn’t make a lot of sense to me.  You want this intrinsic to inhibit (some) optimizations, but you simultaneously want it not to have a performance impact.  Those are contradictory goals.  Worse, the proposal doesn’t specify what optimizations should/should not be allowed for this intrinsic, since apparently you want at least some applied.  Is CSE allowed? DCE?  PRE?<span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></blockquote><div><br></div><div>I apologize for the confusion. I don't think the goals are contradictory. We're talking about code the developer *specifically* doesn't want optimized away, but otherwise doesn't care about what optimization transforms are employed. So yes, I want it to inhibit some optimizations, but without otherwise having a performance impact outside of the obviously prevented optimizations. </div><div><br></div><div>PRE would be fine, as long as the expression in question doesn't make a call to this intrinsic.</div></div></div></div>