fpc/tests/test/testsse2.pp
florian ef72bba537 + proper alignment directives added
git-svn-id: trunk@1564 -
2005-10-22 15:40:51 +00:00

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.