This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] x86-64 long double complex ABI change (PR/17603)
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Beulich <JBeulich at novell dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Dec 2004 11:29:46 -0800
- Subject: Re: [PATCH] x86-64 long double complex ABI change (PR/17603)
- References: <s1c1aca5.073@emea1-mh.id2.novell.com>
On Thu, Dec 16, 2004 at 04:42:10PM +0100, Jan Beulich wrote:
> * config/i386/i386.c (enum x86_64_reg_class): Define
> X86_64_COMPLEX_X87_CLASS.
> (x86_64_reg_class_names): Add name for X86_64_COMPLEX_X87_CLASS.
> (merge_classes): Handle X86_64_COMPLEX_X87_CLASS.
> (classify_argument): XCmode is X86_64_COMPLEX_X87_CLASS.
> (examine_argument): X86_64_COMPLEX_X87_CLASS requires two
> registers when dealing with a return value.
> (construct_container): Handle X86_64_COMPLEX_X87_CLASS.
> Eliminate impossible case of two X87/X87UP pairs (this now is
> being expressed by a single COMPLEX_X87).
> (x86_libcall_value): XCmode gets returned in st0/st1.
Ok.
r~