qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] tci point fix
@ 2014-05-23 17:59 Richard Henderson
  2014-05-23 17:59 ` [Qemu-devel] [PULL] tci: Fix tcg_out_call Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2014-05-23 17:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

My fault; sorry about the breakage.


r~


The following changes since commit 5118dc5975e6aa2e823961e15b162919f94721cc:

  Merge remote-tracking branch 'remotes/kraxel/tags/pull-audio-5' into staging (2014-05-22 17:05:36 +0100)

are available in the git repository at:


  git://github.com/rth7680/qemu.git fix-tci

for you to fetch changes up to a3abb29292dccd5681beb16f610b2b838eec2174:

  tci: Fix tcg_out_call (2014-05-22 13:25:34 -0700)

----------------------------------------------------------------
Richard Henderson (1):
      tci: Fix tcg_out_call

 tcg/tci/tcg-target.c | 3 +++
 1 file changed, 3 insertions(+)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] [PULL] tci: Fix tcg_out_call
  2014-05-23 17:59 [Qemu-devel] [PULL] tci point fix Richard Henderson
@ 2014-05-23 17:59 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2014-05-23 17:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

Broken since dddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea.
Do all the rest of the things that tcg_out_op did before
and after the big switch statement.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/tci/tcg-target.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c
index 9b39231..375e590 100644
--- a/tcg/tci/tcg-target.c
+++ b/tcg/tci/tcg-target.c
@@ -544,7 +544,10 @@ static void tcg_out_movi(TCGContext *s, TCGType type,
 
 static inline void tcg_out_call(TCGContext *s, tcg_insn_unit *arg)
 {
+    uint8_t *old_code_ptr = s->code_ptr;
+    tcg_out_op_t(s, INDEX_op_call);
     tcg_out_ri(s, 1, (uintptr_t)arg);
+    old_code_ptr[1] = s->code_ptr - old_code_ptr;
 }
 
 static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args,
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-23 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 17:59 [Qemu-devel] [PULL] tci point fix Richard Henderson
2014-05-23 17:59 ` [Qemu-devel] [PULL] tci: Fix tcg_out_call Richard Henderson

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).