Lines Matching refs:S
35 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); in load_immediate()
38 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; in load_immediate()
43 (RLWINM | S(src) | A(dst) | RLWI_MBE(from, 31))
57 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); in emit_single_op()
65 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
69 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
80 return push_inst(compiler, EXTSH | S(src2) | A(dst)); in emit_single_op()
90 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
95 FAIL_IF(push_inst(compiler, AND | S(src2) | A(dst) | B(TMP_REG1))); in emit_single_op()
96 FAIL_IF(push_inst(compiler, CNTLZW | S(dst) | A(dst))); in emit_single_op()
99 FAIL_IF(push_inst(compiler, SRWI(27) | S(TMP_REG1) | A(TMP_REG1))); in emit_single_op()
100 return push_inst(compiler, XOR | S(dst) | A(dst) | B(TMP_REG1)); in emit_single_op()
203 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
207 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
209 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
214 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
218 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
224 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(imm))); in emit_single_op()
225 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
227 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
232 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
236 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
242 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(imm))); in emit_single_op()
243 return push_inst(compiler, XORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
247 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
249 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
256 return push_inst(compiler, SLWI(imm) | RC(flags) | S(src1) | A(dst)); in emit_single_op()
260 FAIL_IF(push_inst(compiler, ANDI | S(src2) | A(TMP_REG2) | 0x1f)); in emit_single_op()
264 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
272 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | RLWI_SH((32 - imm) & 0x1f) | RL… in emit_single_op()
276 FAIL_IF(push_inst(compiler, ANDI | S(src2) | A(TMP_REG2) | 0x1f)); in emit_single_op()
280 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
287 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (imm << 11)); in emit_single_op()
291 FAIL_IF(push_inst(compiler, ANDI | S(src2) | A(TMP_REG2) | 0x1f)); in emit_single_op()
295 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
307 return push_inst(compiler, RLWINM | S(src1) | A(dst) | RLWI_SH(imm) | RLWI_MBE(0, 31)); in emit_single_op()
315 return push_inst(compiler, RLWNM | S(src1) | A(dst) | B(src2) | RLWI_MBE(0, 31)); in emit_single_op()
325 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
352 FAIL_IF(push_inst(compiler, XORIS | S(src) | A(TMP_REG1) | 0x8000)); in sljit_emit_fop1_conv_f64_from_sw()
353 FAIL_IF(push_inst(compiler, STW | S(TMP_REG2) | A(SLJIT_SP) | TMP_MEM_OFFSET_HI)); in sljit_emit_fop1_conv_f64_from_sw()
354 FAIL_IF(push_inst(compiler, STW | S(TMP_REG1) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fop1_conv_f64_from_sw()
357 FAIL_IF(push_inst(compiler, STW | S(TMP_REG1) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fop1_conv_f64_from_sw()
390 FAIL_IF(push_inst(compiler, STW | S(src) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fop1_conv_f64_from_uw()
391 FAIL_IF(push_inst(compiler, STW | S(TMP_REG2) | A(SLJIT_SP) | TMP_MEM_OFFSET_HI)); in sljit_emit_fop1_conv_f64_from_uw()
394 FAIL_IF(push_inst(compiler, STW | S(TMP_ZERO) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fop1_conv_f64_from_uw()
426 …FAIL_IF(push_inst(compiler, STW | S(u.imm[0] != 0 ? TMP_REG1 : TMP_ZERO) | A(SLJIT_SP) | TMP_MEM_O… in sljit_emit_fset64()
427 …FAIL_IF(push_inst(compiler, STW | S(u.imm[1] != 0 ? TMP_REG2 : TMP_ZERO) | A(SLJIT_SP) | (TMP_MEM_… in sljit_emit_fset64()
441 FAIL_IF(push_inst(compiler, STW | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fcopy()
446 return push_inst(compiler, LWZ | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET); in sljit_emit_fcopy()
455 FAIL_IF(push_inst(compiler, STW | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET_HI)); in sljit_emit_fcopy()
458 FAIL_IF(push_inst(compiler, STW | S(reg2) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fcopy()
468 FAIL_IF(push_inst(compiler, LWZ | S(reg2) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fcopy()
470 return push_inst(compiler, LWZ | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET_HI); in sljit_emit_fcopy()