[llvm-commits] Patch to use proper calling convention for i386--win32 _ftol2 runtime function

Joe Groff arcata at gmail.com
Fri Jan 27 13:48:01 PST 2012


Here's a patch that adds a WIN_FTOL_* family of pseudo-instructions
modelling the unique calling convention used by the Win32 _ftol2
runtime function. I'm not totally happy with the tests I wrote; even
using -O0, it appears to depend on the behavior of the scheduler
somewhat, so any feedback on how to write a more robust test would be
appreciated, along with any other comments. Thanks Jakob Stoklund
Olesen for walking me through things.

-Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-ftol2-3.diff
Type: application/octet-stream
Size: 15260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120127/3da07564/attachment.obj>


More information about the llvm-commits mailing list