* [Qemu-devel] [5815] Fix alignment of 64bit args
@ 2008-11-29 19:55 malc
0 siblings, 0 replies; only message in thread
From: malc @ 2008-11-29 19:55 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-29 19:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-29 19:55 [Qemu-devel] [5815] Fix alignment of 64bit args malc
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).