unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>, emacs-devel@gnu.org
Subject: Re: Untagging by subtraction instead of masking on USE_LSB_TAG
Date: Mon, 28 Jan 2008 13:25:30 +0900	[thread overview]
Message-ID: <buoodb6d1ad.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <buotzkyd1f5.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Mon, 28 Jan 2008 13:22:38 +0900")

Miles Bader <miles.bader@necel.com> writes:
> Note that the important value here is the EA, not the offset.  Typically
> in a LSB tag scheme, the tags are arranged so that after adding these
> "funny" offsets, the resulting EA is aligned properly.

BTW, such a method won't work on architectures where offsets are
inherently aligned -- for instance, doesn't the x86 implicitly scale the
offset by the size of the value being loaded?  Does anybody know what is
usually done on such an architecture?

Thanks,

-Miles

-- 
Year, n. A period of three hundred and sixty-five disappointments.

  reply	other threads:[~2008-01-28  4:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28  2:07 Untagging by subtraction instead of masking on USE_LSB_TAG YAMAMOTO Mitsuharu
2008-01-28  3:52 ` Thien-Thi Nguyen
2008-01-28  4:22   ` Miles Bader
2008-01-28  4:25     ` Miles Bader [this message]
2008-01-28  5:02       ` YAMAMOTO Mitsuharu
2008-01-28 15:07 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buoodb6d1ad.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=ttn@gnuvola.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).