From: Jason Merrill <jason@redhat.com>
To: janis187@us.ibm.com
Cc: Gabriel Dos Reis <gdr@integrable-solutions.net>,
Richard Guenther <richard.guenther@gmail.com>,
gcc@gcc.gnu.org, libstdc++@gcc.gnu.org
Subject: Re: C++ support for decimal floating point
Date: Wed, 30 Sep 2009 04:47:00 -0000 [thread overview]
Message-ID: <4AC2E19C.7060901@redhat.com> (raw)
In-Reply-To: <1254255810.6078.26.camel@janis-laptop>
On 09/29/2009 04:23 PM, Janis Johnson wrote:
> The PowerPC 32-bit ELF ABI says that a struct is passed as a pointer
> to an object or a copy of the object. Classes are treated the same
> as classes. Does the C++ ABI have rules about classes like
> std::complex that would cause them to be treated differently?
No. Classes that are trivially copyable (such as complex) are passed
according to the C ABI, which is suboptimal for many popular architectures.
Jason
WARNING: multiple messages have this Message-ID
From: Jason Merrill <jason@redhat.com>
To: gcc@gcc.gnu.org
Cc: libstdc++@gcc.gnu.org
Cc: gcc@gcc.gnu.org
Subject: Re: C++ support for decimal floating point
Date: Wed, 30 Sep 2009 07:17:00 -0000 [thread overview]
Message-ID: <4AC2E19C.7060901@redhat.com> (raw)
Message-ID: <20090930071700.HEhNGTU8P7BpiI0MQqBPXBqOiHD4fiHHp2Ne8r41rs8@z> (raw)
In-Reply-To: <1254255810.6078.26.camel@janis-laptop>
On 09/29/2009 04:23 PM, Janis Johnson wrote:
> The PowerPC 32-bit ELF ABI says that a struct is passed as a pointer
> to an object or a copy of the object. Classes are treated the same
> as classes. Does the C++ ABI have rules about classes like
> std::complex that would cause them to be treated differently?
No. Classes that are trivially copyable (such as complex) are passed
according to the C ABI, which is suboptimal for many popular architectures.
Jason
next prev parent reply other threads:[~2009-09-30 4:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-23 0:38 Janis Johnson
2009-09-23 8:29 ` Richard Guenther
2009-09-23 21:12 ` Janis Johnson
2009-09-23 21:21 ` Richard Henderson
2009-09-29 20:23 ` Janis Johnson
2009-09-29 20:50 ` Richard Henderson
2009-09-29 20:51 ` Janis Johnson
2009-09-29 21:19 ` Richard Henderson
2009-09-23 21:27 ` Gabriel Dos Reis
2009-09-23 23:23 ` Janis Johnson
2009-09-23 23:40 ` Gabriel Dos Reis
2009-09-29 20:37 ` Janis Johnson
2009-09-30 4:47 ` Jason Merrill [this message]
2009-09-30 7:17 ` Jason Merrill
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=4AC2E19C.7060901@redhat.com \
--to=jason@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=gdr@integrable-solutions.net \
--cc=janis187@us.ibm.com \
--cc=libstdc++@gcc.gnu.org \
--cc=richard.guenther@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).