[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 58aa5c: Retrieve float register parameters of callback thu...

GitHub noreply at github.com
Sun Aug 21 23:55:11 UTC 2016

  Branch: refs/heads/LLP64_v2
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 58aa5c0cd554fde9ef7142c0b94389f8af1aec84
  Author: nicolas-cellier-aka-nice <nicolas.cellier.aka.nice at gmail.com>
  Date:   2016-08-22 (Mon, 22 Aug 2016)

  Changed paths:
    M platforms/Cross/plugins/IA32ABI/x64win64ia32abicc.c
    A platforms/Cross/plugins/IA32ABI/x64win64stub.c
    M platforms/win32/plugins/IA32ABI/Makefile
    M platforms/win32/plugins/IA32ABI/Makefile.plugin

  Log Message:
  Retrieve float register parameters of callback thunk for Win64

Note: the float registers are retrieved via a function saveFloatRegsWin64 which must lie into another file
otherwise C Compiler will detect the parameter mismatch and bark, or worse, optimize the call away.

Previously, we did copy the integer param registers into the floating point param registers.
This was wrong, the caller has no such hack.

More information about the Vm-dev mailing list