summaryrefslogtreecommitdiff
path: root/src/support/bits.h
Commit message (Collapse)AuthorAgeFilesLines
* More simple math opts (#1414)Alon Zakai2018-02-141-0/+7
| | | | | | | | * optimize more simple math operations: mul of 0, or of 0, and of 0, mul of 1, mul of a power of 2, urem of a power of 2 * fix asm2wasm callImport parsing: the optimizer may get rid of the added offset to a function table * update js builds
* Fix Visual Studio 2015 C++ warning about negating unsigned value by adding ↵BSalita2016-05-111-4/+4
| | | | typename U in bits.h (#471)
* add Log2 and Pow2 support methodsAlon Zakai2016-03-161-0/+2
|
* Move rol/ror to src/support/bits.hDerek Schuff2016-03-091-0/+15
|
* De-inline signed wrapper templates for bit manipulation functionsDerek Schuff2016-02-031-3/+3
| | | | This fixes the clang build.
* Move bits.h to support/JF Bastien2016-02-031-0/+70
Faster compiles.