[LLVMdev] Win64 bugs

Peter Shugalev peter at shugalev.com
Fri Jul 31 13:02:08 PDT 2009

> The attached patch is a workaround for the XMM misalignment issue. Basically
> it uses the fallback method of saving and restoring registers on the stack,
> which does work correctly with alignment. If I recall correctly it also
> doesn't save any registers unnecessarily, but I could be wrong about that.
> Anyway, it's hack, but if all you want for now is to be able to work with
> Win64 and use SSE this might offer a solution.

Thanks a lot! I'll try it when I'm back from the vacation.

More information about the llvm-dev mailing list