[PATCH 2/4] sparc: Avoid new window for FP save/restore

Gedare Bloom gedare at gwu.edu
Fri May 29 16:38:10 UTC 2015


On Fri, May 29, 2015 at 11:37 AM, Gedare Bloom <gedare at gwu.edu> wrote:
> On Fri, May 29, 2015 at 10:46 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
>>
>> ----- Gedare Bloom <gedare at gwu.edu> schrieb:
>>> Straightforward leaf-optimization, except is there a reason to use jmp
>>> %o7 + 8 instead of ret?
>>
>> Hm, the GCC generates this instruction, is this the same as "ret"?
>>
> Yes I think so. Probably the manual will list ret as a synthetic
> instruction, which is usually better for readability.
>
Also, I think sparc has retl instruction for returning from a
leaf-optimized function, which I think will not have the delay slot.
Should check the sparc manual though...

>> --
>> Sebastian Huber, embedded brains GmbH
>>
>> Address : Dornierstr. 4, D-82178 Puchheim, Germany
>> Phone   : +49 89 189 47 41-16
>> Fax     : +49 89 189 47 41-09
>> E-Mail  : sebastian.huber at embedded-brains.de
>> PGP     : Public key available on request.
>>
>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list