diff options
Diffstat (limited to 'src/asmjs/shared-constants.cpp')
-rw-r--r-- | src/asmjs/shared-constants.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp index 6e92f1b3e..43c3d1065 100644 --- a/src/asmjs/shared-constants.cpp +++ b/src/asmjs/shared-constants.cpp @@ -62,18 +62,21 @@ cashew::IString GLOBAL("global"), MATH_IMUL("Math_imul"), MATH_ABS("Math_abs"), MATH_CEIL("Math_ceil"), + MATH_CLZ32("Math_clz32"), MATH_FLOOR("Math_floor"), MATH_TRUNC("Math_trunc"), MATH_NEAREST("Math_NEAREST"), MATH_SQRT("Math_sqrt"), MATH_MIN("Math_min"), MATH_MAX("Math_max"), - CTZ32("__wasm_ctz_i32"), - CTZ64("__wasm_ctz_i64"), - POPCNT32("__wasm_popcnt_i32"), - POPCNT64("__wasm_popcnt_i64"), - ROTL32("__wasm_rotl_i32"), - ROTL64("__wasm_rotl_i64"), - ROTR32("__wasm_rotr_i32"), - ROTR64("__wasm_rotr_i64"); + WASM_CTZ32("__wasm_ctz_i32"), + WASM_CTZ64("__wasm_ctz_i64"), + WASM_CLZ32("__wasm_clz_i32"), + WASM_CLZ64("__wasm_clz_i64"), + WASM_POPCNT32("__wasm_popcnt_i32"), + WASM_POPCNT64("__wasm_popcnt_i64"), + WASM_ROTL32("__wasm_rotl_i32"), + WASM_ROTL64("__wasm_rotl_i64"), + WASM_ROTR32("__wasm_rotr_i32"), + WASM_ROTR64("__wasm_rotr_i64"); } |