From 57a1b5a39b796d52f667690774f4fc166c0a1462 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 10 Mar 2024 23:02:38 +0100 Subject: [PATCH] * fix test for i386 --- tests/test/units/cpu/tcpu1.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test/units/cpu/tcpu1.pp b/tests/test/units/cpu/tcpu1.pp index 914a6c124e..c137b2f301 100644 --- a/tests/test/units/cpu/tcpu1.pp +++ b/tests/test/units/cpu/tcpu1.pp @@ -196,6 +196,9 @@ begin end else writeln('no'); + +{$ifndef cpui386} + { makes no sense on i386, the instruction is not available in 32 bit mode } write('CMPXCHG16B support: '); if CMPXCHG16BSupport then begin @@ -210,5 +213,6 @@ begin end else writeln('no'); +{$endif cpui386} end.