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
From what I have seen cc1plus.exe is emitting a __mulll3 call instead of a __muldi3 call for 64 bits multiplications. From a quick test other 64 bits operations seems to present the same issue.
Minimal reproducer:
// test.cppunsignedlongtest_mul(unsignedlong a, unsignedlong b) {
return a * b;
}
From what I have seen cc1plus.exe is emitting a
__mulll3
call instead of a__muldi3
call for 64 bits multiplications. From a quick test other 64 bits operations seems to present the same issue.Minimal reproducer:
Produces this under wibo:
This is what is produced under wine
(The only difference is the
jal __mulll3
vsjal __muldi3
)Those were generated with the following flags:
cc1plus.exe can be found here: https://github.com/AngheloAlf/sce_ps2_sdk_24/releases
The text was updated successfully, but these errors were encountered: