WebAssembly numeric instructions.
constDeclare a constant number.
eqCheck if two numbers are equal.
eqzCheck if a number is equal to 0.
neCheck if two numbers are not equal.
gtCheck if a floating point number is greater than another floating point number.
gt_sCheck if a signed integer is greater than another signed integer.
gt_uCheck if an unsigned integer is greater than another unsigned integer.
ltCheck if a floating point number is less than another floating point number.
lt_sCheck if a signed integer is less than another signed integer.
lt_uCheck if an unsigned integer is less than another unsigned integer.
geCheck if a floating point number is greater than or equal to another floating point number.
ge_sCheck if a signed integer is greater than or equal to another signed integer.
ge_uCheck if an unsigned integer is greater than or equal to another unsigned integer.
leCheck if a floating point number is less than or equal to another floating point number.
le_sCheck if a signed integer is less than or equal to another signed integer.
le_uCheck if an unsigned integer is less than or equal to another unsigned integer.
addAdd up two numbers.
subSubtract one number from another number.
mulMultiply one number by another number.
divDivide one number by another number.
remCalculate the remainder left over when one integer is divided by another integer.
extendConvert (extend) i32 to i64.
wrap_i64Convert (wrap) i64 to i32.
promote_32Convert (promote) f32 to f64.
demoteConvert (demote) f64 to f32.
convertConvert integers to floating points.
truncGets the value of a floating point number without its fractional part.
trunc_f32_sRemoves the fractional part of an f32 value and outputs it as a signed integer.
trunc_f32_uRemoves the fractional part of an f32 value and outputs it as an unsigned integer.
trunc_f64_sRemoves the fractional part of an f64 value and outputs it as a signed integer.
trunc_f64_uRemoves the fractional part of an f64 value and outputs it as an unsigned integer.
reinterpretReinterpret the bytes of integers as floating points and vice versa.
minGet the lower of two numbers.
maxGet the higher of two floating point numbers.
nearestRound a number to the nearest integer.
ceilRound up a number.
floorRound down a number.
truncDiscard the fractional part of a number.
absGet the absolute value of a number.
negNegate a number.
sqrtGet the square root of a number.
copysignCopy just the sign bit from one number to another.
andUsed for performing a bitwise AND.
orUsed for performing a bitwise OR.
xorUsed for performing a bitwise XOR.
shlUsed for performing a bitwise left-shift.
shr_sUsed for performing a bitwise right-shift on signed integers.
shr_uUsed for performing a bitwise right-shift on unsigned integers.
rotlUsed for performing a bitwise left-rotate.
rotrUsed for performing a bitwise right-rotate.
clzCount the amount of leading zeros in a numbers binary representation.
ctzCount the amount of trailing zeros in a numbers binary representation.
popcntCount the total amount of 1s in a numbers binary representation.
extend8_sSign-extend the low 8 bits of an integer to propagate its sign throughout the entire value.
extend16_sSign-extend the low 16 bits of an integer to propagate its sign throughout the entire value.
extend32_sSign-extend the low 32 bits of a 64-bit integer to propagate its sign throughout the entire value.