Lines Matching refs:flags
44 …JIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_single_op() argument
60 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
65 else if ((flags & REG_DEST) && op == SLJIT_MOV_S8) in emit_single_op()
75 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
87 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
92 …return push_inst(compiler, NEG | OE((flags & ALT_FORM1) ? ALT_SET_FLAGS : 0) | RC(flags) | D(dst) … in emit_single_op()
99 if (flags & ALT_FORM1) { in emit_single_op()
104 if (flags & ALT_FORM2) { in emit_single_op()
108 if (flags & ALT_FORM3) in emit_single_op()
111 if (flags & ALT_FORM4) { in emit_single_op()
118 if (flags & ALT_FORM3) { in emit_single_op()
122 if (!(flags & ALT_SET_FLAGS)) in emit_single_op()
124 if (flags & ALT_FORM4) in emit_single_op()
126 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
132 if (flags & ALT_FORM1) { in emit_single_op()
133 if (flags & ALT_FORM2) { in emit_single_op()
135 if (!(flags & ALT_FORM3)) in emit_single_op()
140 if (!(flags & ALT_FORM3)) in emit_single_op()
145 if (flags & ALT_FORM2) { in emit_single_op()
150 if (flags & ALT_FORM3) { in emit_single_op()
156 if (flags & ALT_FORM4) { in emit_single_op()
157 if (flags & ALT_FORM5) { in emit_single_op()
164 if (!(flags & ALT_SET_FLAGS)) in emit_single_op()
166 if (flags & ALT_FORM5) in emit_single_op()
168 return push_inst(compiler, SUBF | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
174 if (flags & ALT_FORM1) { in emit_single_op()
178 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
181 if (flags & ALT_FORM1) { in emit_single_op()
185 if (flags & ALT_FORM2) { in emit_single_op()
189 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
192 if (flags & ALT_FORM1) { in emit_single_op()
196 if (flags & ALT_FORM2) { in emit_single_op()
200 if (flags & ALT_FORM3) { in emit_single_op()
205 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
208 if (flags & ALT_FORM1) { in emit_single_op()
212 if (flags & ALT_FORM2) { in emit_single_op()
216 if (flags & ALT_FORM3) { in emit_single_op()
221 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
224 if (flags & ALT_FORM1) { in emit_single_op()
227 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - … in emit_single_op()
229 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
232 if (flags & ALT_FORM1) { in emit_single_op()
235 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) … in emit_single_op()
237 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
240 if (flags & ALT_FORM1) { in emit_single_op()
243 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)); in emit_single_op()
245 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()