i'm really considering my message passing performance as i posted before. i want to use something like L4, and want to make it easier and faster than my before one. in my previous one, i do like this:
Code: Select all
MSG msg;
msg.dest = dest;
msg.arg[n] = val[n];
...
msg.send();
Code: Select all
send(dest, arg0,...);
and what's more, my message is just 8bytes x 8 , so it would be great to use r8-r15 on x64.
my problem is, how can i modify the regs used for functions with gcc? e.g. func(a,b,c,d) will results in r8=a,r9=b,r10=c?
thanks!