From: Elena Zannoni <ezannoni@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [PATCH]: SH 2a - Part 4: Begin using RETURN_VALUE
Date: Tue, 05 Oct 2004 20:09:00 -0000 [thread overview]
Message-ID: <16738.43902.850632.187540@localhost.redhat.com> (raw)
In-Reply-To: <20040909124701.GA7927@cygbert.vinschen.de>
Corinna Vinschen writes:
> Hi,
>
> this is SH 2a patch 4. It does not introduce new functionality, but
> instead it converts sh-tdep.c to use RETURN_VALUE instead of
> STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, RETURN_VALUE_ON_STACK and
> USE_STRUCT_CONVENTION.
>
> The old functions are still used and just called from the RETURN_VALUE
> implementations. We have two of them, one for fpu and one for nofpu
> types.
>
OK
> What this patch does *not* do is this: I would love to rename the
> functions sh_default_store/extract_value and sh3e_sh4_store/extract_value
> to sh_store/extract_value_nofpu and sh_store/extract_value_fpu.
> This would decouple the sense of these functions from the cpu names,
> which is rather irritating and wrong anyway. If that's ok, I'd
> submit another patch which just performs the renaming.
>
It wasn't wrong and irritating at the time it was introduced.
> Ok, for the sake of completeness, here are the testresults of various
> SH cpu types, tested on GNU/Linux host and sh-sim, before and after
> applying the whole set of SH 2a patches. I hope the choice of CPUs is
> representative enough:
>
> BEFORE AFTER
> ----- -----
> sh-sim/-m2a -- 88
> sh-sim/-m2a-nofpu -- 79
> sh-sim/-m2e 100 100
> sh-sim/-m3 79 79
> sh-sim/-m4 88 88
> sh-sim/-m4/-ml 86 86
> sh-sim/-m4a-single 88 88
>
Thanks for providing the test results. Are these with
sources.redhat.com sources? Or some internal only tree? What version
of gcc? So we have a good reference point.
elena
next prev parent reply other threads:[~2004-10-05 20:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-09 12:46 Corinna Vinschen
2004-10-05 20:09 ` Elena Zannoni [this message]
2004-10-06 9:07 ` Corinna Vinschen
2004-10-06 12:28 ` Elena Zannoni
2004-10-06 12:54 ` [PATCH] sh-tdep.c: Rename store/extract functions for better readability (was Re: [PATCH]: SH 2a - Part 4: Begin using RETURN_VALUE) Corinna Vinschen
2004-10-22 3:31 ` Elena Zannoni
2004-12-14 15:53 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16738.43902.850632.187540@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox