@@ -570,7 +570,7 @@ static void tcg_out_blx_imm(TCGContext *s, int32_t offset)
570
570
(((offset - 8 ) >> 2 ) & 0x00ffffff ));
571
571
}
572
572
573
- static void tcg_out_dat_reg (TCGContext *s, ARMCond cond, int opc, int rd,
573
+ static void tcg_out_dat_reg (TCGContext *s, ARMCond cond, ARMInsn opc, int rd,
574
574
int rn, int rm, int shift)
575
575
{
576
576
tcg_out32 (s, (cond << 28 ) | (0 << 25 ) | opc |
@@ -603,14 +603,14 @@ static void tcg_out_b_reg(TCGContext *s, ARMCond cond, TCGReg rn)
603
603
}
604
604
}
605
605
606
- static void tcg_out_dat_imm (TCGContext *s, ARMCond cond, int opc,
606
+ static void tcg_out_dat_imm (TCGContext *s, ARMCond cond, ARMInsn opc,
607
607
int rd, int rn, int im)
608
608
{
609
609
tcg_out32 (s, (cond << 28 ) | (1 << 25 ) | opc |
610
610
(rn << 16 ) | (rd << 12 ) | im);
611
611
}
612
612
613
- static void tcg_out_ldstm (TCGContext *s, ARMCond cond, int opc,
613
+ static void tcg_out_ldstm (TCGContext *s, ARMCond cond, ARMInsn opc,
614
614
TCGReg rn, uint16_t mask)
615
615
{
616
616
tcg_out32 (s, (cond << 28 ) | opc | (rn << 16 ) | mask);
@@ -637,8 +637,8 @@ static void tcg_out_memop_8(TCGContext *s, ARMCond cond, ARMInsn opc, TCGReg rt,
637
637
(rn << 16 ) | (rt << 12 ) | ((imm8 & 0xf0 ) << 4 ) | (imm8 & 0xf ));
638
638
}
639
639
640
- static void tcg_out_memop_12 (TCGContext *s, ARMCond cond, ARMInsn opc, TCGReg rt,
641
- TCGReg rn, int imm12, bool p, bool w)
640
+ static void tcg_out_memop_12 (TCGContext *s, ARMCond cond, ARMInsn opc,
641
+ TCGReg rt, TCGReg rn, int imm12, bool p, bool w)
642
642
{
643
643
bool u = 1 ;
644
644
if (imm12 < 0 ) {
@@ -873,7 +873,7 @@ static void tcg_out_movi32(TCGContext *s, ARMCond cond, int rd, uint32_t arg)
873
873
* Emit either the reg,imm or reg,reg form of a data-processing insn.
874
874
* rhs must satisfy the "rI" constraint.
875
875
*/
876
- static void tcg_out_dat_rI (TCGContext *s, ARMCond cond, int opc, TCGArg dst,
876
+ static void tcg_out_dat_rI (TCGContext *s, ARMCond cond, ARMInsn opc, TCGArg dst,
877
877
TCGArg lhs, TCGArg rhs, int rhs_is_const)
878
878
{
879
879
if (rhs_is_const) {
@@ -887,8 +887,8 @@ static void tcg_out_dat_rI(TCGContext *s, ARMCond cond, int opc, TCGArg dst,
887
887
* Emit either the reg,imm or reg,reg form of a data-processing insn.
888
888
* rhs must satisfy the "rIK" constraint.
889
889
*/
890
- static void tcg_out_dat_rIK (TCGContext *s, ARMCond cond, int opc, int opinv ,
891
- TCGReg dst, TCGReg lhs, TCGArg rhs,
890
+ static void tcg_out_dat_rIK (TCGContext *s, ARMCond cond, ARMInsn opc,
891
+ ARMInsn opinv, TCGReg dst, TCGReg lhs, TCGArg rhs,
892
892
bool rhs_is_const)
893
893
{
894
894
if (rhs_is_const) {
@@ -903,8 +903,8 @@ static void tcg_out_dat_rIK(TCGContext *s, ARMCond cond, int opc, int opinv,
903
903
}
904
904
}
905
905
906
- static void tcg_out_dat_rIN (TCGContext *s, ARMCond cond, int opc, int opneg ,
907
- TCGArg dst, TCGArg lhs, TCGArg rhs,
906
+ static void tcg_out_dat_rIN (TCGContext *s, ARMCond cond, ARMInsn opc,
907
+ ARMInsn opneg, TCGArg dst, TCGArg lhs, TCGArg rhs,
908
908
bool rhs_is_const)
909
909
{
910
910
/* Emit either the reg,imm or reg,reg form of a data-processing insn.
0 commit comments