Hi,

This patch uses the new "-cpu" command line option, to choose the CPU model
at runtime.

It takes care of Thiemo's remarks about existing CPU models.
It defaults to MIPS 4KEc in 32bits mode, and R4000 in 64bits mode.

To answer Daniel's concerns, the FPU bit in the CPU structure is set only if
the chosen CPU has a FPU. This thing is only done once per CPU reset (ie
most of the times, once per qemu launch), so it has no runtime cost.

Hervé

Attachment: mips-cpu2.diff
Description: Binary data

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to