All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] qemu optimizations for x86
@ 2005-12-30 21:45 Joseph Miller
  2005-12-30 22:58 ` Paul Brook
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Miller @ 2005-12-30 21:45 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: Text/Plain, Size: 1008 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have been using an compiler-optimized version of qemu for several weeks now 
on an x86 with much success.  Qemu has not crashed one single time and I have 
seen a noticeable performance increase.  What I have done is added 
"-finline-functions -funroll-loops" to the CFLAGS, but I made sure that it 
would not be added to OP_CFLAGS.  This ensures that every file is compiled 
with the optimizations *except* op.c, which should not have these flags.  If 
op.c is compiled with these flags, crashes will be too often to make it 
usable.  So the actual processor emulation may not be optimized any more, but 
all of the peripherals and hardware emulators will be.  Simply install the 
patch and then configure with '--enable-x86-optimize'.

- -Joseph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDtapmmXZROF+EADURAs6CAJ9nKXpoGEUc8XDYi5eCrrk3yqinjACfVZ7/
UeUXZmc8rwaGxjOfVmhB6vQ=
=A2KN
-----END PGP SIGNATURE-----

[-- Attachment #2: qemu-optimized.patch.gz --]
[-- Type: application/x-gzip, Size: 961 bytes --]

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

end of thread, other threads:[~2005-12-30 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-30 21:45 [Qemu-devel] qemu optimizations for x86 Joseph Miller
2005-12-30 22:58 ` Paul Brook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.