<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Most “modern” compilers generate truly terrible code if optimization is
turned off, and rely on the optimizers to clean it up.</DIV>
<DIV> </DIV>
<DIV>I can’t remember now who wrote it, but Wirth’s compilers demonstrated
pretty solidly that it was a lot easier, all around, to generate good code in
the first place. This reduced the ability of the optimizer to “improve”
it, but the final code was frequently better than what was produced by the
“modern” “production quality” compilers. (The piece mentioned that only
IBM’s RS-6000 compiler did better than Wirth’s Oberon compilers.)</DIV>
<DIV> </DIV>
<DIV>The ARM instruction set is somewhat of a mess. (It isn’t nearly as
bad as the x86, but still...)</DIV>
<DIV> </DIV>
<DIV>--John R. Strohm</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=jan.de.kruyf@gmail.com
href="mailto:jan.de.kruyf@gmail.com">Jan de Kruyf</A> </DIV>
<DIV><B>Sent:</B> Wednesday, November 18, 2015 4:29 AM</DIV>
<DIV><B>To:</B> <A title=oberon@lists.inf.ethz.ch
href="mailto:oberon@lists.inf.ethz.ch">ETH Oberon and related systems</A> </DIV>
<DIV><B>Subject:</B> Re: [Oberon] Numerical CASE Statements in Project
Oberon</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>I just picked up something else in the ADA best practice:
<DIV> </DIV>
<DIV>"Use a sequence of assignments for an aggregation when measured performance
indicates."<BR></DIV>
<DIV> </DIV>
<DIV>And I remember now looking at ARM machine code produced by the Ada
compiler: The mess produced was quite drastic.</DIV>
<DIV> </DIV>
<DIV>j.</DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="https://www.avast.com/antivirus">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email has been checked for viruses by Avast antivirus software.
<br><a href="https://www.avast.com/antivirus">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</BODY></HTML>