Lines Matching refs:A

32 		return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm));  in load_immediate()
35 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); in load_immediate()
37 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); 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()
94 FAIL_IF(push_inst(compiler, NEG | D(TMP_REG1) | A(src2))); 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()
97 FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG1) | A(dst) | IMM(-32))); 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()
105 …return push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2… in emit_single_op()
113 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
118 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((imm >> 16) & 0xffff) + ((imm >> 15) & 0x… in emit_single_op()
122 return push_inst(compiler, ADDI | D(dst) | A(src1) | (imm & 0xffff)); in emit_single_op()
126 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
130 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
132 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
133 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
136 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
141 FAIL_IF(push_inst(compiler, CMPLI | CRD(0) | A(src1) | compiler->imm)); in emit_single_op()
144 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
146 FAIL_IF(push_inst(compiler, CMPL | CRD(0) | A(src1) | B(src2))); in emit_single_op()
149 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
154 FAIL_IF(push_inst(compiler, CMPI | CRD(0) | A(src1) | compiler->imm)); in emit_single_op()
157 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
159 FAIL_IF(push_inst(compiler, CMP | CRD(0) | A(src1) | B(src2))); in emit_single_op()
162 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
168 …return push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src… in emit_single_op()
169 return push_inst(compiler, NEG | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2)); in emit_single_op()
175 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
180 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
184 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
187 return push_inst(compiler, SUBF | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
188 return push_inst(compiler, NEG | RC(ALT_SET_FLAGS) | D(dst) | A(src2)); in emit_single_op()
191 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
196 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
198 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); 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()
311 FAIL_IF(push_inst(compiler, SUBFIC | D(TMP_REG2) | A(src2) | 0)); in emit_single_op()
315 return push_inst(compiler, RLWNM | S(src1) | A(dst) | B(src2) | RLWI_MBE(0, 31)); in emit_single_op()
324 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 16))); in emit_const()
325 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
350 FAIL_IF(push_inst(compiler, ADDIS | D(TMP_REG2) | A(0) | 0x4330)); in sljit_emit_fop1_conv_f64_from_sw()
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()
355 FAIL_IF(push_inst(compiler, ADDIS | D(TMP_REG1) | A(0) | 0x8000)); in sljit_emit_fop1_conv_f64_from_sw()
356 FAIL_IF(push_inst(compiler, LFD | FS(TMP_FREG1) | A(SLJIT_SP) | TMP_MEM_OFFSET)); 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()
358 FAIL_IF(push_inst(compiler, LFD | FS(TMP_FREG2) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fop1_conv_f64_from_sw()
389 FAIL_IF(push_inst(compiler, ADDIS | D(TMP_REG2) | A(0) | 0x4330)); in sljit_emit_fop1_conv_f64_from_uw()
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()
393 FAIL_IF(push_inst(compiler, LFD | FS(TMP_FREG1) | A(SLJIT_SP) | TMP_MEM_OFFSET)); 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()
395 FAIL_IF(push_inst(compiler, LFD | FS(TMP_FREG2) | A(SLJIT_SP) | TMP_MEM_OFFSET)); 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()
428 return push_inst(compiler, LFD | FS(freg) | A(SLJIT_SP) | TMP_MEM_OFFSET); in sljit_emit_fset64()
441 FAIL_IF(push_inst(compiler, STW | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fcopy()
442 return push_inst(compiler, LFS | FS(freg) | A(SLJIT_SP) | TMP_MEM_OFFSET); in sljit_emit_fcopy()
445 FAIL_IF(push_inst(compiler, STFS | FS(freg) | 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()
460 FAIL_IF(push_inst(compiler, STFD | FS(freg) | A(SLJIT_SP) | TMP_MEM_OFFSET_LO)); in sljit_emit_fcopy()
462 return push_inst(compiler, LFD | FS(freg) | A(SLJIT_SP) | TMP_MEM_OFFSET); in sljit_emit_fcopy()
465 FAIL_IF(push_inst(compiler, STFD | FS(freg) | A(SLJIT_SP) | TMP_MEM_OFFSET)); 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()