[fpc-devel] Fixes for i386/x86_64 assembler

J. Gareth Moreton gareth at moreton-family.com
Tue Jun 11 21:32:36 CEST 2019


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



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190611/4d494a99/attachment.html>


More information about the fpc-devel mailing list