qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu optimizations for x86


From: Joseph Miller
Subject: [Qemu-devel] qemu optimizations for x86
Date: Fri, 30 Dec 2005 16:45:05 -0500
User-agent: KMail/1.6.2

-----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: qemu-optimized.patch.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]