Selaa lähdekoodia

* fix test for i386

florian 1 vuosi sitten
vanhempi
commit
57a1b5a39b
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      tests/test/units/cpu/tcpu1.pp

+ 4 - 0
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.