<div dir="ltr">Thank you Kit.<div><br></div><div><div>[VADDPS]</div><div>(Ch_Wop3, Ch_Rop2, Ch_Rop1)</div><div>xmmreg,xmmreg,xmmrm \362\370\1\x58\75\120 AVX,SANDYBRIDGE</div><div>ymmreg,ymmreg,ymmrm \362\364\370\1\x58\75\120 AVX,SANDYBRIDGE</div></div><div><br></div><div>In regards to the opcode, what is the base (doesn't look hexa) for these numbers? Example:</div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>
<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">\362\364\370\</span> - are these 16 bits numbers (too big for bytes)?<br></div><div><br></div><div>x58 - is this 58 hexa?</div><div><br></div><div>As an example, </div><div>
<em style="margin:0px;padding:0px;font-style:italic;color:rgb(96,96,96);font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:13.008px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><blockquote style="font-style:normal;quotes:"" "";margin:5px 0px 15px 15px;padding:5px 10px;border:none;background-color:rgb(238,238,238)"><p style="word-wrap:break-word;margin:0px 0px 1.5em;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;font-weight:normal;color:rgb(83,87,94)">vaddps ymm0 ymm1 ymm3</p></blockquote></em></div><div>I was expecting:</div><div>
<em style="margin:0px;padding:0px;font-style:italic;color:rgb(96,96,96);font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:13.008px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><blockquote style="font-style:normal;quotes:"" "";margin:5px 0px 15px 15px;padding:5px 10px;border:none;background-color:rgb(238,238,238)"><p style="word-wrap:break-word;margin:0px 0px 1.5em;padding:0px;font-family:Arial,宋体,Tahoma,Helvetica,sans-serif;font-size:12px;font-weight:normal;color:rgb(83,87,94)">C5F458C3</p></blockquote></em></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 18, 2018 at 5:26 AM, J. Gareth Moreton <span dir="ltr"><<a href="mailto:gareth@moreton-family.com" target="_blank">gareth@moreton-family.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>The file you want is compiler/x86/x86ins.dat, which contains the syntax information for all of the x86-64 assembler commands.</div><div><br>
</div><div>A tool that's run by "make" will then generate a number of .inc files that are then referenced by the source code.</div><div><br>
</div><div>Gareth aka. Kit<br>
</div><br>
<br>
<br>
<span style="font-weight:bold">On Sun 17/06/18 20:59 , Joao Schuler <a href="mailto:jp@schulers.com" target="_blank">jp@schulers.com</a> sent:<br>
</span><blockquote style="BORDER-LEFT:#f5f5f5 2px solid;MARGIN-LEFT:5px;MARGIN-RIGHT:0px;PADDING-LEFT:5px;PADDING-RIGHT:0px"><div><div class="h5"><div dir="ltr">I can give a try to support vaddps and other instructions I need the most in AVX512. Where is the code (what file) for the above please?</div><div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jun 17, 2018 at 6:30 PM, Florian Klämpfl <span dir="ltr"><<a href="mailto:florian@freepascal.org" target="_blank">florian@freepascal.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
Am 17.06.2018 um 06:37 schrieb Joao Schuler:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I started testing the AVX512 branch:<br>
<a href="https://svn.freepascal.org/svn/fpc/branches/tg74/avx512/" rel="noreferrer" target="_blank">https://svn.freepascal.org/svn<wbr>/fpc/branches/tg74/avx512/</a><br>
<br>
This is the code:<br>
<br>
{$ASMMODE intel}<br>
asm<br>
vaddps zmm1, zmm2, zmm3<br>
end;<br>
<br>
The error message is: invalid combination of opcode and operands.<br>
<br>
The assembly code looks correct to me:<br>
<a href="http://citeseerx.ist.psu.edu/viewdoc/download;jsessionid=22E1CA82C5506AA7E639CACEB96C72AB?doi=10.1.1.697.2949&rep=rep1&type=pdf" rel="noreferrer" target="_blank">http://citeseerx.ist.psu.edu/v<wbr>iewdoc/download;jsessionid=22E<wbr>1CA82C5506AA7E639CACEB96C72AB?<wbr>doi=10.1.1.697.2949&rep=rep1&t<wbr>ype=pdf</a><br>
<br>
(look at page 19 above).<br>
<br>
I'm I doing something very wrong? <br>
</blockquote>
<br>
</span>
No, this is feature branch and work in progress. It is only useful to check out if you want to contribute to it.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Should I submit a bug report?<br>
<br>
</blockquote></span>
Only if you submit a patch with it :)<br>
______________________________<wbr>_________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/cg<wbr>i-bin/mailman/listinfo/fpc-dev<wbr>el</a><br>
</blockquote></div><br>
</div>
______________________________<wbr>_________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
</div></div><a>http://lists.freepascal.org/<wbr>cgi-bin/mailman/listinfo/fpc-<wbr>devel</a>"><span style="color:red"><a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" target="_blank">http://lists.<wbr>freepascal.org/cgi-bin/<wbr>mailman/listinfo/fpc-devel</a></span><br>
<br>
</blockquote></blockquote></div><br></div>