On Jul 21, 2012, at 11:51 AM, Steve Reinhardt wrote:

> The big question here is whether anyone knows of any other syscalls or
> architectures that might need this more powerful stack handling scheme; if
> so, we should probably go with the first approach.  If not, I'm open to the
> second approach.  If someone feels like the current scheme is good enough,
> or there's a third approach I haven't considered, please speak up.  I'd
> like to get some initial consensus here before I go ripping things up.

For ARM we certainly need to be able to do the 64 bit alignment (64 bit args 
are passed starting in even registers only). So a prototype (badly constructed 
imho) foo(uint32_t a1, uint64 a2) needs to get arg1 from r0 and a2 from r2:r3. 
There seem to be a couple of these case in ARM.

Ali

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to