mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-30 11:34:39 +02:00
20 lines
291 B
ObjectPascal
20 lines
291 B
ObjectPascal
{ %CPU=i386 }
|
|
{ %version=1.1}
|
|
uses
|
|
mmx;
|
|
|
|
{ only a small test to see if it works in principal }
|
|
|
|
var
|
|
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.
|