feat(big): add SBigShl

This commit is contained in:
fallenoak 2023-02-03 16:20:07 -06:00
parent 60edadfe06
commit 25c2ad06f1
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
5 changed files with 212 additions and 0 deletions

View file

@ -49,6 +49,10 @@ void SBigMul(BigData* a, BigData* b, BigData* c) {
Mul(a->Primary(), b->Primary(), c->Primary(), a->Stack());
}
void SBigShl(BigData* a, BigData* b, uint32_t shift) {
Shl(a->Primary(), b->Primary(), shift);
}
void SBigShr(BigData* a, BigData* b, uint32_t shift) {
Shr(a->Primary(), b->Primary(), shift);
}