mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 12:49:12 +02:00
* skip test if CPU does not support SSE2 (similarly to test/tshuffle1.pp)
git-svn-id: trunk@29688 -
This commit is contained in:
parent
a7085ea34e
commit
95c0092a54
@ -11,6 +11,11 @@ var
|
|||||||
d: double;
|
d: double;
|
||||||
z: TChartZPosition;
|
z: TChartZPosition;
|
||||||
begin
|
begin
|
||||||
|
if not(has_sse2_support) then
|
||||||
|
begin
|
||||||
|
WriteLn ('CPU does not support SSE2, skipping test...');
|
||||||
|
halt(0);
|
||||||
|
end;
|
||||||
d:=5.0;
|
d:=5.0;
|
||||||
z:=3;
|
z:=3;
|
||||||
d:=d-z;
|
d:=d-z;
|
||||||
|
Loading…
Reference in New Issue
Block a user