qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] branches are expensive
@ 2009-03-17 11:05 Steffen Liebergeld
  2009-03-17 11:18 ` Avi Kivity
  2009-03-17 13:30 ` [Qemu-devel] " Laurent Desnogues
  0 siblings, 2 replies; 14+ messages in thread
From: Steffen Liebergeld @ 2009-03-17 11:05 UTC (permalink / raw)
  To: qemu-devel

Hi,

while measuring the execution of an ARM guest, I encountered that branches are
extremely expensive in terms of executed host instructions. A single ARM
branch takes 148 to 152 host instructions. In my setup host and guest use the
ARM instruction set architecture.

My question is what makes branches so expensive? What code is run when
executing a branch? Other instructions are translated to 14 to 40
instructions.

Any help is appreciated.

Greetings, Steffen

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

end of thread, other threads:[~2009-03-19 11:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17 11:05 [Qemu-devel] branches are expensive Steffen Liebergeld
2009-03-17 11:18 ` Avi Kivity
2009-03-17 11:32   ` [Qemu-devel] " Jan Kiszka
2009-03-17 12:31     ` Steffen Liebergeld
2009-03-17 12:51       ` Paul Brook
2009-03-17 13:24         ` Avi Kivity
2009-03-19 10:07         ` Steffen Liebergeld
2009-03-19 10:30           ` Laurent Desnogues
2009-03-19 10:39             ` Steffen Liebergeld
2009-03-19 11:06               ` Laurent Desnogues
2009-03-19 10:52           ` Avi Kivity
2009-03-19 11:34           ` Paul Brook
2009-03-17 11:36   ` Steffen Liebergeld
2009-03-17 13:30 ` [Qemu-devel] " Laurent Desnogues

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