Venkatachalam, Vasanth Vasanth.Venkatachalam at
Mon Aug 26 12:55:38 PDT 2013


Can someone explain what does it mean that AMD64Call.destroysCallerSavedRegisters() function returns true?

In x86, there are registers that it is the responsibility of the caller to save. This doesn't mean that a function call will clobber them. So I'm not clear on what it means to say that the call destroys all caller saved registers.

In HSAIL there is no calling convention as such. Arguments are passed in memory and functions get their own localized view of the entire register set, so there's no way for them to clobber registers used by the caller. Does this mean that HSAILCall.destroysCallerSavedRegisters() should return false?


More information about the graal-dev mailing list