[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why do you want to use“cast_int“ to force “ui” to int
- From: bil til <biltil52@...>
- Date: Fri, 20 Jan 2023 19:27:07 +0100
I just googelt the UDIV SDIV cycle time for cortex M4.
There it says that the devide operation will be faster, if the number
to devide (the "counter") has more leading zero bits... . This is
somehow understandable if you think about this "multiply/substract
game" you learn in grammar school for deviding numbers... .
But the people generally seem to assume that UDIV/SDIV is same
speed... . (sorry, no time currently to test this ... maybe some time
in the next weeks to check this... really somehow bizarre /surprising
to me... ).
- References:
- Why do you want to use“cast_int“ to force “ui” to int, game frog
- Re: Why do you want to use“cast_int“ to force “ui” to int, bil til
- Re: Why do you want to use“cast_int“ to force “ui” to int, froggame505384662
- Re: Why do you want to use“cast_int“ to force “ui” to int, bil til
- Re: Why do you want to use“cast_int“ to force “ui” to int, game frog
- Re: Why do you want to use“cast_int“ to force “ui” to int, bil til
- Re: Why do you want to use“cast_int“ to force “ui” to int, game frog
- Re: Why do you want to use“cast_int“ to force “ui” to int, bil til
- Re: Why do you want to use“cast_int“ to force “ui” to int, game frog
- Re: Why do you want to use“cast_int“ to force “ui” to int, game frog