[PATCH v2] newlib: fix build with <gcc-5 versions

Steven J Abner pheonix.sja@att.net
Sun Mar 20 20:24:09 GMT 2022


Solution was quick attempt at original i386 problem, I am aware one 
would need to break down for actual 64 or 128 bit returns and could use 
96,160 bit math depending
on what (a) and (b) enter as, but question of why 0 if is to be newlib 
supplied.
Curiousity
Steve
 >On 20 Mar 2022 12:13, I wrote:
 >I'm probably out of my depth, but along the same question:
 >Why 0 return and not ((bool)(((unsigned long long)(a) * (b)) >> 32))
 >or prepend with '!!'?





More information about the Newlib mailing list