[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GCC return register



On 19/03/2016 13:19, Vincent Rivière wrote:
Now you can see the change there:

BTW, I didn't invent that optimization of returning floats into fp0.
I borrowed it from Linux/m68k:
https://github.com/vinriviere/m68k-atari-mint-gcc/blob/master/gcc/config/m68k/linux.h

The current behaviour (return floats into d0/d1, even if an FPU is present) is the default configuration of GCC for m68k. It was also the one used in GCC 2.95.3 for MiNT.

--
Vincent Rivière