qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5815] Fix alignment of 64bit args
Date: Sat, 29 Nov 2008 19:55:16 +0000	[thread overview]
Message-ID: <E1L6VuO-0007Z6-9i@cvs.savannah.gnu.org> (raw)

Revision: 5815
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5815
Author:   malc
Date:     2008-11-29 19:55:15 +0000 (Sat, 29 Nov 2008)

Log Message:
-----------
Fix alignment of 64bit args

Unbreaks sparc and mips64el. (Reported by Thiemo Seufer)

Modified Paths:
--------------
    trunk/tcg/tcg.c

Modified: trunk/tcg/tcg.c
===================================================================
--- trunk/tcg/tcg.c	2008-11-29 16:51:42 UTC (rev 5814)
+++ trunk/tcg/tcg.c	2008-11-29 19:55:15 UTC (rev 5815)
@@ -621,8 +621,9 @@
 #endif
 #ifdef TCG_TARGET_CALL_ALIGN_ARGS
             /* some targets want aligned 64 bit args */
-            if (i & 1) {
+            if (real_args & 1) {
                 *gen_opparam_ptr++ = TCG_CALL_DUMMY_ARG;
+                real_args++;
             }
 #endif
 #ifdef TCG_TARGET_WORDS_BIGENDIAN

                 reply	other threads:[~2008-11-29 19:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1L6VuO-0007Z6-9i@cvs.savannah.gnu.org \
    --to=av1474@comtv.ru \
    --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).