[PATCH 2/4] sparc: Avoid new window for FP save/restore
sebastian.huber at embedded-brains.de
Sat May 30 14:52:44 UTC 2015
I checked it in with the jmp instruction since it is also used in other SPARC assembler files. It seems that in general the synthetic instructions are avoided.
----- Am 29. Mai 2015 um 18:38 schrieb Gedare Bloom gedare at gwu.edu:
> 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