In the case of a record type (which already exists), "align 16" ensures
the whole thing is aligned on a 16-byte boundary, not the individual
elements. Generally it's not something to be to worried about, but in
some special cases, such alignment is important (e.g. some of the SSE
and AVX assem
Hi,
On Tue, 12 Apr 2022, J. Gareth Moreton via fpc-devel wrote:
> To complement aligned records, I'm trying out an implementation of
> aligned records. Like how you might declare an aligned record as follows:
>
> type AlignedVector = packed record
> X, Y: Double;
> end align 16;
Is this "a
Hi everyone,
To complement aligned records, I'm trying out an implementation of
aligned records. Like how you might declare an aligned record as follows:
type AlignedVector = packed record
X, Y: Double;
end align 16;
At present I've gone for the following for arrays:
type AlignedVector