<HTML>
<div><style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>Hi Florian,</div><div><br>
</div><div>Sorry for not quite seeing where my mistake was or what was changed. Admittedly the operator order does always catch me out and I'm not certain of the ordering when there are 3 operands. Can you enlighten me so I don't mess up in future?</div><div><br>
</div><div>Gareth aka. Kit</div><div><br>
</div><div>P.S. I thought I got it right when comparing the disassembly to other sources.<br>
</div><br>
<br>
<br>
<span style="font-weight: bold;">On Sun 07/10/18 11:12 , Florian Klämpfl florian@freepascal.org sent:<br>
</span><blockquote style="BORDER-LEFT: #F5F5F5 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">Am 07.10.2018 um 02:08 schrieb J. Gareth Moreton:
<br>
<span style="color: rgb(102, 102, 102);">> Hi everyone,
</span><br>
<span style="color: rgb(102, 102, 102);">>
</span><br>
<span style="color: rgb(102, 102, 102);">> Sorry I've been away for a while - hope my infectious enthusiasm has still been contagious!
</span><br>
<span style="color: rgb(102, 102, 102);">>
</span><br>
<span style="color: rgb(102, 102, 102);">> Anyhow, I've finally managed to implement the BMI2 instructions for i386 and x86-64 over at
</span><br>
<span style="color: rgb(102, 102, 102);">> <a target="_blank" href="https://bugs.freepascal.org/view.php?id=33549. "><span style="color: red;">https://bugs.freepascal.org/view.php?id=33549. </span></a> I'm not certain if everything is truly correct since my CPU doesn't
</span><br>
<span style="color: rgb(102, 102, 102);">> actually support the instructions. I did, however, compare the disassembly of a program written in Visual C++ with that
</span><br>
<span style="color: rgb(102, 102, 102);">> of Free Pascal with the new instructions, and confirmed that they produced the same machine code. The disassembler in
</span><br>
<span style="color: rgb(102, 102, 102);">> Lazarus also now supports these instructions, so that acts as a second source of comparison too.
</span><br>
<br>
Thanks, applied (with some fixes though, operand order in x86ins.dat is Intel assembler style, except for the operands
<br>
in the change information though).
<br>
_______________________________________________
<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<br>
<a target="_blank" href="<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>"><span style="color: red;">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</span></a>
<br>
<br>
<br>
</blockquote></HTML>