MIPS 64 emulator

17 views
Skip to first unread message

Carter

unread,
Jun 23, 2009, 8:41:14 AM6/23/09
to One Laptop Per Hacker
I am experimenting with a project which requires I map things directly
into MIPS machine code. Are there good emulators available which might
be good to test with before I try the system on the gdium?

Thanks,

Carter.

yajin

unread,
Jun 23, 2009, 8:53:39 AM6/23/09
to gd...@googlegroups.com
Hi,
I think qemu can meet your requirement for its malta emulation is very mature.
--
yajin
http://vm-kernel.org

Carter

unread,
Jul 5, 2009, 9:27:01 AM7/5/09
to One Laptop Per Hacker
Thanks for the reply. I have been thinking a bit more about my goals
w.r.t. this and perhaps since I will be testing my compiler on a more
powerul desktop Intel machine (I suspect repeatedly compiling the
software on the gdium would be quite time consuming). In this
situation I probably just need some sort of tool or disassembler which
produces MIPS 64 assembly. I do however have a few more questions
which I would be grateful if I could get some answers to-

1) is the MIPS 64 supported by the Loongson 2/F essentially release 2
or are there some differences?
2) is n64 the correct ABI to use?

Thanks in advance(any help is appreciated),

Carter.

On Jun 23, 8:53 pm, yajin <yajinz...@vm-kernel.org> wrote:
> Hi,
> I think qemu can meet your requirement for its malta emulation is very mature.
>

Måns Rullgård

unread,
Jul 5, 2009, 11:27:09 AM7/5/09
to gd...@googlegroups.com
Carter <carte...@gmail.com> writes:

> Thanks for the reply. I have been thinking a bit more about my goals
> w.r.t. this and perhaps since I will be testing my compiler on a more
> powerul desktop Intel machine (I suspect repeatedly compiling the
> software on the gdium would be quite time consuming). In this
> situation I probably just need some sort of tool or disassembler which
> produces MIPS 64 assembly. I do however have a few more questions
> which I would be grateful if I could get some answers to-
>
> 1) is the MIPS 64 supported by the Loongson 2/F essentially release 2
> or are there some differences?

The Loongson implements the MIPS3 instruction set, which is a subset
of the MIPS64 instruction set published by MIPS. It also has some
extensions. See the Loongson manual for details.

> 2) is n64 the correct ABI to use?

I would recommend the N32 ABI.

--
Måns Rullgård
ma...@mansr.com

Carter

unread,
Jul 5, 2009, 12:58:55 PM7/5/09
to One Laptop Per Hacker
Is there an English manual somewhere? My chinese is not that good. The
link from linux-mips to the english manual seems to be broken.

On Jul 5, 11:27 pm, Måns Rullgård <m...@mansr.com> wrote:
> m...@mansr.com

Måns Rullgård

unread,
Jul 5, 2009, 1:19:32 PM7/5/09
to gd...@googlegroups.com
Carter <carte...@gmail.com> writes:

> On Jul 5, 11:27 pm, Måns Rullgård <m...@mansr.com> wrote:
>> Carter <carterch...@gmail.com> writes:
>> > Thanks for the reply. I have been thinking a bit more about my goals
>> > w.r.t. this and perhaps since I will be testing my compiler on a more
>> > powerul desktop Intel machine (I suspect repeatedly compiling the
>> > software on the gdium would be quite time consuming). In this
>> > situation I probably just need some sort of tool or disassembler which
>> > produces MIPS 64 assembly. I do however have a few more questions
>> > which I would be grateful if I could get some answers to-
>>
>> > 1) is the MIPS 64 supported by the Loongson 2/F essentially release 2
>> > or are there some differences?
>>
>> The Loongson implements the MIPS3 instruction set, which is a subset
>> of the MIPS64 instruction set published by MIPS.  It also has some
>> extensions.  See the Loongson manual for details.
>>
>> > 2) is n64 the correct ABI to use?
>>
>> I would recommend the N32 ABI.
>
> Is there an English manual somewhere? My chinese is not that good. The
> link from linux-mips to the english manual seems to be broken.

http://geeks.cl/projects/gdium/stls2f_um.pdf

--
Måns Rullgård
ma...@mansr.com

Philippe Vachon

unread,
Jul 5, 2009, 2:31:20 PM7/5/09
to gd...@googlegroups.com
Hi Carter,

You can find all the Loongson 2F manuals on the Wiki, but I've archived
most of the manuals in a tarball at:

http://lebesgue.cowpig.ca/~philippe/gdium/gdium-manuals.tar.bz2

Cheers,
Phil

PS: the wiki, in case you haven't seen it, can be found at
http://olph.gdium.com/wiki

Carter

unread,
Jul 13, 2009, 2:12:15 AM7/13/09
to One Laptop Per Hacker
Sorry for the late reply. Thanks for the help. Hopefully I can put the
information to good use.

On Jul 6, 2:31 am, Philippe Vachon <phili...@cowpig.ca> wrote:
> Hi Carter,
>
> You can find all the Loongson 2F manuals on the Wiki, but I've archived
> most of the manuals in a tarball at:
>
> http://lebesgue.cowpig.ca/~philippe/gdium/gdium-manuals.tar.bz2
>
> Cheers,
> Phil
>
> PS: the wiki, in case you haven't seen it, can be found athttp://olph.gdium.com/wiki
Reply all
Reply to author
Forward
0 new messages