[vmips] Instructions emulated?

Cable Guy donimus at gmail.com
Sun Dec 5 17:57:57 CST 2004


I don't think it does, but can you confirm there's no VMIPS support
for the instructions "ll" and "sc"?  I'm having a devil of a time
building my own toolchain since GCC, at least through the 3.2.x
series, won't generate mips1 code without them, even when -march=r3000
and/or -mips1 is specified.  I found this thread...
http://gcc.gnu.org/ml/gcc/2002-06/msg01189.html
... which pre-dates GCC 3.2 and the behavior still hasn't been fixed
satisfactorally in over 2 years.  After spending several days building
and re-building cross-compilers for MIPS for gcc 3.2, 3.2.1, 3.2.2 and
3.2.3 I'm starting to think the answer is to modify VMIPS instead to
handle these instructions.  The cpu I want to emulate - the MIPS 4kc -
does implement the "ll" and "sc" instructions so I think that is
probably the best way to go if I ever hope to run or debug code for my
router.


More information about the Vmips mailing list