<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
The -Ddouble=long hack might very well cause problems with standard headers.
<div class=""><br class="">
</div>
<div class="">I’m assuming you are not talking about x86 or any other platform for which there is assembly support.</div>
<div class=""><br class="">
</div>
<div class="">In such a case, I suggest #ifdef’ing out the code that you don’t care about, and making it into a configuration option, the submitting a patch for it.</div>
<div class="">There may be some use for this configuration, especially on low-power IoT-type things.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">--</div>
<div class="">-Todd Short</div>
<div class="">// <a href="mailto:tshort@akamai.com" class="">tshort@akamai.com</a></div>
<div class="">// "One if by land, two if by sea, three if by the Internet."</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Aug 10, 2016, at 11:52 AM, Jakob Bohm <<a href="mailto:jb-openssl@wisemo.com" class="">jb-openssl@wisemo.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">(Top posting for consistency in this part of the thread)<br class="">
<br class="">
Note, however that emulated floating point tends to add code<br class="">
size and startup overhead even when not called.<br class="">
<br class="">
Hence the need to compile with an option to not use floating<br class="">
point at all, at least on platforms that don't have platform-<br class="">
specific optimizations via hardware floating point (such as<br class="">
the SSE optimizations for some operations on x86 or the VFP<br class="">
optimizations on later ARM hardware types).<br class="">
<br class="">
Rich suggested a "hackish" preprocessor trick, which depends<br class="">
on no current or future OpenSSL code using floating point in<br class="">
a way that is seriously broken by that trick.<br class="">
<br class="">
On 10/08/2016 16:51, Kyle Hamilton wrote:<br class="">
<blockquote type="cite" class="">This is compiler-dependent, and because you didn't specify what platform you're targeting or what compiler you're using, there's no way for us to provide an answer. Check your compiler's documentation.  GCC, for example, provides
 software-emulated floating point for platforms without hardware support.  Many other open-source and commercial compilers do as well.<br class="">
<br class="">
On Wed, Aug 10, 2016 at 6:26 AM, Kenneth Goldman <<a href="mailto:kgoldman@us.ibm.com" class="">kgoldman@us.ibm.com</a> <<a href="mailto:kgoldman@us.ibm.com" class="">mailto:kgoldman@us.ibm.com</a>>>wrote:<br class="">
<br class="">
   We have a platform that does not support floating point<br class="">
   operations.  We discovered that openssl uses floating point in the<br class="">
   random number generator.<br class="">
<br class="">
   Is there any build or compile time flag that uses an alternative<br class="">
   to floating point?<br class="">
<br class="">
</blockquote>
<br class="">
Enjoy<br class="">
<br class="">
Jakob<br class="">
-- <br class="">
Jakob Bohm, CIO, Partner, WiseMo A/S.  <a href="https://www.wisemo.com" class="">https://www.wisemo.com</a><br class="">
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10<br class="">
This public discussion message is non-binding and may contain errors.<br class="">
WiseMo - Remote Service Management for PCs, Phones and Embedded<br class="">
<br class="">
-- <br class="">
openssl-users mailing list<br class="">
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" class="">
https://mta.openssl.org/mailman/listinfo/openssl-users</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>