mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 21:49:24 +01:00
21 lines
321 B
ObjectPascal
21 lines
321 B
ObjectPascal
{ %OPT=-OaVARMAX=16 -OaVARMIN=16 }
|
|
{ %CPU=i386 }
|
|
uses
|
|
mmx;
|
|
|
|
{ only a small test to see if it works in principal }
|
|
|
|
var
|
|
b : byte;
|
|
q : array[0..15] of byte;
|
|
|
|
begin
|
|
if is_sse2_cpu then
|
|
asm
|
|
movdqa %xmm1,%xmm2
|
|
movdqa q,%xmm4
|
|
psubq %xmm1,%xmm2
|
|
psubq q,%xmm4
|
|
end;
|
|
end.
|