1 |
.\" $Id: gxemul.1,v 1.33 2005/10/07 22:45:34 debug Exp $ |
.\" $Id: gxemul.1,v 1.34 2005/10/11 03:53:58 debug Exp $ |
2 |
.\" |
.\" |
3 |
.\" Copyright (C) 2004-2005 Anders Gavare. All rights reserved. |
.\" Copyright (C) 2004-2005 Anders Gavare. All rights reserved. |
4 |
.\" |
.\" |
121 |
.It Fl A |
.It Fl A |
122 |
Disable load/store alignment checks in some cases. This might give a small |
Disable load/store alignment checks in some cases. This might give a small |
123 |
increase in performance, but the emulator will not run correctly if the |
increase in performance, but the emulator will not run correctly if the |
124 |
emulated code actually tries to do unaligned loads or stores. |
emulated code actually tries to do unaligned loads or stores. (This option |
125 |
|
is only meaningful when emulating MIPS CPUs, when the host architecture is |
126 |
|
Alpha or i386, and binary translation is enabled.) |
127 |
.It Fl B |
.It Fl B |
128 |
Disable dynamic binary translation. By default, bintrans |
Disable dynamic binary translation. By default, bintrans |
129 |
will be turned on if the host+target architecture combination is |
will be turned on if the host+target architecture combination is |
130 |
supported. |
supported. Currently, the only supported target architecture for bintrans |
131 |
|
is MIPS, and the supported host architectures are Alpha and i386. |
132 |
.It Fl C Ar x |
.It Fl C Ar x |
133 |
Try to emulate a specific CPU type, |
Try to emulate a specific CPU type, |
134 |
.Ar "x". |
.Ar "x". |
212 |
Force a "netboot" (tftp instead of disk), even when a disk image is |
Force a "netboot" (tftp instead of disk), even when a disk image is |
213 |
present (for DECstation, SGI, and ARC emulation). |
present (for DECstation, SGI, and ARC emulation). |
214 |
.It Fl o Ar arg |
.It Fl o Ar arg |
215 |
Set the boot argument (for DEC, ARC, or SGI emulation). |
Set the boot argument (mostly useful for DEC, ARC, or SGI emulation). |
216 |
Default |
Default |
217 |
.Ar arg |
.Ar arg |
218 |
for DEC is "-a", for ARC "-aN". |
for DEC is "-a", for ARC/SGI it is "-aN", and for CATS it is "-A". |
219 |
.It Fl p Ar pc |
.It Fl p Ar pc |
220 |
Add a breakpoint. (Remember to use the "0x" prefix for hex.) |
Add a breakpoint. (Remember to use the "0x" prefix for hex.) |
221 |
.It Fl Q |
.It Fl Q |
349 |
.Pp |
.Pp |
350 |
Userland (syscall-only) emulation doesn't really work yet. |
Userland (syscall-only) emulation doesn't really work yet. |
351 |
.Pp |
.Pp |
352 |
|
Emulation of MIPS CPUs is done differently from other emulation modes; the |
353 |
|
documentation sometimes only reflect the way things work with MIPS |
354 |
|
emulation, and it is incorrect when applied to e.g. ARM emulation. |
355 |
|
.Pp |
356 |
.Nm |
.Nm |
357 |
does not simulate individual pipe-line stages or penalties caused by |
does not simulate individual pipe-line stages or penalties caused by |
358 |
branch-prediction misses or cache misses, so it cannot be used for |
branch-prediction misses or cache misses, so it cannot be used for |