* [Qemu-devel] [PATCH 6/6, UPDATE] A cumulative MIPS patchset
@ 2006-11-29 14:50 Thiemo Seufer
2006-11-29 22:06 ` Paul Brook
0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2006-11-29 14:50 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 763 bytes --]
[The previous patch had a broken MIPS32R2 bitops implementation,
and was apparently too big to make it to the list. I retry now
with a compressed attachment.]
Hello All,
this patch adds support for all mandatory MIPS32R2 instructions,
rationalizes the instruction decoding to check always 32-bit words,
reduces the number of magic constants in the code, adds a few bits
which make eventually implementation of MIPS64 support and optional
MIPS32 features easier.
The emulated CPU still identifies itself as a MIPS32(R1) 4Kc.
Currently it doesn't throw a RI exception for R2 instructions, this
is useful for Linux userland emulation, and also follows the current
policy which doesn't distinguish between MIPS32R1 instructions and
those of earlier ISAs.
Thiemo
[-- Attachment #2: opcode-handling.gz --]
[-- Type: application/octet-stream, Size: 18846 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH 6/6, UPDATE] A cumulative MIPS patchset
2006-11-29 14:50 [Qemu-devel] [PATCH 6/6, UPDATE] A cumulative MIPS patchset Thiemo Seufer
@ 2006-11-29 22:06 ` Paul Brook
0 siblings, 0 replies; 2+ messages in thread
From: Paul Brook @ 2006-11-29 22:06 UTC (permalink / raw)
To: qemu-devel
> The emulated CPU still identifies itself as a MIPS32(R1) 4Kc.
> Currently it doesn't throw a RI exception for R2 instructions, this
> is useful for Linux userland emulation, and also follows the current
> policy which doesn't distinguish between MIPS32R1 instructions and
> those of earlier ISAs.
I thought this was an accident/omission rather than a policy.
I recommend making the ISA features optional, even it it's controlled by a
compile-time directive that's always on. It's much easier to do this when
adding the insns then to retro-fit it afterwards.
Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-29 22:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 14:50 [Qemu-devel] [PATCH 6/6, UPDATE] A cumulative MIPS patchset Thiemo Seufer
2006-11-29 22:06 ` Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).