_svfprintf_r includes aeabi_uldivmod which in turn includes software divisions..?

Status
Not open for further replies.

Frank B

Senior Member
Teensy 4, see title.
Do we have a bug with printf? Perhaps include a wrong library?
T4 shouldn't need integer divisions in software...
The added code is a) slow and b) very large... and not enough, all that code is placed in ITCM..
 
@Frank B
Ok - I know I can't answer this but curious since I have no idea what it means. Think you are saying that what lib is included its using software to calculate integer divisions when T4 should be doing it natively?
 
@Frank B
Ok - I know I can't answer this but curious since I have no idea what it means. Think you are saying that what lib is included its using software to calculate integer divisions when T4 should be doing it natively?

Yes :)
In the meantime I have now learned that __aeabi_uldivmod is used here for 64 bit data types.
So, everything is OK.


 
Status
Not open for further replies.
Back
Top