That's good to hear.  I had to look at the issue to see what you were talking about since it was some time ago.

Gareth

On 17/02/2020 13:42, [email protected] wrote:

Hi Gareth,

i have fixed this bug in the last year (my avx512-branch) and Florian has merged my avx512-branch to trunk (23.10.2019).

Torsten

-----Original-Nachricht-----

Betreff: [fpc-devel] Fixes for i386/x86_64 assembler

Datum: 2020-02-17T10:44:57+0100

Von: "J. Gareth Moreton" <[email protected]>

An: "FPC developers' list" <[email protected]>

Hi everyone,

I made some fixes to the compiler when it comes to SSE and AVX instructions that deal with single (rather than packed) data, since it got the memory sizes wrong and assumed they were 128-bit or 256-bit instead.  Thanks to Marco for pointing out that it was single data in issue #32219 - I completely overlooked that.

Details and patches are here: https://bugs.freepascal.org/view.php?id=35700

What it means is that the following will now compile without any warnings or errors on i386 and x86_64:

ADDSD XMM0, QWORD PTR [EAX] ADDSD XMM0, [EAX] ADDSD XMM0, VarOfTypeDouble

And with other instructions of a similar format.

Gareth aka. Kit


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>



_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to