From: Andrew Haley <aph@redhat.com>
To: Slava Barinov <v.barinov@samsung.com>, gcc-help@gcc.gnu.org
Subject: Re: AArch32 gcc mode
Date: Tue, 28 Oct 2014 08:34:00 -0000 [thread overview]
Message-ID: <544F5501.40101@redhat.com> (raw)
In-Reply-To: <87sii8daok.fsf@samsung.com>
Hi,
On 28/10/14 05:29, Slava Barinov wrote:
> I work now with ARM64 CPUs and wanted to check AArch32 mode, I can see several mentions in GCC
> source code but can't find flag which switches on AArch32 code generation.
>
> Is it possible to make current GCC generate it?
3.17.1 AArch64 Options
These options are defined for AArch64 implementations:
-mabi=name
Generate code for the specified data model. Permissible values are
‘ilp32’ for SysV-like data model where int, long int and pointer
are 32-bit, and ‘lp64’ for SysV-like data model where int is
32-bit, but long int and pointer are 64-bit.
The default depends on the specific target configuration. Note
that the LP64 and ILP32 ABIs are not link-compatible; you must
compile your entire program with the same ABI, and link with a
compatible set of libraries.
https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options
Andrew.
next prev parent reply other threads:[~2014-10-28 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 5:29 Slava Barinov
2014-10-28 8:34 ` Andrew Haley [this message]
2014-10-28 9:02 ` James Greenhalgh
2014-10-28 15:16 ` Andrew Haley
2014-10-29 5:48 ` Vyacheslav Barinov
2014-10-29 9:15 ` James Greenhalgh
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=544F5501.40101@redhat.com \
--to=aph@redhat.com \
--cc=gcc-help@gcc.gnu.org \
--cc=v.barinov@samsung.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).