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()
94 if (flags & ALT_FORM1) { in emit_single_op()
99 if (flags & ALT_FORM2) { in emit_single_op()
103 if (flags & ALT_FORM3) in emit_single_op()
106 if (flags & ALT_FORM4) { in emit_single_op()
113 if (flags & ALT_FORM3) { in emit_single_op()
117 SLJIT_ASSERT(!(flags & ALT_FORM4)); in emit_single_op()
118 if (!(flags & ALT_SET_FLAGS)) in emit_single_op()
120 if (flags & ALT_FORM5) in emit_single_op()
122 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
128 if (flags & ALT_FORM1) { in emit_single_op()
129 if (flags & ALT_FORM2) { in emit_single_op()
131 if (!(flags & ALT_FORM3)) in emit_single_op()
136 if (!(flags & ALT_FORM3)) in emit_single_op()
141 if (flags & ALT_FORM2) { in emit_single_op()
142 if (flags & ALT_FORM3) { in emit_single_op()
144 if (!(flags & ALT_FORM4)) in emit_single_op()
149 if (!(flags & ALT_FORM4)) in emit_single_op()
154 if (flags & ALT_FORM3) { in emit_single_op()
161 if (flags & ALT_FORM4) { in emit_single_op()
167 if (!(flags & ALT_SET_FLAGS)) { in emit_single_op()
172 if (flags & ALT_FORM5) in emit_single_op()
183 if (flags & ALT_FORM1) { in emit_single_op()
187 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
190 if (flags & ALT_FORM1) { in emit_single_op()
194 if (flags & ALT_FORM2) { in emit_single_op()
198 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
201 if (flags & ALT_FORM1) { in emit_single_op()
205 if (flags & ALT_FORM2) { in emit_single_op()
209 if (flags & ALT_FORM3) { in emit_single_op()
214 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
217 if (flags & ALT_FORM1) { in emit_single_op()
221 if (flags & ALT_FORM2) { in emit_single_op()
225 if (flags & ALT_FORM3) { in emit_single_op()
230 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
233 if (flags & ALT_FORM1) { in emit_single_op()
236 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - … in emit_single_op()
238 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
241 if (flags & ALT_FORM1) { in emit_single_op()
244 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) … in emit_single_op()
246 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
249 if (flags & ALT_FORM1) { in emit_single_op()
252 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)); in emit_single_op()
254 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()