_kortest_mask16_u8
Classification
Header File
Instruction
KORTESTW k, k
Synopsis
_kortest_mask16_u8(__mmask16 a, __mmask16 b, unsigned char* all_ones);
Description
Compute the bitwise OR of 16-bit masks "a" and "b". If the result is all zeros, store 1 in "dst", otherwise store 0 in "dst". If the result is all ones, store 1 in "all_ones", otherwise store 0 in "all_ones".
Operation
tmp[15:0] := a[15:0] OR b[15:0]
IF tmp[15:0] == 0x0
dst := 1
ELSE
dst := 0
FI
IF tmp[15:0] == 0xFFFF
MEM[all_ones+7:all_ones] := 1
ELSE
MEM[all_ones+7:all_ones] := 0
FI