Comment by haberman
5 years ago
That would defeat the entire purpose: they need to be six parameters to ensure that they are all in registers.
However I was considering whether they could be a struct with six members passed by value. If the ABI would pass that in six registers we could get rid of the #defines, which I agree would be nicer.
Unfortunately, I think that only structs with at most 2 words are passed via registers. Larger structs are passed via the stack.
https://godbolt.org/z/frof3xjhW
Bummer, thanks for the info.