Hi,

> We might need align=16, e.g. for SSE:
> +    add     $15,%rax
> +    and     $-16,%rax

Ah, yes. I forgot about this. Fixed, thanks!

> As to PE32+ (WIN64), there are some differences with calling convention,
> one being that it uses only 4 register for arguments (RDX, RCX, R8, R9)
> --> http://msdn.microsoft.com/en-us/library/ms235286.aspx

Yes. We also need to fix gfunc_call in x86_64-gen, of course. I may be
able to work on this if I have win64 box. But currently I don't have
one.

Thanks,


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to