"Manu" <turkey...@gmail.com> wrote in message news:mailman.2114.1325632682.24802.digitalmar...@puremagic.com... > And those rules aren't really type aware... as far as I can tell it wont > split the int/float/etc args into separate register types... > Multiple return values via tuples are not really addressing the problem, > and miss the point. >
I realize this probably isn't quite the answer you want, but I bet you could probably create custom calling conventions in D via naked inline asm and metaprogramming. That could be an interesting exercise for anyone who wanted to try it.