Topic : RKit-ARM Simulator Errors

Forum : ARM

Original Post
Post Information Post
February 4, 2011 - 11:56pm
Guest

While trying to debug my code, I have run across two RKit-ARM simulator errors in the 1.30.10.0356 release.

1. LSLS Rd, Rm, #1 with the least significant bit of Rm set does not set the carry flag (ASLS Rd, Rm, #1 does)
2. RRXS Rd, Rm with the carry bit set does not set the most significant bit of Rd

This appears to be affecting the simulation of 64-bit integer arithmetic generated by the C compiler.

When can we expect these simulator errors to be repaired?

Replies
Post Information Post
+1
0
-1
February 7, 2011 - 2:46pm
Raisonance Support Team

Hi,

Thanks for your report. We have been able to reproduce and fix the problem.
All the 1-bit logical right shift instructions are impacted.
The simulation of Thumb-2 instructions was not correctly performing the 1-bit logical shift right operations (form SRType_RRX): The carry flag was not taken into account.

This problem has only an impact on simulation, not on debug.

The bug has been corrected and will be available in the next RKit-ARM release, due early March.

Best Regards,

+1
0
-1
February 8, 2011 - 4:47am
Guest

Bruno,

Thanks for your quick response. I look forward to the fix.