mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 05:04:05 +02:00
no message
This commit is contained in:
parent
e0f1ddbc64
commit
03de4893b0
18
tests/test/testsse2.pp
Normal file
18
tests/test/testsse2.pp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ %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 sse2_support then
|
||||||
|
asm
|
||||||
|
movdqa %xmm1,%xmm2
|
||||||
|
movdqa q,%xmm4
|
||||||
|
psubq %xmm1,%xmm2
|
||||||
|
psubq q,%xmm4
|
||||||
|
end;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user