Function return value register

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


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: <>

More information about the Gpc mailing list