This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid explicit use of machine modes (8/n) Hook-izeINIT_TARGET_OPTABS
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 01 Oct 2003 22:41:51 -0700
- Subject: Re: Avoid explicit use of machine modes (8/n) Hook-izeINIT_TARGET_OPTABS
- References: <200310020516.h925Gxg32734@makai.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
> Notice that your comments in rs6000_init_libfuncs are about ABIs.
> I think a better structure would be
>
> if (DEFAULT_ABI == ABI_V4)
> {
> PPC32 ABI quad FP ops
> }
> else
> {
> if (TARGET_XCOFF
> && (! TARGET_POWER2 && ! TARGET_POWERPC))
> {
> trunc ops
> }
>
> _xlq ops
> }
Thanks. I'm already working on a successor patch to this one; I'll
make changes along these lines at the same time. (The _xlq* names
known to GCC don't cover as much ground as the _q_* names. Are there
more?)
zw