This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How can I force float->double promotion for argument passing on PPC?


Hi,

it turns out that the implementation of the PPC SYSV ABI in gcc still contains
a bug, float parameters passed on the stack are currently not promoted to
double. as specified in the ABI.

It seems using PROMOTE_MODE is not quite right here? I only want the promotion
if the args are passed on the stack.

Any ideas on how to tackle that?

Franz.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]