WebAssembly SIMD-specific bitwise instructions.
all_trueTests whether all lanes of a v128 input value are non-zero.
andnotTakes two v128 input values. It performs a bitwise AND on the first value and a second value equal to the result of performing a bitwise NOT on each byte of the second original value. It returns a new v128 value containing the result.
any_trueTests whether a v128 input value contains any non-zero bits.
bitmaskInspects the most significant bit (MSB) — bit 7 — of each byte of a v128 value interpretation. This is the sign bit if the value is treated as signed. The instruction's output value is equal to all of those bits collected into a single i32.
bitselectTakes three v128 values as inputs — two inputs and a mask value — and returns a new v128 value with each byte calculated using the formula output = (input1 AND mask) OR (input2 AND NOT mask).
notPerforms a bitwise NOT on each byte of a v128 value and returns a new v128 value containing the result.