[Issue 20089] FPU stack not cleaned up properly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 27 19:00:56 UTC 2019


--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
The problem rather seems to be fun:

  0000000000000000: 55                 push        rbp
  0000000000000001: 48 8B EC           mov         rbp,rsp
  0000000000000004: 66 0F 6E C1        movd        xmm0,ecx
  0000000000000008: 5D                 pop         rbp
  0000000000000009: C3                 ret

the cfloat is passed in FPU registers to fun, but the function reads ECX.


More information about the Digitalmars-d-bugs mailing list