qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stuart Brady <sdbrady@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [4406] fixed global variable handling with qemu load/ stores - initial global prologue/epilogue implementation
Date: Sat, 10 May 2008 13:45:54 +0100	[thread overview]
Message-ID: <20080510124554.GA19165@miranda.arrow> (raw)
In-Reply-To: <E1JumgQ-0007D2-3W@cvs.savannah.gnu.org>

On Sat, May 10, 2008 at 10:52:06AM +0000, Fabrice Bellard wrote:

> -#ifdef HOST_HPPA
> -    func_addr = (tcg_target_long)__canonicalize_funcptr_for_compare((void *)func_addr);
> -#endif

This was needed on HPPA (and possibly other archs), because a function
pointer can hold either the function's address, or that of a function
description (plabel), but we need the address of the function itself.

How would you prefer this to be handled?  Would a 'tcg_const_funcptr'
macro added to tcg.h and used in tcg_gen_helper_*_*() be okay?
-- 
Stuart Brady

  reply	other threads:[~2008-05-10 12:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-10 10:52 [Qemu-devel] [4406] fixed global variable handling with qemu load/ stores - initial global prologue/epilogue implementation Fabrice Bellard
2008-05-10 12:45 ` Stuart Brady [this message]
2008-05-10 13:10   ` Stuart Brady
2008-05-10 13:29     ` Fabrice Bellard

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=20080510124554.GA19165@miranda.arrow \
    --to=sdbrady@ntlworld.com \
    --cc=qemu-devel@nongnu.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 NNTP newsgroup(s).