On Fri, May 29, 2015 at 11:37 AM, Gedare Bloom <ged...@gwu.edu> wrote: > On Fri, May 29, 2015 at 10:46 AM, Sebastian Huber > <sebastian.hu...@embedded-brains.de> wrote: >> >> ----- Gedare Bloom <ged...@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@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel