Lines Matching refs:arg
222 static inline void tcg_out_mov(TCGContext *s, int ret, int arg)
225 tcg_out32(s, ARITH_OR | INSN_T(ret) | INSN_R1(arg) | INSN_R2(TCG_REG_R0));
229 /* tcg_out32(s, LDO | INSN_R1(ret) | INSN_R2(arg) | reassemble_14(0)); */
233 int ret, tcg_target_long arg)
235 if (arg == (arg & 0x1fff)) {
237 reassemble_14(arg));
240 reassemble_21(lrsel((uint32_t)arg, 0)));
241 if (arg & 0x7ff)
243 reassemble_14(rrsel((uint32_t)arg, 0)));
248 tcg_target_long arg)
251 reassemble_21(lrsel((uint32_t)arg, 0)));
253 reassemble_14(rrsel((uint32_t)arg, 0)));
257 tcg_target_long arg)
259 tcg_out_ld_raw(s, ret, arg);
311 static inline void tcg_out_ext8s(TCGContext *s, int ret, int arg) {
312 tcg_out32(s, EXTRS | INSN_R1(ret) | INSN_R2(arg) |
316 static inline void tcg_out_ext16s(TCGContext *s, int ret, int arg) {
317 tcg_out32(s, EXTRS | INSN_R1(ret) | INSN_R2(arg) |
321 static inline void tcg_out_bswap16(TCGContext *s, int ret, int arg) {
322 if(ret != arg)
323 tcg_out_mov(s, ret, arg);
330 static inline void tcg_out_bswap32(TCGContext *s, int ret, int arg, int temp) {
331 tcg_out32(s, SHD | INSN_T(temp) | INSN_R1(arg) |
332 INSN_R2(arg) | INSN_SHDEP_CP(16));
335 tcg_out32(s, SHD | INSN_T(ret) | INSN_R1(arg) |