Browse Source

* test fixed for i386

git-svn-id: trunk@43193 -
florian 5 years ago
parent
commit
e02321029f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      tests/webtbs/tw35953.pp

+ 5 - 1
tests/webtbs/tw35953.pp

@@ -5,9 +5,13 @@
 function f: longint; assembler;
 asm
   mov ecx, ebx {shift by initial common exponent e}
+{$ifdef cpui386}  
+  vaddpd              XMM0 {k1} {z}, XMM0, [EAX + EDI + $10] {1to2}
+{$else cpui386}
   vaddpd              XMM0 {k1} {z}, XMM0, [RAX + RDI + $10] {1to2}
+{$endif cpui386}
 end;
 
 
 begin
-end.
+end.