<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">I think it's fair to wonder what makes it is so large, why MacOS seems to get different results, and whether it is possible to construct an example less than 1 MB.<br>
</blockquote>
<br>My experience with trying to make the smallest JIT possible resulted in something that was around 1.3MB on Windows, using VC++ to compile, optimizing for size, and linking with /OPT:REF,ICF. This JIT did *no optimization at all* - pulling in something like instcombine tripled the size if I recall correctly. It's possible I missed opportunities for making it smaller, but when I asked on the list I got no further suggestions for improving on this.<br>
<br>I don't know how feasible it would be to refactor the existing code to get something significantly smaller that actually performed some optimization as well.<br><br>Mark<br><br>