Aurelien Jarno 628b61a072 target-sh4: MMU: optimize UTLB accesses
With the current code, the QEMU TLB is setup to match the read/write
mode of the MMU fault. This means when read access is done, the page
is setup in read-only mode. When the page is later accessed in write
mode, an MMU fault happened, and the page is switch in write-only
mode. This flip-flop causes a lot of calls to the MMU code and slow
down the emulation.

This patch changes the MMU emulation, so that the QEMU TLB is setup
to match the UTLB protection key. This impressively increase the
speed of the emulation.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-02-09 21:08:05 +01:00
2010-01-13 17:14:16 -06:00
2010-02-06 23:16:05 +01:00
2010-02-09 21:07:03 +01:00
2010-01-27 17:47:33 +00:00
2010-01-19 16:31:04 -06:00
2010-02-03 12:36:25 -06:00
2010-02-07 02:03:50 +03:00
2010-02-09 01:01:35 +01:00
2010-01-08 09:58:40 -06:00
2009-12-23 23:47:12 +01:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-05-13 20:54:26 +01:00
2009-10-27 12:28:59 -05:00
2009-09-25 19:53:21 +00:00
2009-10-05 09:32:44 -05:00
2010-02-07 02:03:50 +03:00
2010-01-26 15:42:02 -06:00
2009-03-10 21:43:35 +00:00
2010-02-07 02:03:50 +03:00
2009-12-18 11:26:27 -06:00
2009-11-17 08:49:38 -06:00
2009-10-08 21:17:18 -05:00
2009-11-21 09:06:46 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-02-03 19:47:34 -02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 06:56:26 +00:00
2009-10-05 09:32:44 -05:00
2009-11-14 01:19:12 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:00 +01:00
2009-09-12 07:36:22 +00:00
2009-12-17 18:12:04 +01:00
2009-07-02 17:54:34 +00:00
2010-01-13 17:14:14 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-02-03 19:47:34 -02:00
2009-10-27 12:28:59 -05:00
2009-10-01 16:12:16 -05:00
2010-02-06 19:24:42 +01:00
2010-02-03 12:36:25 -06:00
2010-01-08 09:58:40 -06:00
2010-01-08 09:58:40 -06:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2009-09-12 07:36:22 +00:00
2009-12-12 07:59:43 -06:00
2010-01-08 09:58:40 -06:00
2010-01-26 16:28:46 -06:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-02-03 12:36:25 -06:00
2010-02-03 12:36:25 -06:00
2009-10-27 12:28:59 -05:00
2009-12-18 11:26:27 -06:00
2009-12-21 20:19:12 +00:00
2010-01-13 17:14:15 -06:00
2010-01-26 15:42:02 -06:00
2009-10-01 16:12:16 -05:00
2009-07-22 10:58:49 -05:00
2009-10-05 09:32:45 -05:00
2009-11-17 08:49:38 -06:00
2009-11-17 08:49:38 -06:00
2009-09-04 09:37:29 -05:00
2009-12-03 09:41:18 -06:00
2010-01-26 15:42:01 -06:00
2009-12-03 09:41:20 -06:00
2010-01-08 16:55:03 -06:00
2010-01-26 15:45:06 -06:00
2009-10-01 16:12:16 -05:00
2009-06-29 08:52:44 -05:00
2009-07-08 18:25:37 +04:00
2010-01-26 16:28:46 -06:00
2009-11-14 01:19:12 +01:00
2009-04-07 21:47:27 +00:00
2009-09-13 19:38:43 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-02-07 02:03:50 +03:00
2009-03-05 23:01:23 +00:00
2009-10-01 16:12:16 -05:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2010-02-05 18:13:21 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%