Got some regressions downstream after commit b541196eb45d80f2d
due to the new code assuming sizeof(long long)==8. This is a fixup
for that problem.
And while being at it, also adding the missing file header.
Differential D78300
[builtins] Do not assume sizeof(long long)==8 in int_div_impl.inc bjope on Apr 16 2020, 7:31 AM. Authored by
Details
Got some regressions downstream after commit b541196eb45d80f2d And while being at it, also adding the missing file header.
Diff Detail
Event TimelineComment Actions Pushed 17772995d48b8c10a3142d602e228f3ebeed85bf instead It is still unclear to me why assuming sizeof(long long)==8 can cause problems. You need to provide more information. Comment Actions udivdi3 use du_int, which maps to unsigned long long. And with CHAR_BIT=16 we get sizeof(du_int)==sizeof(unsigned long lon)==4. |