On Friday, 21 January 2022 at 12:55:58 UTC, ag0aep6g wrote:
I still believe it should be fairly simple:https://forum.dlang.org/post/[email protected]
There is a simpler solution: put the context pointer in rax. This is currently a caller-saved register, so there is no problem with clobbering it. It is used for c-style variadics, but not d-style ones. Since it is a register, nothing breaks when you have more parameters than fit in registers. Any other problems?
