@@ -1917,7 +1917,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compi
1917
1917
/* Perform an operation using the conditional flags as the second argument.
1918
1918
Type must always be between SLJIT_EQUAL and SLJIT_ORDERED_LESS_EQUAL.
1919
1919
The value represented by the type is 1, if the condition represented
1920
- by the type is fulfilled, and 0 otherwise.
1920
+ by type is fulfilled, and 0 otherwise.
1921
1921
1922
1922
When op is SLJIT_MOV or SLJIT_MOV32:
1923
1923
Set dst to the value represented by the type (0 or 1).
@@ -1931,7 +1931,9 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *co
1931
1931
sljit_s32 type );
1932
1932
1933
1933
/* Emit a conditional select instruction which moves src1 to dst_reg,
1934
- if the condition is satisfied, or src2_reg to dst_reg otherwise.
1934
+ if the conditional flag is set, or src2_reg to dst_reg otherwise.
1935
+ The conditional flag should be set before executing the select
1936
+ instruction.
1935
1937
1936
1938
type must be between SLJIT_EQUAL and SLJIT_ORDERED_LESS_EQUAL
1937
1939
type can be combined (or'ed) with SLJIT_32 to move 32 bit
@@ -1949,8 +1951,9 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_select(struct sljit_compiler *comp
1949
1951
sljit_s32 src2_reg );
1950
1952
1951
1953
/* Emit a conditional floating point select instruction which moves
1952
- src1 to dst_reg, if the condition is satisfied, or src2_reg to
1953
- dst_reg otherwise.
1954
+ src1 to dst_reg, if the conditional flag is set, or src2_reg to
1955
+ dst_reg otherwise. The conditional flag should be set before
1956
+ executing the select instruction.
1954
1957
1955
1958
type must be between SLJIT_EQUAL and SLJIT_ORDERED_LESS_EQUAL
1956
1959
type can be combined (or'ed) with SLJIT_32 to move 32 bit
0 commit comments