GCC can emit a call for __ashldi3 for a left shift between int64_t when using -Os. GCC won't emit this call when using -Ofast, but it can still be good to have.
To recreate:
long long __ll_lshift(long long left, long long right) {
return left << right;
}
GCC can emit a call for
__ashldi3for a left shift betweenint64_twhen using-Os. GCC won't emit this call when using-Ofast, but it can still be good to have.To recreate: