diff options
author | Max Graey <maxgraey@gmail.com> | 2020-09-17 23:05:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 13:05:55 -0700 |
commit | 2d47c0b8ae7b72e710b982abce83429c50c6de30 (patch) | |
tree | 45eb34e10b508f6f5d1585b53345776cdde26a07 /test/binaryen.js/functions.js | |
parent | 6116553a91b5da4fd877480bb27fc88b264b737f (diff) | |
download | binaryen-2d47c0b8ae7b72e710b982abce83429c50c6de30.tar.gz binaryen-2d47c0b8ae7b72e710b982abce83429c50c6de30.tar.bz2 binaryen-2d47c0b8ae7b72e710b982abce83429c50c6de30.zip |
Implement more cases for getMaxBits (#2879)
- Complete 64-bit cases in range `AddInt64` ... `ShrSInt64`
- `ExtendSInt32` and `ExtendUInt32` for unary cases
- For binary cases
- `AddInt32` / `AddInt64`
- `MulInt32` / `MulInt64`
- `RemUInt32` / `RemUInt64`
- `RemSInt32` / `RemSInt64`
- `DivUInt32` / `DivUInt64`
- `DivSInt32` / `DivSInt64`
- and more
Also more fast paths for some getMaxBits calculations
Diffstat (limited to 'test/binaryen.js/functions.js')
0 files changed, 0 insertions, 0 deletions