public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Clemens Eisserer <linuxhippy@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Re: short pointers (32 bit) in 64 bit apps
Date: Wed, 19 May 2010 21:24:00 -0000	[thread overview]
Message-ID: <AANLkTilefXCFviI9UqJo5q8NLMa7fc5R30shshPzg1k9@mail.gmail.com> (raw)
In-Reply-To: <4BF421E0.9080009@parvan.net>

Hi,

> Is there support for "short" pointers in 64 bit applications?  As struct members, these short pointers would save space, but when accessed, they would
> automatically be treated as 64 bit pointers into the "current" 4GB space (namely where the containing struct resides.)

Sun's JVM is able to do this, they even have two different cases for
<= 4GB heaps and <= 32GB heaps, and at least for "typical" java
applications the speedup is in the range of 10-25%,

- Clemens

  reply	other threads:[~2010-05-19 18:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17  9:51 Reza Roboubi
2010-05-18 14:45 ` Ian Lance Taylor
2010-05-19  5:58   ` Reza Roboubi
2010-05-19  8:27     ` Ian Lance Taylor
2010-05-19  8:55     ` Nicholas Sherlock
2010-05-19  9:24       ` Reza Roboubi
2010-05-19  9:46         ` Nicholas Sherlock
2010-05-19 18:34           ` Reza Roboubi
2010-05-19 21:24             ` Clemens Eisserer [this message]
2010-05-19 21:29               ` phi benard
2010-05-24 21:52                 ` Clemens Eisserer
2010-05-20  3:16             ` Ian Lance Taylor
2010-05-20 11:36               ` Nicholas Sherlock
2010-05-19  9:50         ` Andrew Haley
2010-05-19 19:08           ` Reza Roboubi
2010-05-20  2:29             ` John S. Fine

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=AANLkTilefXCFviI9UqJo5q8NLMa7fc5R30shshPzg1k9@mail.gmail.com \
    --to=linuxhippy@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /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).