You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running some tests with em_mini 16registers target, took libgcc.a from 2021.03 release candidate.
At least em_mini has issues with calculating unsinged int modulo with __umodsi3().
for unsigned int X bigger than 0xa000_0000 "x % 10" is always equals x.
I tested only em_mini, only unsigned integers and only 10 on right side.
And to make test faster I checked only for results bigger than 9, not for absolute correctness.
Regards,
Igor.
The text was updated successfully, but these errors were encountered:
Hi,
I was running some tests with em_mini 16registers target, took libgcc.a from 2021.03 release candidate.
At least em_mini has issues with calculating unsinged int modulo with __umodsi3().
for unsigned int X bigger than 0xa000_0000 "x % 10" is always equals x.
I tested only em_mini, only unsigned integers and only 10 on right side.
And to make test faster I checked only for results bigger than 9, not for absolute correctness.
Regards,
Igor.
The text was updated successfully, but these errors were encountered: