frv sibcalls and conditional returns

Alexandre Oliva aoliva@redhat.com
Sun May 2 04:57:00 GMT 2004


On Apr 30, 2004, Jim Wilson <wilson@specifixinc.com> wrote:

> Alexandre Oliva wrote:
>> This patch arranges for GCC to emit optimal code for syscall wrappers
>> in frv-uclinux.  Sibcalls were already implemented, but Richard
>> Sandiford says he ran into problems in them a very long time ago,
>> which got him to fully disable them in the branch we've been working
>> on, to the point that I reimplemented it from scratch.

> OK.

> frv_function_ok_for_sibcall has no explanatory comment before it.  It
> should also have ATTRIBUTE_UNUSED markers on the parameters to avoid
> compiler warnings.

Thanks.  Fixed in the patch below, that I'm checking in.  Also, this
one doesn't contain frv-nopic.patch as part of it, that I mistakenly
included in the previous version of this patch.  Sorry about that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-frv-sibcall-ucondret.patch
Type: text/x-patch
Size: 13864 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040502/6c896e89/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list