Browse Source

Revert " * patch by Rika: In i386/set.inc, use “pop mem” instead of “pop reg; mov mem ← reg”, resolves #40443"

This reverts commit cf1683d14c6f6b9f981ed352b99cd53da37852a7.
florian 1 year ago
parent
commit
8fb803bba6
1 changed files with 4 additions and 2 deletions
  1. 4 2
      rtl/i386/set.inc

+ 4 - 2
rtl/i386/set.inc

@@ -111,7 +111,8 @@ asm
     sub    $4, %esi
     ja     .L4x_Loop
 
-    popl   (%ecx) { Write precalculated tail. }
+    pop    %ebx
+    mov    %ebx, (%ecx) { Write precalculated tail. }
     pop    %esi
     pop    %ebx
     ret    $4
@@ -152,7 +153,8 @@ asm
     sub    $4, %esi
     ja     .L4x_Loop
 
-    popl   (%ecx) { Write precalculated tail. }
+    pop    %ebx
+    mov    %ebx, (%ecx) { Write precalculated tail. }
     pop    %esi
     pop    %ebx
     ret    $4