<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Courier New" size="2"><span style="font-size:11pt;">
<div>I'm working on the #pragma STDC FENV_ACCESS ON support, specifically</div>
<div>the support for a strict version of the FP to unsigned int conversion.</div>
<div><font face="Calibri"> </font></div>
<div>I've got a pass that runs and converts a new intrinsic into code that </div>
<div>uses the FP to signed int conversion code similar to how SelectionDAG</div>
<div>handles this now. Except that SelectionDAG will let the target handle</div>
<div>it if the target says it will.</div>
<div> </div>
<div>How do I, from an "optimization" pass, query the target to see if it</div>
<div>already has a better way of handling exactly this case? I grepped around</div>
<div>and I didn't see anything in a pass that looked like what I need.</div>
<div> </div>
<div>Oh, and the reason I did this as a pass is because I need to add branches,</div>
<div>which means splitting basic blocks. I don't think I can do this in</div>
<div>SelectionDAG.</div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri" size="2"><span style="font-size:10pt;">--<font size="2"><span style="font-size:11pt;">
<br>

</span></font><font face="Courier New">Kevin P. Neal<br>

</font><font face="Courier New">SAS/C and SAS/C++ Compiler</font></span></font></div>
<div><font size="2"><span style="font-size:10pt;">Host Research and Development</span></font></div>
<div><font size="2"><span style="font-size:10pt;">SAS Institute, Inc.</span></font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
</span></font>
</body>
</html>