Function return value register

Rajat Singh rajat.000 at gmail.com
Mon Jun 9 20:06:36 CEST 2014


Hi,

Is there a way to change the function return value coming in register d0 to
come in reigster d7 ?

I tried adding d7 in call_used_registers and updating
macro's FUNCTION_VALUE and FUNCTION_VALUE_REGNO_P but it didnt work.

I tried modifying hard_function_value function in explow.c but compilation
failed at reload pass.

I am trying to update the backend code for m68k.Any help is appreciated.

Thanks and regards,
Rajat Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.g-n-u.de/pipermail/gpc/attachments/20140609/46d43ac4/attachment.html>


More information about the Gpc mailing list