10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: technical.html,v 1.62 2005/08/16 05:15:24 debug Exp $ |
$Id: technical.html,v 1.63 2005/10/07 15:10:00 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2004-2005 Anders Gavare. All rights reserved. |
Copyright (C) 2004-2005 Anders Gavare. All rights reserved. |
16 |
|
|
64 |
<a name="speed"></a> |
<a name="speed"></a> |
65 |
<h3>Speed and emulation modes</h3> |
<h3>Speed and emulation modes</h3> |
66 |
|
|
67 |
So, how fast is GXemul? There is no good answer to this. There is |
So, how fast is GXemul? There is no short answer to this. There is |
68 |
especially no answer to the question <b>What is the slowdown factor?</b>, |
especially no answer to the question <b>What is the slowdown factor?</b>, |
69 |
because the host architecture and emulated architecture can usually not be |
because the host architecture and emulated architecture can usually not be |
70 |
compared just like that. |
compared just like that. |
89 |
install NetBSD?", or "How long does it take to compile XYZ inside NetBSD |
install NetBSD?", or "How long does it take to compile XYZ inside NetBSD |
90 |
in the emulator?". |
in the emulator?". |
91 |
|
|
92 |
|
<p>So, how fast is it? :-) Answer: it varies. |
93 |
|
|
94 |
<p>The emulation technique used varies depending on which processor type |
<p>The emulation technique used varies depending on which processor type |
95 |
is being emulated. (One of my main goals with GXemul is to experiment with |
is being emulated. (One of my main goals with GXemul is to experiment with |
96 |
different kinds of emulation, so these might change in the future.) |
different kinds of emulation, so these might change in the future.) |
108 |
line option.) |
line option.) |
109 |
<p> |
<p> |
110 |
<li><b>All other modes:</b><br> |
<li><b>All other modes:</b><br> |
111 |
These are under development, using a new dynamic translation |
These use a kind of dynamic translation system. (This system does |
112 |
system. This system does not use host-specific backends. |
not use host-specific backends, so it is not "recompilation" or |
113 |
Speed is slower than real binary translation, but faster than |
anything like that.) Speed is slower than real binary translation, |
114 |
traditional interpretation, and with some tricks it will hopefully |
but faster than traditional interpretation, and with some tricks |
115 |
still give reasonable speed. These modes don't really work yet, |
it will hopefully still give reasonable speed. ARM emulation uses |
116 |
and are not enabled by default in the stable release. |
this kind of translation, for example. |
117 |
</ul> |
</ul> |
118 |
|
|
119 |
|
|