Explorar o código

* real invalid instruction. SSE is support on P3 so the test failed
on my laptop because the instruction was valid :)

peter %!s(int64=24) %!d(string=hai) anos
pai
achega
28ad9617f7
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      tests/webtbs/tw1122.pp

+ 3 - 2
tests/webtbs/tw1122.pp

@@ -1,9 +1,10 @@
 {$mode objfpc}
 {$mode objfpc}
+uses sysutils;
+{$asmmode intel}
 begin
 begin
   try
   try
      asm
      asm
-        // invalid opcode, e.g. SSE instruction
-        movaps %xmm6, %xmm7
+        db 0fh,0fh,0fh,0fh
      end;
      end;
   except
   except
      halt(0);
      halt(0);