qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [5998] Fix TARGET_LONG_BITS warning in TCG
Date: Sat, 13 Dec 2008 10:23:05 +0100	[thread overview]
Message-ID: <49437EF9.6000704@web.de> (raw)
In-Reply-To: <E1LBPg5-0003IJ-B9@cvs.savannah.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]

Blue Swirl wrote:
> Revision: 5998
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5998
> Author:   blueswir1
> Date:     2008-12-13 08:16:43 +0000 (Sat, 13 Dec 2008)
> 
> Log Message:
> -----------
> Fix TARGET_LONG_BITS warning in TCG
> 
> Looking at tcg/tcg.c:828, the bug that the warning indicated would show up as
> incorrect PC shown in log, only on 32 bit big endian host emulating a 64 bit
> target, -d op flag enabled. Now that dyngen is gone, the patch can be applied.
> 
> Modified Paths:
> --------------
>     trunk/tcg/tcg-runtime.c
> 
> Modified: trunk/tcg/tcg-runtime.c
> ===================================================================
> --- trunk/tcg/tcg-runtime.c	2008-12-12 20:02:52 UTC (rev 5997)
> +++ trunk/tcg/tcg-runtime.c	2008-12-13 08:16:43 UTC (rev 5998)
> @@ -29,6 +29,7 @@
>  
>  #include "config.h"
>  #include "osdep.h"
> +#include "cpu.h" // For TARGET_LONG_BITS
>  #include "tcg.h"
>  
>  int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2)
> 

Nice that this warning is finally fixed - but what is the point of
including all those headers at all here? [1] worked well for me while
reducing dependencies.

Jan

[1] http://permalink.gmane.org/gmane.comp.emulators.qemu/32076


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2008-12-13  9:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-13  8:16 [Qemu-devel] [5998] Fix TARGET_LONG_BITS warning in TCG Blue Swirl
2008-12-13  9:23 ` Jan Kiszka [this message]
2008-12-13  9:43   ` [Qemu-devel] " Blue Swirl
2008-12-13  9:56     ` Jan Kiszka
2008-12-13 10:21       ` Blue Swirl
2008-12-13 11:11       ` Blue Swirl
2008-12-13 11:39         ` Jan Kiszka
2008-12-13 11:48           ` Blue Swirl
2008-12-13 12:46             ` Jan Kiszka

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=49437EF9.6000704@web.de \
    --to=jan.kiszka@web.de \
    --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).