Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2019-06

Fixes for i386/x86_64 assembler

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

J. Gareth Moreton

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

Reply by email