Lines Matching refs:ret

345 static inline void tcg_gen_mov_i32(TCGv_i32 ret, TCGv_i32 arg)
347 if (!TCGV_EQUAL_I32(ret, arg))
348 tcg_gen_op2_i32(INDEX_op_mov_i32, ret, arg);
351 static inline void tcg_gen_movi_i32(TCGv_i32 ret, int32_t arg)
353 tcg_gen_op2i_i32(INDEX_op_movi_i32, ret, arg);
365 TCGArg ret, int nargs, TCGArg *args)
369 tcg_gen_callN(&tcg_ctx, fn, flags, sizemask, ret,
379 static inline void tcg_gen_helper32(void *func, int sizemask, TCGv_i32 ret,
388 GET_TCGV_I32(ret), 2, args);
392 static inline void tcg_gen_helper64(void *func, int sizemask, TCGv_i64 ret,
401 GET_TCGV_I64(ret), 2, args);
407 static inline void tcg_gen_ld8u_i32(TCGv_i32 ret, TCGv_ptr arg2, tcg_target_long offset)
409 tcg_gen_ldst_op_i32(INDEX_op_ld8u_i32, ret, arg2, offset);
412 static inline void tcg_gen_ld8s_i32(TCGv_i32 ret, TCGv_ptr arg2, tcg_target_long offset)
414 tcg_gen_ldst_op_i32(INDEX_op_ld8s_i32, ret, arg2, offset);
417 static inline void tcg_gen_ld16u_i32(TCGv_i32 ret, TCGv_ptr arg2, tcg_target_long offset)
419 tcg_gen_ldst_op_i32(INDEX_op_ld16u_i32, ret, arg2, offset);
422 static inline void tcg_gen_ld16s_i32(TCGv_i32 ret, TCGv_ptr arg2, tcg_target_long offset)
424 tcg_gen_ldst_op_i32(INDEX_op_ld16s_i32, ret, arg2, offset);
427 static inline void tcg_gen_ld_i32(TCGv_i32 ret, TCGv_ptr arg2, tcg_target_long offset)
429 tcg_gen_ldst_op_i32(INDEX_op_ld_i32, ret, arg2, offset);
447 static inline void tcg_gen_add_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
449 tcg_gen_op3_i32(INDEX_op_add_i32, ret, arg1, arg2);
452 static inline void tcg_gen_addi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
456 tcg_gen_mov_i32(ret, arg1);
459 tcg_gen_add_i32(ret, arg1, t0);
464 static inline void tcg_gen_sub_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
466 tcg_gen_op3_i32(INDEX_op_sub_i32, ret, arg1, arg2);
469 static inline void tcg_gen_subfi_i32(TCGv_i32 ret, int32_t arg1, TCGv_i32 arg2)
472 tcg_gen_sub_i32(ret, t0, arg2);
476 static inline void tcg_gen_subi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
480 tcg_gen_mov_i32(ret, arg1);
483 tcg_gen_sub_i32(ret, arg1, t0);
488 static inline void tcg_gen_and_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
491 tcg_gen_mov_i32(ret, arg1);
493 tcg_gen_op3_i32(INDEX_op_and_i32, ret, arg1, arg2);
497 static inline void tcg_gen_andi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
501 tcg_gen_movi_i32(ret, 0);
503 tcg_gen_mov_i32(ret, arg1);
506 tcg_gen_and_i32(ret, arg1, t0);
511 static inline void tcg_gen_or_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
514 tcg_gen_mov_i32(ret, arg1);
516 tcg_gen_op3_i32(INDEX_op_or_i32, ret, arg1, arg2);
520 static inline void tcg_gen_ori_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
524 tcg_gen_movi_i32(ret, 0xffffffff);
526 tcg_gen_mov_i32(ret, arg1);
529 tcg_gen_or_i32(ret, arg1, t0);
534 static inline void tcg_gen_xor_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
537 tcg_gen_movi_i32(ret, 0);
539 tcg_gen_op3_i32(INDEX_op_xor_i32, ret, arg1, arg2);
543 static inline void tcg_gen_xori_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
547 tcg_gen_mov_i32(ret, arg1);
550 tcg_gen_xor_i32(ret, arg1, t0);
555 static inline void tcg_gen_shl_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
557 tcg_gen_op3_i32(INDEX_op_shl_i32, ret, arg1, arg2);
560 static inline void tcg_gen_shli_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
563 tcg_gen_mov_i32(ret, arg1);
566 tcg_gen_shl_i32(ret, arg1, t0);
571 static inline void tcg_gen_shr_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
573 tcg_gen_op3_i32(INDEX_op_shr_i32, ret, arg1, arg2);
576 static inline void tcg_gen_shri_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
579 tcg_gen_mov_i32(ret, arg1);
582 tcg_gen_shr_i32(ret, arg1, t0);
587 static inline void tcg_gen_sar_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
589 tcg_gen_op3_i32(INDEX_op_sar_i32, ret, arg1, arg2);
592 static inline void tcg_gen_sari_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
595 tcg_gen_mov_i32(ret, arg1);
598 tcg_gen_sar_i32(ret, arg1, t0);
617 static inline void tcg_gen_setcond_i32(TCGCond cond, TCGv_i32 ret,
620 tcg_gen_op4i_i32(INDEX_op_setcond_i32, ret, arg1, arg2, cond);
623 static inline void tcg_gen_setcondi_i32(TCGCond cond, TCGv_i32 ret,
627 tcg_gen_setcond_i32(cond, ret, arg1, t0);
631 static inline void tcg_gen_mul_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
633 tcg_gen_op3_i32(INDEX_op_mul_i32, ret, arg1, arg2);
636 static inline void tcg_gen_muli_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
639 tcg_gen_mul_i32(ret, arg1, t0);
644 static inline void tcg_gen_div_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
646 tcg_gen_op3_i32(INDEX_op_div_i32, ret, arg1, arg2);
649 static inline void tcg_gen_rem_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
651 tcg_gen_op3_i32(INDEX_op_rem_i32, ret, arg1, arg2);
654 static inline void tcg_gen_divu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
656 tcg_gen_op3_i32(INDEX_op_divu_i32, ret, arg1, arg2);
659 static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
661 tcg_gen_op3_i32(INDEX_op_remu_i32, ret, arg1, arg2);
664 static inline void tcg_gen_div_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
669 tcg_gen_op5_i32(INDEX_op_div2_i32, ret, t0, arg1, t0, arg2);
673 static inline void tcg_gen_rem_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
678 tcg_gen_op5_i32(INDEX_op_div2_i32, t0, ret, arg1, t0, arg2);
682 static inline void tcg_gen_divu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
687 tcg_gen_op5_i32(INDEX_op_divu2_i32, ret, t0, arg1, t0, arg2);
691 static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
696 tcg_gen_op5_i32(INDEX_op_divu2_i32, t0, ret, arg1, t0, arg2);
700 static inline void tcg_gen_div_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
708 tcg_gen_helper32(tcg_helper_div_i32, sizemask, ret, arg1, arg2);
711 static inline void tcg_gen_rem_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
719 tcg_gen_helper32(tcg_helper_rem_i32, sizemask, ret, arg1, arg2);
722 static inline void tcg_gen_divu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
730 tcg_gen_helper32(tcg_helper_divu_i32, ret, arg1, arg2, 0);
733 static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
741 tcg_gen_helper32(tcg_helper_remu_i32, ret, arg1, arg2, 0);
747 static inline void tcg_gen_mov_i64(TCGv_i64 ret, TCGv_i64 arg)
749 if (!TCGV_EQUAL_I64(ret, arg)) {
750 tcg_gen_mov_i32(TCGV_LOW(ret), TCGV_LOW(arg));
751 tcg_gen_mov_i32(TCGV_HIGH(ret), TCGV_HIGH(arg));
755 static inline void tcg_gen_movi_i64(TCGv_i64 ret, int64_t arg)
757 tcg_gen_movi_i32(TCGV_LOW(ret), arg);
758 tcg_gen_movi_i32(TCGV_HIGH(ret), arg >> 32);
761 static inline void tcg_gen_ld8u_i64(TCGv_i64 ret, TCGv_ptr arg2,
764 tcg_gen_ld8u_i32(TCGV_LOW(ret), arg2, offset);
765 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
768 static inline void tcg_gen_ld8s_i64(TCGv_i64 ret, TCGv_ptr arg2,
771 tcg_gen_ld8s_i32(TCGV_LOW(ret), arg2, offset);
772 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_HIGH(ret), 31);
775 static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_ptr arg2,
778 tcg_gen_ld16u_i32(TCGV_LOW(ret), arg2, offset);
779 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
782 static inline void tcg_gen_ld16s_i64(TCGv_i64 ret, TCGv_ptr arg2,
785 tcg_gen_ld16s_i32(TCGV_LOW(ret), arg2, offset);
786 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
789 static inline void tcg_gen_ld32u_i64(TCGv_i64 ret, TCGv_ptr arg2,
792 tcg_gen_ld_i32(TCGV_LOW(ret), arg2, offset);
793 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
796 static inline void tcg_gen_ld32s_i64(TCGv_i64 ret, TCGv_ptr arg2,
799 tcg_gen_ld_i32(TCGV_LOW(ret), arg2, offset);
800 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
803 static inline void tcg_gen_ld_i64(TCGv_i64 ret, TCGv_ptr arg2,
806 /* since arg2 and ret have different types, they cannot be the
809 tcg_gen_ld_i32(TCGV_HIGH(ret), arg2, offset);
810 tcg_gen_ld_i32(TCGV_LOW(ret), arg2, offset + 4);
812 tcg_gen_ld_i32(TCGV_LOW(ret), arg2, offset);
813 tcg_gen_ld_i32(TCGV_HIGH(ret), arg2, offset + 4);
847 static inline void tcg_gen_add_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
849 tcg_gen_op6_i32(INDEX_op_add2_i32, TCGV_LOW(ret), TCGV_HIGH(ret),
854 static inline void tcg_gen_sub_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
856 tcg_gen_op6_i32(INDEX_op_sub2_i32, TCGV_LOW(ret), TCGV_HIGH(ret),
861 static inline void tcg_gen_and_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
863 tcg_gen_and_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
864 tcg_gen_and_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
867 static inline void tcg_gen_andi_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
869 tcg_gen_andi_i32(TCGV_LOW(ret), TCGV_LOW(arg1), arg2);
870 tcg_gen_andi_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), arg2 >> 32);
873 static inline void tcg_gen_or_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
875 tcg_gen_or_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
876 tcg_gen_or_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
879 static inline void tcg_gen_ori_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
881 tcg_gen_ori_i32(TCGV_LOW(ret), TCGV_LOW(arg1), arg2);
882 tcg_gen_ori_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), arg2 >> 32);
885 static inline void tcg_gen_xor_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
887 tcg_gen_xor_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
888 tcg_gen_xor_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
891 static inline void tcg_gen_xori_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
893 tcg_gen_xori_i32(TCGV_LOW(ret), TCGV_LOW(arg1), arg2);
894 tcg_gen_xori_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), arg2 >> 32);
899 static inline void tcg_gen_shl_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
907 tcg_gen_helper64(tcg_helper_shl_i64, sizemask, ret, arg1, arg2);
910 static inline void tcg_gen_shli_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
912 tcg_gen_shifti_i64(ret, arg1, arg2, 0, 0);
915 static inline void tcg_gen_shr_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
923 tcg_gen_helper64(tcg_helper_shr_i64, sizemask, ret, arg1, arg2);
926 static inline void tcg_gen_shri_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
928 tcg_gen_shifti_i64(ret, arg1, arg2, 1, 0);
931 static inline void tcg_gen_sar_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
939 tcg_gen_helper64(tcg_helper_sar_i64, sizemask, ret, arg1, arg2);
942 static inline void tcg_gen_sari_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
944 tcg_gen_shifti_i64(ret, arg1, arg2, 1, 1);
955 static inline void tcg_gen_setcond_i64(TCGCond cond, TCGv_i64 ret,
958 tcg_gen_op6i_i32(INDEX_op_setcond2_i32, TCGV_LOW(ret),
961 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
964 static inline void tcg_gen_mul_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
980 tcg_gen_mov_i64(ret, t0);
985 static inline void tcg_gen_div_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
993 tcg_gen_helper64(tcg_helper_div_i64, sizemask, ret, arg1, arg2);
996 static inline void tcg_gen_rem_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1004 tcg_gen_helper64(tcg_helper_rem_i64, sizemask, ret, arg1, arg2);
1007 static inline void tcg_gen_divu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1015 tcg_gen_helper64(tcg_helper_divu_i64, sizemask, ret, arg1, arg2);
1018 static inline void tcg_gen_remu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1026 tcg_gen_helper64(tcg_helper_remu_i64, sizemask, ret, arg1, arg2);
1031 static inline void tcg_gen_mov_i64(TCGv_i64 ret, TCGv_i64 arg)
1033 if (!TCGV_EQUAL_I64(ret, arg))
1034 tcg_gen_op2_i64(INDEX_op_mov_i64, ret, arg);
1037 static inline void tcg_gen_movi_i64(TCGv_i64 ret, int64_t arg)
1039 tcg_gen_op2i_i64(INDEX_op_movi_i64, ret, arg);
1042 static inline void tcg_gen_ld8u_i64(TCGv_i64 ret, TCGv_i64 arg2,
1045 tcg_gen_ldst_op_i64(INDEX_op_ld8u_i64, ret, arg2, offset);
1048 static inline void tcg_gen_ld8s_i64(TCGv_i64 ret, TCGv_i64 arg2,
1051 tcg_gen_ldst_op_i64(INDEX_op_ld8s_i64, ret, arg2, offset);
1054 static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_i64 arg2,
1057 tcg_gen_ldst_op_i64(INDEX_op_ld16u_i64, ret, arg2, offset);
1060 static inline void tcg_gen_ld16s_i64(TCGv_i64 ret, TCGv_i64 arg2,
1063 tcg_gen_ldst_op_i64(INDEX_op_ld16s_i64, ret, arg2, offset);
1066 static inline void tcg_gen_ld32u_i64(TCGv_i64 ret, TCGv_i64 arg2,
1069 tcg_gen_ldst_op_i64(INDEX_op_ld32u_i64, ret, arg2, offset);
1072 static inline void tcg_gen_ld32s_i64(TCGv_i64 ret, TCGv_i64 arg2,
1075 tcg_gen_ldst_op_i64(INDEX_op_ld32s_i64, ret, arg2, offset);
1078 static inline void tcg_gen_ld_i64(TCGv_i64 ret, TCGv_i64 arg2, tcg_target_long offset)
1080 tcg_gen_ldst_op_i64(INDEX_op_ld_i64, ret, arg2, offset);
1106 static inline void tcg_gen_add_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1108 tcg_gen_op3_i64(INDEX_op_add_i64, ret, arg1, arg2);
1111 static inline void tcg_gen_sub_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1113 tcg_gen_op3_i64(INDEX_op_sub_i64, ret, arg1, arg2);
1116 static inline void tcg_gen_and_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1119 tcg_gen_mov_i64(ret, arg1);
1121 tcg_gen_op3_i64(INDEX_op_and_i64, ret, arg1, arg2);
1125 static inline void tcg_gen_andi_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1128 tcg_gen_and_i64(ret, arg1, t0);
1132 static inline void tcg_gen_or_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1135 tcg_gen_mov_i64(ret, arg1);
1137 tcg_gen_op3_i64(INDEX_op_or_i64, ret, arg1, arg2);
1141 static inline void tcg_gen_ori_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1144 tcg_gen_or_i64(ret, arg1, t0);
1148 static inline void tcg_gen_xor_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1151 tcg_gen_movi_i64(ret, 0);
1153 tcg_gen_op3_i64(INDEX_op_xor_i64, ret, arg1, arg2);
1157 static inline void tcg_gen_xori_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1160 tcg_gen_xor_i64(ret, arg1, t0);
1164 static inline void tcg_gen_shl_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1166 tcg_gen_op3_i64(INDEX_op_shl_i64, ret, arg1, arg2);
1169 static inline void tcg_gen_shli_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1172 tcg_gen_mov_i64(ret, arg1);
1175 tcg_gen_shl_i64(ret, arg1, t0);
1180 static inline void tcg_gen_shr_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1182 tcg_gen_op3_i64(INDEX_op_shr_i64, ret, arg1, arg2);
1185 static inline void tcg_gen_shri_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1188 tcg_gen_mov_i64(ret, arg1);
1191 tcg_gen_shr_i64(ret, arg1, t0);
1196 static inline void tcg_gen_sar_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1198 tcg_gen_op3_i64(INDEX_op_sar_i64, ret, arg1, arg2);
1201 static inline void tcg_gen_sari_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1204 tcg_gen_mov_i64(ret, arg1);
1207 tcg_gen_sar_i64(ret, arg1, t0);
1218 static inline void tcg_gen_setcond_i64(TCGCond cond, TCGv_i64 ret,
1221 tcg_gen_op4i_i64(INDEX_op_setcond_i64, ret, arg1, arg2, cond);
1224 static inline void tcg_gen_mul_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1226 tcg_gen_op3_i64(INDEX_op_mul_i64, ret, arg1, arg2);
1230 static inline void tcg_gen_div_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1232 tcg_gen_op3_i64(INDEX_op_div_i64, ret, arg1, arg2);
1235 static inline void tcg_gen_rem_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1237 tcg_gen_op3_i64(INDEX_op_rem_i64, ret, arg1, arg2);
1240 static inline void tcg_gen_divu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1242 tcg_gen_op3_i64(INDEX_op_divu_i64, ret, arg1, arg2);
1245 static inline void tcg_gen_remu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1247 tcg_gen_op3_i64(INDEX_op_remu_i64, ret, arg1, arg2);
1250 static inline void tcg_gen_div_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1255 tcg_gen_op5_i64(INDEX_op_div2_i64, ret, t0, arg1, t0, arg2);
1259 static inline void tcg_gen_rem_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1264 tcg_gen_op5_i64(INDEX_op_div2_i64, t0, ret, arg1, t0, arg2);
1268 static inline void tcg_gen_divu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1273 tcg_gen_op5_i64(INDEX_op_divu2_i64, ret, t0, arg1, t0, arg2);
1277 static inline void tcg_gen_remu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1282 tcg_gen_op5_i64(INDEX_op_divu2_i64, t0, ret, arg1, t0, arg2);
1286 static inline void tcg_gen_div_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1294 tcg_gen_helper64(tcg_helper_div_i64, sizemask, ret, arg1, arg2);
1297 static inline void tcg_gen_rem_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1305 tcg_gen_helper64(tcg_helper_rem_i64, sizemask, ret, arg1, arg2);
1308 static inline void tcg_gen_divu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1316 tcg_gen_helper64(tcg_helper_divu_i64, sizemask, ret, arg1, arg2);
1319 static inline void tcg_gen_remu_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1327 tcg_gen_helper64(tcg_helper_remu_i64, sizemask, ret, arg1, arg2);
1333 static inline void tcg_gen_addi_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1337 tcg_gen_mov_i64(ret, arg1);
1340 tcg_gen_add_i64(ret, arg1, t0);
1345 static inline void tcg_gen_subfi_i64(TCGv_i64 ret, int64_t arg1, TCGv_i64 arg2)
1348 tcg_gen_sub_i64(ret, t0, arg2);
1352 static inline void tcg_gen_subi_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1356 tcg_gen_mov_i64(ret, arg1);
1359 tcg_gen_sub_i64(ret, arg1, t0);
1371 static inline void tcg_gen_setcondi_i64(TCGCond cond, TCGv_i64 ret,
1375 tcg_gen_setcond_i64(cond, ret, arg1, t0);
1379 static inline void tcg_gen_muli_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1382 tcg_gen_mul_i64(ret, arg1, t0);
1390 static inline void tcg_gen_ext8s_i32(TCGv_i32 ret, TCGv_i32 arg)
1393 tcg_gen_op2_i32(INDEX_op_ext8s_i32, ret, arg);
1395 tcg_gen_shli_i32(ret, arg, 24);
1396 tcg_gen_sari_i32(ret, ret, 24);
1400 static inline void tcg_gen_ext16s_i32(TCGv_i32 ret, TCGv_i32 arg)
1403 tcg_gen_op2_i32(INDEX_op_ext16s_i32, ret, arg);
1405 tcg_gen_shli_i32(ret, arg, 16);
1406 tcg_gen_sari_i32(ret, ret, 16);
1410 static inline void tcg_gen_ext8u_i32(TCGv_i32 ret, TCGv_i32 arg)
1413 tcg_gen_op2_i32(INDEX_op_ext8u_i32, ret, arg);
1415 tcg_gen_andi_i32(ret, arg, 0xffu);
1419 static inline void tcg_gen_ext16u_i32(TCGv_i32 ret, TCGv_i32 arg)
1422 tcg_gen_op2_i32(INDEX_op_ext16u_i32, ret, arg);
1424 tcg_gen_andi_i32(ret, arg, 0xffffu);
1429 static inline void tcg_gen_bswap16_i32(TCGv_i32 ret, TCGv_i32 arg)
1432 tcg_gen_op2_i32(INDEX_op_bswap16_i32, ret, arg);
1438 tcg_gen_shri_i32(ret, arg, 8);
1439 tcg_gen_or_i32(ret, ret, t0);
1444 static inline void tcg_gen_bswap32_i32(TCGv_i32 ret, TCGv_i32 arg)
1447 tcg_gen_op2_i32(INDEX_op_bswap32_i32, ret, arg);
1464 tcg_gen_or_i32(ret, t0, t1);
1471 static inline void tcg_gen_ext8s_i64(TCGv_i64 ret, TCGv_i64 arg)
1473 tcg_gen_ext8s_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1474 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
1477 static inline void tcg_gen_ext16s_i64(TCGv_i64 ret, TCGv_i64 arg)
1479 tcg_gen_ext16s_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1480 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
1483 static inline void tcg_gen_ext32s_i64(TCGv_i64 ret, TCGv_i64 arg)
1485 tcg_gen_mov_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1486 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
1489 static inline void tcg_gen_ext8u_i64(TCGv_i64 ret, TCGv_i64 arg)
1491 tcg_gen_ext8u_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1492 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
1495 static inline void tcg_gen_ext16u_i64(TCGv_i64 ret, TCGv_i64 arg)
1497 tcg_gen_ext16u_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1498 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
1501 static inline void tcg_gen_ext32u_i64(TCGv_i64 ret, TCGv_i64 arg)
1503 tcg_gen_mov_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1504 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
1507 static inline void tcg_gen_trunc_i64_i32(TCGv_i32 ret, TCGv_i64 arg)
1509 tcg_gen_mov_i32(ret, TCGV_LOW(arg));
1512 static inline void tcg_gen_extu_i32_i64(TCGv_i64 ret, TCGv_i32 arg)
1514 tcg_gen_mov_i32(TCGV_LOW(ret), arg);
1515 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
1518 static inline void tcg_gen_ext_i32_i64(TCGv_i64 ret, TCGv_i32 arg)
1520 tcg_gen_mov_i32(TCGV_LOW(ret), arg);
1521 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
1525 static inline void tcg_gen_bswap16_i64(TCGv_i64 ret, TCGv_i64 arg)
1527 tcg_gen_mov_i32(TCGV_HIGH(ret), TCGV_HIGH(arg));
1528 tcg_gen_bswap16_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1532 static inline void tcg_gen_bswap32_i64(TCGv_i64 ret, TCGv_i64 arg)
1534 tcg_gen_mov_i32(TCGV_HIGH(ret), TCGV_HIGH(arg));
1535 tcg_gen_bswap32_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1538 static inline void tcg_gen_bswap64_i64(TCGv_i64 ret, TCGv_i64 arg)
1546 tcg_gen_mov_i32(TCGV_LOW(ret), t1);
1547 tcg_gen_mov_i32(TCGV_HIGH(ret), t0);
1553 static inline void tcg_gen_ext8s_i64(TCGv_i64 ret, TCGv_i64 arg)
1556 tcg_gen_op2_i64(INDEX_op_ext8s_i64, ret, arg);
1558 tcg_gen_shli_i64(ret, arg, 56);
1559 tcg_gen_sari_i64(ret, ret, 56);
1563 static inline void tcg_gen_ext16s_i64(TCGv_i64 ret, TCGv_i64 arg)
1566 tcg_gen_op2_i64(INDEX_op_ext16s_i64, ret, arg);
1568 tcg_gen_shli_i64(ret, arg, 48);
1569 tcg_gen_sari_i64(ret, ret, 48);
1573 static inline void tcg_gen_ext32s_i64(TCGv_i64 ret, TCGv_i64 arg)
1576 tcg_gen_op2_i64(INDEX_op_ext32s_i64, ret, arg);
1578 tcg_gen_shli_i64(ret, arg, 32);
1579 tcg_gen_sari_i64(ret, ret, 32);
1583 static inline void tcg_gen_ext8u_i64(TCGv_i64 ret, TCGv_i64 arg)
1586 tcg_gen_op2_i64(INDEX_op_ext8u_i64, ret, arg);
1588 tcg_gen_andi_i64(ret, arg, 0xffu);
1592 static inline void tcg_gen_ext16u_i64(TCGv_i64 ret, TCGv_i64 arg)
1595 tcg_gen_op2_i64(INDEX_op_ext16u_i64, ret, arg);
1597 tcg_gen_andi_i64(ret, arg, 0xffffu);
1601 static inline void tcg_gen_ext32u_i64(TCGv_i64 ret, TCGv_i64 arg)
1604 tcg_gen_op2_i64(INDEX_op_ext32u_i64, ret, arg);
1606 tcg_gen_andi_i64(ret, arg, 0xffffffffu);
1612 static inline void tcg_gen_trunc_i64_i32(TCGv_i32 ret, TCGv_i64 arg)
1614 tcg_gen_mov_i32(ret, MAKE_TCGV_I32(GET_TCGV_I64(arg)));
1619 static inline void tcg_gen_extu_i32_i64(TCGv_i64 ret, TCGv_i32 arg)
1621 tcg_gen_ext32u_i64(ret, MAKE_TCGV_I64(GET_TCGV_I32(arg)));
1626 static inline void tcg_gen_ext_i32_i64(TCGv_i64 ret, TCGv_i32 arg)
1628 tcg_gen_ext32s_i64(ret, MAKE_TCGV_I64(GET_TCGV_I32(arg)));
1632 static inline void tcg_gen_bswap16_i64(TCGv_i64 ret, TCGv_i64 arg)
1635 tcg_gen_op2_i64(INDEX_op_bswap16_i64, ret, arg);
1641 tcg_gen_shri_i64(ret, arg, 8);
1642 tcg_gen_or_i64(ret, ret, t0);
1648 static inline void tcg_gen_bswap32_i64(TCGv_i64 ret, TCGv_i64 arg)
1651 tcg_gen_op2_i64(INDEX_op_bswap32_i64, ret, arg);
1669 tcg_gen_or_i64(ret, t0, t1);
1675 static inline void tcg_gen_bswap64_i64(TCGv_i64 ret, TCGv_i64 arg)
1678 tcg_gen_op2_i64(INDEX_op_bswap64_i64, ret, arg);
1710 tcg_gen_or_i64(ret, t0, t1);
1718 static inline void tcg_gen_neg_i32(TCGv_i32 ret, TCGv_i32 arg)
1721 tcg_gen_op2_i32(INDEX_op_neg_i32, ret, arg);
1724 tcg_gen_sub_i32(ret, t0, arg);
1729 static inline void tcg_gen_neg_i64(TCGv_i64 ret, TCGv_i64 arg)
1732 tcg_gen_op2_i64(INDEX_op_neg_i64, ret, arg);
1735 tcg_gen_sub_i64(ret, t0, arg);
1740 static inline void tcg_gen_not_i32(TCGv_i32 ret, TCGv_i32 arg)
1743 tcg_gen_op2_i32(INDEX_op_not_i32, ret, arg);
1745 tcg_gen_xori_i32(ret, arg, -1);
1749 static inline void tcg_gen_not_i64(TCGv_i64 ret, TCGv_i64 arg)
1752 tcg_gen_op2_i64(INDEX_op_not_i64, ret, arg);
1754 tcg_gen_not_i32(TCGV_LOW(ret), TCGV_LOW(arg));
1755 tcg_gen_not_i32(TCGV_HIGH(ret), TCGV_HIGH(arg));
1757 tcg_gen_xori_i64(ret, arg, -1);
1809 static inline void tcg_gen_andc_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
1812 tcg_gen_op3_i32(INDEX_op_andc_i32, ret, arg1, arg2);
1817 tcg_gen_and_i32(ret, arg1, t0);
1822 static inline void tcg_gen_andc_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1825 tcg_gen_op3_i64(INDEX_op_andc_i64, ret, arg1, arg2);
1827 tcg_gen_andc_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
1828 tcg_gen_andc_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
1833 tcg_gen_and_i64(ret, arg1, t0);
1838 static inline void tcg_gen_eqv_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
1841 tcg_gen_op3_i32(INDEX_op_eqv_i32, ret, arg1, arg2);
1843 tcg_gen_xor_i32(ret, arg1, arg2);
1844 tcg_gen_not_i32(ret, ret);
1848 static inline void tcg_gen_eqv_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1851 tcg_gen_op3_i64(INDEX_op_eqv_i64, ret, arg1, arg2);
1853 tcg_gen_eqv_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
1854 tcg_gen_eqv_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
1856 tcg_gen_xor_i64(ret, arg1, arg2);
1857 tcg_gen_not_i64(ret, ret);
1861 static inline void tcg_gen_nand_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
1864 tcg_gen_op3_i32(INDEX_op_nand_i32, ret, arg1, arg2);
1866 tcg_gen_and_i32(ret, arg1, arg2);
1867 tcg_gen_not_i32(ret, ret);
1871 static inline void tcg_gen_nand_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1874 tcg_gen_op3_i64(INDEX_op_nand_i64, ret, arg1, arg2);
1876 tcg_gen_nand_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
1877 tcg_gen_nand_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
1879 tcg_gen_and_i64(ret, arg1, arg2);
1880 tcg_gen_not_i64(ret, ret);
1884 static inline void tcg_gen_nor_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
1887 tcg_gen_op3_i32(INDEX_op_nor_i32, ret, arg1, arg2);
1889 tcg_gen_or_i32(ret, arg1, arg2);
1890 tcg_gen_not_i32(ret, ret);
1894 static inline void tcg_gen_nor_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1897 tcg_gen_op3_i64(INDEX_op_nor_i64, ret, arg1, arg2);
1899 tcg_gen_nor_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
1900 tcg_gen_nor_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
1902 tcg_gen_or_i64(ret, arg1, arg2);
1903 tcg_gen_not_i64(ret, ret);
1907 static inline void tcg_gen_orc_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
1910 tcg_gen_op3_i32(INDEX_op_orc_i32, ret, arg1, arg2);
1915 tcg_gen_or_i32(ret, arg1, t0);
1920 static inline void tcg_gen_orc_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1923 tcg_gen_op3_i64(INDEX_op_orc_i64, ret, arg1, arg2);
1925 tcg_gen_orc_i32(TCGV_LOW(ret), TCGV_LOW(arg1), TCGV_LOW(arg2));
1926 tcg_gen_orc_i32(TCGV_HIGH(ret), TCGV_HIGH(arg1), TCGV_HIGH(arg2));
1931 tcg_gen_or_i64(ret, arg1, t0);
1936 static inline void tcg_gen_rotl_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
1939 tcg_gen_op3_i32(INDEX_op_rotl_i32, ret, arg1, arg2);
1948 tcg_gen_or_i32(ret, t0, t1);
1954 static inline void tcg_gen_rotl_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
1957 tcg_gen_op3_i64(INDEX_op_rotl_i64, ret, arg1, arg2);
1966 tcg_gen_or_i64(ret, t0, t1);
1972 static inline void tcg_gen_rotli_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
1976 tcg_gen_mov_i32(ret, arg1);
1980 tcg_gen_rotl_i32(ret, arg1, t0);
1988 tcg_gen_or_i32(ret, t0, t1);
1995 static inline void tcg_gen_rotli_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
1999 tcg_gen_mov_i64(ret, arg1);
2003 tcg_gen_rotl_i64(ret, arg1, t0);
2011 tcg_gen_or_i64(ret, t0, t1);
2018 static inline void tcg_gen_rotr_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
2021 tcg_gen_op3_i32(INDEX_op_rotr_i32, ret, arg1, arg2);
2030 tcg_gen_or_i32(ret, t0, t1);
2036 static inline void tcg_gen_rotr_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
2039 tcg_gen_op3_i64(INDEX_op_rotr_i64, ret, arg1, arg2);
2048 tcg_gen_or_i64(ret, t0, t1);
2054 static inline void tcg_gen_rotri_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2)
2058 tcg_gen_mov_i32(ret, arg1);
2060 tcg_gen_rotli_i32(ret, arg1, 32 - arg2);
2064 static inline void tcg_gen_rotri_i64(TCGv_i64 ret, TCGv_i64 arg1, int64_t arg2)
2068 tcg_gen_mov_i64(ret, arg1);
2070 tcg_gen_rotli_i64(ret, arg1, 64 - arg2);
2128 static inline void tcg_gen_qemu_ld8u(TCGv ret, TCGv addr, int mem_index)
2131 tcg_gen_op3i_i32(INDEX_op_qemu_ld8u, ret, addr, mem_index);
2133 tcg_gen_op4i_i32(INDEX_op_qemu_ld8u, TCGV_LOW(ret), TCGV_LOW(addr),
2135 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
2139 static inline void tcg_gen_qemu_ld8s(TCGv ret, TCGv addr, int mem_index)
2142 tcg_gen_op3i_i32(INDEX_op_qemu_ld8s, ret, addr, mem_index);
2144 tcg_gen_op4i_i32(INDEX_op_qemu_ld8s, TCGV_LOW(ret), TCGV_LOW(addr),
2146 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
2150 static inline void tcg_gen_qemu_ld16u(TCGv ret, TCGv addr, int mem_index)
2153 tcg_gen_op3i_i32(INDEX_op_qemu_ld16u, ret, addr, mem_index);
2155 tcg_gen_op4i_i32(INDEX_op_qemu_ld16u, TCGV_LOW(ret), TCGV_LOW(addr),
2157 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
2161 static inline void tcg_gen_qemu_ld16s(TCGv ret, TCGv addr, int mem_index)
2164 tcg_gen_op3i_i32(INDEX_op_qemu_ld16s, ret, addr, mem_index);
2166 tcg_gen_op4i_i32(INDEX_op_qemu_ld16s, TCGV_LOW(ret), TCGV_LOW(addr),
2168 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
2172 static inline void tcg_gen_qemu_ld32u(TCGv ret, TCGv addr, int mem_index)
2175 tcg_gen_op3i_i32(INDEX_op_qemu_ld32, ret, addr, mem_index);
2177 tcg_gen_op4i_i32(INDEX_op_qemu_ld32, TCGV_LOW(ret), TCGV_LOW(addr),
2179 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
2183 static inline void tcg_gen_qemu_ld32s(TCGv ret, TCGv addr, int mem_index)
2186 tcg_gen_op3i_i32(INDEX_op_qemu_ld32, ret, addr, mem_index);
2188 tcg_gen_op4i_i32(INDEX_op_qemu_ld32, TCGV_LOW(ret), TCGV_LOW(addr),
2190 tcg_gen_sari_i32(TCGV_HIGH(ret), TCGV_LOW(ret), 31);
2194 static inline void tcg_gen_qemu_ld64(TCGv_i64 ret, TCGv addr, int mem_index)
2197 tcg_gen_op4i_i32(INDEX_op_qemu_ld64, TCGV_LOW(ret), TCGV_HIGH(ret), addr, mem_index);
2199 tcg_gen_op5i_i32(INDEX_op_qemu_ld64, TCGV_LOW(ret), TCGV_HIGH(ret),
2250 static inline void tcg_gen_qemu_ld8u(TCGv ret, TCGv addr, int mem_index)
2252 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld8u, ret, addr, mem_index);
2255 static inline void tcg_gen_qemu_ld8s(TCGv ret, TCGv addr, int mem_index)
2257 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld8s, ret, addr, mem_index);
2260 static inline void tcg_gen_qemu_ld16u(TCGv ret, TCGv addr, int mem_index)
2262 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld16u, ret, addr, mem_index);
2265 static inline void tcg_gen_qemu_ld16s(TCGv ret, TCGv addr, int mem_index)
2267 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld16s, ret, addr, mem_index);
2270 static inline void tcg_gen_qemu_ld32u(TCGv ret, TCGv addr, int mem_index)
2273 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld32, ret, addr, mem_index);
2275 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld32u, ret, addr, mem_index);
2279 static inline void tcg_gen_qemu_ld32s(TCGv ret, TCGv addr, int mem_index)
2282 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld32, ret, addr, mem_index);
2284 tcg_gen_qemu_ldst_op(INDEX_op_qemu_ld32s, ret, addr, mem_index);
2288 static inline void tcg_gen_qemu_ld64(TCGv_i64 ret, TCGv addr, int mem_index)
2290 tcg_gen_qemu_ldst_op_i64(INDEX_op_qemu_ld64, ret, addr, mem_index);