Home | History | Annotate | Download | only in arm

Lines Matching full:args

956 static inline void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args, int opc)
972 data_reg = *args++;
974 data_reg2 = *args++;
977 addr_reg = *args++;
980 addr_reg2 = *args++;
982 mem_index = *args;
1179 static inline void tcg_out_qemu_st(TCGContext *s, const TCGArg *args, int opc)
1195 data_reg = *args++;
1197 data_reg2 = *args++;
1200 addr_reg = *args++;
1203 addr_reg2 = *args++;
1205 mem_index = *args;
1413 const TCGArg *args, const int *const_args)
1421 if (args[0] >> 8)
1424 tcg_out_dat_imm(s, COND_AL, ARITH_MOV, TCG_REG_R0, 0, args[0]);
1426 if (args[0] >> 8) {
1428 tcg_out32(s, args[0]);
1436 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1440 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1446 c = (int) (s->tb_next + args[0]) - ((int) s->code_ptr + 8);
1449 (tcg_target_long) (s->tb_next + args[0]));
1456 tcg_out32(s, (tcg_target_long) (s->tb_next + args[0]));
1459 s->tb_next_offset[args[0]] = s->code_ptr - s->code_buf;
1463 tcg_out_call(s, args[0]);
1465 tcg_out_callr(s, COND_AL, args[0]);
1469 tcg_out_goto(s, COND_AL, args[0]);
1471 tcg_out_bx(s, COND_AL, args[0]);
1474 tcg_out_goto_label(s, COND_AL, args[0]);
1478 tcg_out_ld8u(s, COND_AL, args[0], args[1], args[2]);
1481 tcg_out_ld8s(s, COND_AL, args[0], args[1], args[2]);
1484 tcg_out_ld16u(s, COND_AL, args[0], args[1], args[2]);
1487 tcg_out_ld16s(s, COND_AL, args[0], args[1], args[2]);
1490 tcg_out_ld32u(s, COND_AL, args[0], args[1], args[2]);
1493 tcg_out_st8(s, COND_AL, args[0], args[1], args[2]);
1496 tcg_out_st16(s, COND_AL, args[0], args[1], args[2]);
1499 tcg_out_st32(s, COND_AL, args[0], args[1], args[2]);
1504 args[0], 0, args[1], SHIFT_IMM_LSL(0));
1507 tcg_out_movi32(s, COND_AL, args[0], args[1]);
1530 rot = encode_imm(args[2]);
1532 args[0], args[1], rotl(args[2], rot) | (rot << 7));
1535 args[0], args[1], args[2], SHIFT_IMM_LSL(0));
1539 args[0], args[1], args[2], args[3],
1540 args[4], args[5], SHIFT_IMM_LSL(0));
1544 args[0], args[1], args[2], args[3],
1545 args[4], args[5], SHIFT_IMM_LSL(0));
1548 tcg_out_dat_imm(s, COND_AL, ARITH_RSB, args[0], args[1], 0);
1552 ARITH_MVN, args[0], 0, args[1], SHIFT_IMM_LSL(0));
1555 tcg_out_mul32(s, COND_AL, args[0], args[1], args[2]);
1558 tcg_out_umull32(s, COND_AL, args[0], args[1], args[2], args[3]);
1560 /* XXX: Perhaps args[2] & 0x1f is wrong */
1563 SHIFT_IMM_LSL(args[2] & 0x1f) : SHIFT_REG_LSL(args[2]);
1566 c = const_args[2] ? (args[2] & 0x1f) ? SHIFT_IMM_LSR(args[2] & 0x1f) :
1567 SHIFT_IMM_LSL(0) : SHIFT_REG_LSR(args[2]);
1570 c = const_args[2] ? (args[2] & 0x1f) ? SHIFT_IMM_ASR(args[2] & 0x1f) :
1571 SHIFT_IMM_LSL(0) : SHIFT_REG_ASR(args[2]);
1574 c = const_args[2] ? (args[2] & 0x1f) ? SHIFT_IMM_ROR(args[2] & 0x1f) :
1575 SHIFT_IMM_LSL(0) : SHIFT_REG_ROR(args[2]);
1578 tcg_out_dat_reg(s, COND_AL, ARITH_MOV, args[0], 0, args[1], c);
1583 tcg_out_dat_reg(s, COND_AL, ARITH_MOV, args[0], 0, args[1],
1584 ((0x20 - args[2]) & 0x1f) ?
1585 SHIFT_IMM_ROR((0x20 - args[2]) & 0x1f) :
1588 tcg_out_dat_imm(s, COND_AL, ARITH_RSB, TCG_REG_R8, args[1], 0x20);
1589 tcg_out_dat_reg(s, COND_AL, ARITH_MOV, args[0], 0, args[1],
1597 rot = encode_imm(args[1]);
1599 args[0], rotl(args[1], rot) | (rot << 7));
1602 args[0], args[1], SHIFT_IMM_LSL(0));
1604 tcg_out_goto_label(s, tcg_cond_to_arm_cond[args[2]], args[3]);
1616 args[1], args[3], SHIFT_IMM_LSL(0));
1618 args[0], args[2], SHIFT_IMM_LSL(0));
1619 tcg_out_goto_label(s, tcg_cond_to_arm_cond[args[4]], args[5]);
1624 rot = encode_imm(args[2]);
1626 args[1], rotl(args[2], rot) | (rot << 7));
1629 args[1], args[2], SHIFT_IMM_LSL(0));
1631 tcg_out_dat_imm(s, tcg_cond_to_arm_cond[args[3]],
1632 ARITH_MOV, args[0], 0, 1);
1633 tcg_out_dat_imm(s, tcg_cond_to_arm_cond[tcg_invert_cond(args[3])],
1634 ARITH_MOV, args[0], 0, 0);
1639 args[2], args[4], SHIFT_IMM_LSL(0));
1641 args[1], args[3], SHIFT_IMM_LSL(0));
1642 tcg_out_dat_imm(s, tcg_cond_to_arm_cond[args[5]],
1643 ARITH_MOV, args[0], 0, 1);
1644 tcg_out_dat_imm(s, tcg_cond_to_arm_cond[tcg_invert_cond(args[5])],
1645 ARITH_MOV, args[0], 0, 0);
1649 tcg_out_qemu_ld(s, args, 0);
1652 tcg_out_qemu_ld(s, args, 0 | 4);
1655 tcg_out_qemu_ld(s, args, 1);
1658 tcg_out_qemu_ld(s, args, 1 | 4);
1661 tcg_out_qemu_ld(s, args, 2);
1664 tcg_out_qemu_ld(s, args, 3);
1668 tcg_out_qemu_st(s, args, 0);
1671 tcg_out_qemu_st(s, args, 1);
1674 tcg_out_qemu_st(s, args, 2);
1677 tcg_out_qemu_st(s, args, 3);
1681 tcg_out_bswap16(s, COND_AL, args[0], args[1]);
1684 tcg_out_bswap32(s, COND_AL, args[0], args[1]);
1688 tcg_out_ext8s(s, COND_AL, args[0], args[1]);
1691 tcg_out_ext16s(s, COND_AL, args[0], args[1]);
1694 tcg_out_ext16u(s, COND_AL, args[0], args[1]);