On Tue, 27 Jun 2006, Dirk Behme wrote:
Fabrice Bellard wrote:
3. [PATCH] Add special MIPS multiply instructions
http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00375.html
Same remark.
These are NEC VR54xx specific extensions to the MIPS instruction set.
They are used if you use GCC's -march=vr5400 option. See
www.necelam.com/docs/files/1375_V2.pdf
as well.
Can you add some kind of define or dynamic processor definnition in
your patch so that we can keep track of the exact instruction set ?
Yes, I will update the patch. Any ideas or proposals from anybody how
to do this the best way? Are there already examples from other
architectures?
I think a define to be able to completely select/unselect it at
compile time combined with possibility for dynamic runtime selection
would be the best?
I'm trying to make sense of a compile-time switch -- for the use to
select you vr5400 based platform, I can't think of anything else than a
new -M option (ie. a new machine definition). So the full set of
possible insns must be present and be available depending on the machine
(-M ...) at runtime.
Or is it possible to compile qemu for a specific "-M machine"?