On Sun, Sep 14, 2014 at 12:06:03AM +0100, Maciej W. Rozycki wrote: > On Fri, 4 Jul 2014, Paul Burton wrote: > > > > > I'm in 2 minds about this - it sounds crazy but perhaps it's the most > > > > sane option available :) > > > > > > Sanity is overrated anyway ;-) > > > > I had originally left this patch at the point I started considering > > implementing emulation for the whole ISA in the kernel, figuring I was > > going insane & should probably do something else for a while. Perhaps I > > shouldn't worry so much ;) > > One question: does this emulation handle PC-relative instructions placed > in a branch delay slot correctly? This only applies to microMIPS ADDIUPC > at the moment I believe, but still that has to work correctly whether on > FP hardware or emulated. > > Maciej Hi Maciej, That's a good question, and no I don't believe the current dsemul code will handle that correctly. Perhaps that's another argument in favor of the full on emulator... Paul