projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e392683
)
Fix alignment of 64bit args
author
malc
<malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 29 Nov 2008 19:55:15 +0000
(19:55 +0000)
committer
malc
<malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 29 Nov 2008 19:55:15 +0000
(19:55 +0000)
Unbreaks sparc and mips64el. (Reported by Thiemo Seufer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5815
c046a42c
-6fe2-441c-8c8c-
71466251a162
tcg/tcg.c
patch
|
blob
|
history
diff --git
a/tcg/tcg.c
b/tcg/tcg.c
index ad631e9f500430b2c0aa7d17ff0ed36dfd2edb09..78e7f9326fe898b191e33b98e5000ab4116a7fd7 100644
(file)
--- a/
tcg/tcg.c
+++ b/
tcg/tcg.c
@@
-621,8
+621,9
@@
void tcg_gen_callN(TCGContext *s, TCGv_ptr func, unsigned int flags,
#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