Home | History | Annotate | Download | only in sljit

Lines Matching refs:push_inst

42 	push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1))
52 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm));
55 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm));
58 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16)));
59 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS;
70 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48)));
76 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(tmp >> 48)));
77 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp >> 32)));
87 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48)));
89 return push_inst(compiler, ORI | S(reg) | A(reg) | tmp2);
93 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48)));
95 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | (tmp2 >> 16)));
96 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp2)) : SLJIT_SUCCESS;
103 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48)));
107 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | (tmp2 >> 48)));
112 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 48)));
113 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm >> 32)));
115 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(imm >> 16)));
116 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm));
126 FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
133 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
137 FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
144 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
156 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2));
164 return push_inst(compiler, EXTSW | S(src2) | A(dst));
165 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 0));
177 return push_inst(compiler, EXTSB | S(src2) | A(dst));
178 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24));
181 return push_inst(compiler, EXTSB | S(src2) | A(dst));
192 return push_inst(compiler, EXTSH | S(src2) | A(dst));
193 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 16));
203 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2));
208 return push_inst(compiler, NEG | OERC(flags) | D(dst) | A(src2));
213 return push_inst(compiler, CNTLZW | RC(flags) | S(src2) | A(dst));
214 return push_inst(compiler, CNTLZD | RC(flags) | S(src2) | A(dst));
220 return push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm);
225 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm);
230 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm);
234 FAIL_IF(push_inst(compiler, ADDI | D(dst) | A(src1) | (compiler->imm & 0xffff)));
235 return push_inst(compiler, ADDIS | D(dst) | A(dst) | (((compiler->imm >> 16) & 0xffff) + ((compiler->imm >> 15) & 0x1)));
238 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2));
240 return push_inst(compiler, ADDC | OERC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2));
244 FAIL_IF(push_inst(compiler, MFXER | D(0)));
245 FAIL_IF(push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)));
246 return push_inst(compiler, MTXER | S(0));
249 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2));
255 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm);
260 FAIL_IF(push_inst(compiler, CMPI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler->imm));
262 return push_inst(compiler, CMPLI | CRD(4 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler->imm);
267 FAIL_IF(push_inst(compiler, CMPL | CRD(4 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2)));
269 return push_inst(compiler, CMP | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2));
273 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1));
276 FAIL_IF(push_inst(compiler, CMPL | CRD(4 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2)));
277 return push_inst(compiler, SUBFC | OERC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1));
281 FAIL_IF(push_inst(compiler, MFXER | D(0)));
282 FAIL_IF(push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)));
283 return push_inst(compiler, MTXER | S(0));
286 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1));
291 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm);
295 return push_inst(compiler, MULLW | OERC(flags) | D(dst) | A(src2) | B(src1));
296 return push_inst(compiler, MULLD | OERC(flags) | D(dst) | A(src2) | B(src1));
301 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm);
305 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm);
307 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2));
312 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm);
316 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm);
320 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(compiler->imm)));
321 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16));
323 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2));
328 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm);
332 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm);
336 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(compiler->imm)));
337 return push_inst(compiler, XORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16));
339 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2));
346 return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - compiler->imm) << 1));
350 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags));
353 return push_inst(compiler, ((flags & ALT_FORM2) ? SLW : SLD) | RC(flags) | S(src1) | A(dst) | B(src2));
360 return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) << 11) | (compiler->imm << 6) | (31 << 1));
364 return push_inst(compiler, RLDI(dst, src1, 64 - compiler->imm, compiler->imm, 0) | RC(flags));
367 return push_inst(compiler, ((flags & ALT_FORM2) ? SRW : SRD) | RC(flags) | S(src1) | A(dst) | B(src2));
371 FAIL_IF(push_inst(compiler, MFXER | D(0)));
376 FAIL_IF(push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)));
380 FAIL_IF(push_inst(compiler, SRADI | RC(flags) | S(src1) | A(dst) | ((compiler->imm & 0x1f) << 11) | ((compiler->imm & 0x20) >> 4)));
384 FAIL_IF(push_inst(compiler, ((flags & ALT_FORM2) ? SRAW : SRAD) | RC(flags) | S(src1) | A(dst) | B(src2)));
385 return (flags & ALT_FORM3) ? push_inst(compiler, MTXER | S(0)) : SLJIT_SUCCESS;
394 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 48)));
395 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value >> 32)));
397 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(init_value >> 16)));
398 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value));