From: "Andrew Pinski" <pinskia@gmail.com>
To: "Jan Beulich" <jbeulich@novell.com>
Cc: Luca <luca.b633@gmail.com>,
gcc@gcc.gnu.org, binutils@sourceware.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC] [PATCH] 32-bit pointers in x86-64
Date: Wed, 5 Dec 2007 02:48:07 -0800 [thread overview]
Message-ID: <de8d50360712050248u70229b8cib6a28903ef830ad1@mail.gmail.com> (raw)
In-Reply-To: <47567DF8.76E4.0078.0@novell.com>
On 12/5/07, Jan Beulich <jbeulich@novell.com> wrote:
> >>> "Andrew Pinski" <pinskia@gmail.com> 25.11.07 19:45 >>>
> >On 11/25/07, Luca <luca.b633@gmail.com> wrote:
> >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size
> >> to allow 64-bit pointers in 32-bit mode and viceversa
> >
> >This is already there, try using __attribute__((mode(DI) )).
>
> Hmm, unless this is a new feature in 4.3, I can't seem to get this to work on
> either i386 (using mode DI) or x86-64 (using mode SI). Could you clarify?
This only works when you add support for the different pointer modes.
I was saying the middle support for this feature was already there,
just the target support was not.
Also there are issues with mode on pointers for C++, I don't know what
they are though.
Note this feature is used on the s390 target and also the ia64-hpux targets.
--Pinski
prev parent reply other threads:[~2007-12-05 10:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-25 16:29 Luca
2007-11-25 18:45 ` Andrew Pinski
2007-12-05 9:31 ` Jan Beulich
2007-12-05 10:48 ` Andrew Pinski [this message]
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=de8d50360712050248u70229b8cib6a28903ef830ad1@mail.gmail.com \
--to=pinskia@gmail.com \
--cc=binutils@sourceware.org \
--cc=gcc@gcc.gnu.org \
--cc=jbeulich@novell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.b633@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
all inboxes | Powered by JetHome®