During data exceptions the following scenario fails

 

LDM R0, {R0 R1}  // where the first word is read in page X and the second in page x+1

 

R0 is then updated with the loaded value and the instruction cannot be “replayed” when the exception handler has updated the MMU. The fix is trivial, just store the R0 value in T2 until all other loads have been performed. I have a fix for the old non-tcg code but it does not seem relevant anymore. (Paul: Great work with TCG, looking forward to test it soon)

 

Best Regards

Torbjörn