All of lore.kernel.org
 help / color / mirror / Atom feed
* r3000 instruction set
@ 2004-02-22  3:02 Mark and Janice Juszczec
  2004-02-22  3:15 ` Michael Uhler
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Mark and Janice Juszczec @ 2004-02-22  3:02 UTC (permalink / raw)
  To: linux-mips

Hi folks

I'm working with kaffe on a r3912 cpu. I'm getting an illegal instruction
error. I disassembled the kaffe binary and thought I'd find the offending
instruction.

Unfortunately, I found 2 different lists of r3000 assembler instructions at:

http://www.xs4all.nl/~vhouten/mipsel/r3000-isa.html
http://www.xs4all.nl/~vhouten/mipsel/appB.html

and comparing them against the list of disassembled kaffe instructions
gives 2 different results.

So, can someone recommend a definitive list of r3000 assembler instructions?

Any help would be greatly appreciated.

Mark

_________________________________________________________________
Find and compare great deals on Broadband access at the MSN High-Speed 
Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE:  r3000 instruction set
@ 2004-02-23 16:56 Mark and Janice Juszczec
  2004-02-23 17:07 ` Michael Uhler
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Mark and Janice Juszczec @ 2004-02-23 16:56 UTC (permalink / raw)
  To: linux-mips; +Cc: uhler, kevink, dom, echristo


Hello folks

Thanks for all the information.  Its all been very useful.

Someone suggested posting the message I get.  Here it is:

>./kaffe-bin FirstClass
[kaffe-bin:6] Illgal instruction 674696a at 2abb034, ra=2adbffd0, 
P0_STATUS=0000500
pid 6: killed (signal 4)
>Reading command line: Try again
Kernel panic: Attmpted to kill int!

Someone else suggested dumping all the assembler instructions.  The listing 
is really long, so I made a unique list of the commands themselves.  If 
someone can tell me how to use the above error message to figure out the 
command causing the problem, I'd really appreciate it.  If that's 
impossible, can someone tell me which command listed below does not belong?

/opt/crosstool/mipsel-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.3/bin/mipsel-unknown-linux-gnu-objdump 
-d kaffe-bin | awk '{print $3}' | sort -u

addiu
addu
b
beq
beqz
blez
bne
bnez
jalr
jr
lb
lbu
li
lui
lw
move
nop
ori
sb
sll
slt
sltiu
subu
sw

Finally, can someone tell me where I can get a copy of "See MIPS Run"

Thanks again for all the help

Mark

_________________________________________________________________
Say “good-bye” to spam, viruses and pop-ups with MSN Premium -- free trial 
offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: r3000 instruction set
@ 2004-02-23 20:48 Mark and Janice Juszczec
  2004-02-23 22:46   ` Kevin D. Kissell
  0 siblings, 1 reply; 25+ messages in thread
From: Mark and Janice Juszczec @ 2004-02-23 20:48 UTC (permalink / raw)
  To: kevink, linux-mips; +Cc: uhler, dom, echristo


Kevin

Its been a few weeks since I built this version of kaffe.  The configure 
output says I did specify --with-engine=intrp.  I'll delete the compiled 
stuff, reconfigure (double checking that I give it --with-engine=intrp), 
recompile and retest.

I'll post my results.

Mark



>From: "Kevin D. Kissell" <kevink@mips.com>
>To: "Mark and Janice Juszczec" <juszczec@hotmail.com>,        
><linux-mips@linux-mips.org>
>CC: <uhler@mips.com>, <dom@mips.com>, <echristo@redhat.com>
>Subject: Re: r3000 instruction set
>Date: Mon, 23 Feb 2004 18:21:19 +0100
>
> > Someone suggested posting the message I get.  Here it is:
> >
> > >./kaffe-bin FirstClass
> > [kaffe-bin:6] Illgal instruction 674696a at 2abb034, ra=2adbffd0,
> > P0_STATUS=0000500
> > pid 6: killed (signal 4)
> > >Reading command line: Try again
> > Kernel panic: Attmpted to kill int!
>
>Let me guess.  You are running little-endian.  The instruction word
>in memory would be 0x6a697406.  Do you think it's a coincidence
>that 0x6a6974 spells "jit" in ASCII?  ;o)
>
>The reported address range looks like that where kaffe builds its
>JITted instruciton buffers in MIPS/Linux.  And, like I say, JIT is
>somewhat broken for MIPS in Kaffe.  Which version of the kaffe sources
>are you building, and have you tried configuring with --with-engine=intrp
>as I suggested?
>
>             Regards,
>
>             Kevin K.

_________________________________________________________________
Click, drag and drop. My MSN is the simple way to design your homepage. 
http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: r3000 instruction set
@ 2004-03-01 15:38 Mark and Janice Juszczec
  0 siblings, 0 replies; 25+ messages in thread
From: Mark and Janice Juszczec @ 2004-03-01 15:38 UTC (permalink / raw)
  To: kevink, linux-mips; +Cc: uhler, dom, echristo

Hi folks

Thanks for all the information guys.  Sorry I didn't reply sooner.  I got 
buried at work with production problems but I've finally dug myself out from 
under.

It must have been a bad kaffe build.  I deleted everything, reconfigured, 
made sure I specified --with-engine=intrp and rebuilt.

Now, I'm getting signal 10.  I may need to set my stack and heap size 
smaller.  kaffe's default sizes are bigger than all the memory in my pda.

I'll let y'all know what turns up.

Mark



>From: "Kevin D. Kissell" <kevink@mips.com>
>To: "Mark and Janice Juszczec" <juszczec@hotmail.com>,        
><linux-mips@linux-mips.org>
>CC: <uhler@mips.com>, <dom@mips.com>, <echristo@redhat.com>
>Subject: Re: r3000 instruction set
>Date: Mon, 23 Feb 2004 18:21:19 +0100
>
> > Someone suggested posting the message I get.  Here it is:
> >
> > >./kaffe-bin FirstClass
> > [kaffe-bin:6] Illgal instruction 674696a at 2abb034, ra=2adbffd0,
> > P0_STATUS=0000500
> > pid 6: killed (signal 4)
> > >Reading command line: Try again
> > Kernel panic: Attmpted to kill int!
>
>Let me guess.  You are running little-endian.  The instruction word
>in memory would be 0x6a697406.  Do you think it's a coincidence
>that 0x6a6974 spells "jit" in ASCII?  ;o)
>
>The reported address range looks like that where kaffe builds its
>JITted instruciton buffers in MIPS/Linux.  And, like I say, JIT is
>somewhat broken for MIPS in Kaffe.  Which version of the kaffe sources
>are you building, and have you tried configuring with --with-engine=intrp
>as I suggested?
>
>             Regards,
>
>             Kevin K.

_________________________________________________________________
Click, drag and drop. My MSN is the simple way to design your homepage. 
http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2004-03-01 15:38 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22  3:02 r3000 instruction set Mark and Janice Juszczec
2004-02-22  3:15 ` Michael Uhler
2004-02-22  9:32 ` Kevin D. Kissell
2004-02-22  9:32   ` Kevin D. Kissell
2004-02-22 12:31 ` Dominic Sweetman
2004-02-22 19:13 ` Eric Christopher
2004-02-22 21:52   ` Kevin D. Kissell
2004-02-22 21:52     ` Kevin D. Kissell
2004-02-23  3:03     ` Steven J. Hill
2004-02-23  7:03       ` Kevin D. Kissell
2004-02-23  7:03         ` Kevin D. Kissell
2004-02-23  3:37     ` Eric Christopher
2004-02-23  7:11       ` Kevin D. Kissell
2004-02-23  7:11         ` Kevin D. Kissell
2004-02-23  7:29         ` Eric Christopher
  -- strict thread matches above, loose matches on Subject: below --
2004-02-23 16:56 Mark and Janice Juszczec
2004-02-23 17:07 ` Michael Uhler
2004-02-23 17:13 ` Maciej W. Rozycki
2004-02-23 17:21 ` Kevin D. Kissell
2004-02-23 17:21   ` Kevin D. Kissell
2004-02-23 17:59 ` Dominic Sweetman
2004-02-23 20:48 Mark and Janice Juszczec
2004-02-23 22:46 ` Kevin D. Kissell
2004-02-23 22:46   ` Kevin D. Kissell
2004-03-01 15:38 Mark and Janice Juszczec

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.