home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / hardware / 37 < prev    next >
Encoding:
Text File  |  1992-12-24  |  1.5 KB  |  45 lines

  1. Newsgroups: comp.sys.sgi.hardware
  2. Path: sparky!uunet!wupost!howland.reston.ans.net!sol.ctr.columbia.edu!venezia!penev
  3. From: penev@venezia (Penio Penev)
  4. Subject: R3000 -> R4000 incompatibility?
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: Rockefeller University
  7. Date: Thu, 24 Dec 1992 07:06:21 GMT
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. Message-ID: <1992Dec24.070621.2821@sol.ctr.columbia.edu>
  10. Reply-To: penev@venezia.rockefeller.edu
  11. X-Posted-From: venezia.rockefeller.edu
  12. NNTP-Posting-Host: sol.ctr.columbia.edu
  13. Lines: 30
  14.  
  15.  
  16. Does any one know a reason, why a program, runnng on R3000 would not
  17. run on R4000?
  18.  
  19. I'm using only ALU, memory and branch instructions. No coprocessor 
  20. (0 or 1), not mul/dev.
  21.  
  22. The program runs on R3000 (IRIX 4.0.1), but fails on R4000 (4.0.4).
  23. The error is reproducible, occures allways in the same region of the
  24. program, and behaves identically on successive runs. It seems to me
  25. like a jump to a bad address, resulting from a bad value in the $ra
  26. register.The problem is that whenever I put brakepoints "close enough"
  27. and do noting, but cont in them, it disappers.
  28.  
  29. I have two explanations: 1) I do not fill the load delay slot
  30. properly, which results in jump to garbage. 2) I have made a mistake,
  31. but such a one, that the R3000 hazard (un)handling corrects it.
  32.  
  33. I tried very hard to get the worng register before the jump, but
  34. apparently I couldn't. As soon as I put a break point, the error
  35. disapperars. 
  36.  
  37.  
  38. Has anyone, presumably writing in .set reorder no, seen such
  39. behavioural pattern?
  40.  
  41. Thanks in advance.
  42.  
  43. -- Penio.  penev@venezia.rockefeller.edu
  44.  
  45.