Lines Matching refs:src
118 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx);
187 static inline void emit_ori(unsigned int dst, unsigned src, u32 imm,
192 emit_or(dst, src, r_tmp, ctx);
194 emit_instr(ctx, ori, dst, src, imm);
198 static inline void emit_daddiu(unsigned int dst, unsigned int src,
205 emit_instr(ctx, daddiu, dst, src, imm);
208 static inline void emit_addiu(unsigned int dst, unsigned int src,
213 emit_addu(dst, r_tmp, src, ctx);
215 emit_instr(ctx, addiu, dst, src, imm);
225 static inline void emit_andi(unsigned int dst, unsigned int src,
231 emit_and(dst, src, r_tmp, ctx);
233 emit_instr(ctx, andi, dst, src, imm);
243 static inline void emit_xori(ptr dst, ptr src, u32 imm, struct jit_ctx *ctx)
248 emit_xor(dst, src, r_tmp, ctx);
250 emit_instr(ctx, xori, dst, src, imm);
270 static inline void emit_sllv(unsigned int dst, unsigned int src,
273 emit_instr(ctx, sllv, dst, src, sa);
276 static inline void emit_sll(unsigned int dst, unsigned int src,
284 emit_instr(ctx, sll, dst, src, sa);
287 static inline void emit_srlv(unsigned int dst, unsigned int src,
290 emit_instr(ctx, srlv, dst, src, sa);
293 static inline void emit_srl(unsigned int dst, unsigned int src,
301 emit_instr(ctx, srl, dst, src, sa);
316 static inline void emit_sltiu(unsigned dst, unsigned int src,
322 emit_sltu(dst, src, r_tmp, ctx);
324 emit_instr(ctx, sltiu, dst, src, imm);
380 static inline void emit_div(unsigned int dst, unsigned int src,
385 uasm_i_divu(&p, dst, src);
392 static inline void emit_mod(unsigned int dst, unsigned int src,
397 uasm_i_divu(&p, dst, src);
404 static inline void emit_dsll(unsigned int dst, unsigned int src,
407 emit_instr(ctx, dsll, dst, src, sa);
410 static inline void emit_dsrl32(unsigned int dst, unsigned int src,
413 emit_instr(ctx, dsrl32, dst, src, sa);
416 static inline void emit_wsbh(unsigned int dst, unsigned int src,
419 emit_instr(ctx, wsbh, dst, src);
423 static inline void emit_load_ptr(unsigned int dst, unsigned int src,
426 /* src contains the base addr of the 32/64-pointer */
427 emit_long_instr(ctx, LW, dst, imm, src);
447 static inline void emit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx)
449 emit_long_instr(ctx, ADDU, dst, src, r_zero);
453 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx)
455 emit_addu(dst, src, r_zero, ctx);