Home | History | Annotate | Download | only in tcg
      1 #ifndef TCG_RUNTIME_H
      2 #define TCG_RUNTIME_H
      3 
      4 /* tcg-runtime.c */
      5 int32_t tcg_helper_div_i32(int32_t arg1, int32_t arg2);
      6 int32_t tcg_helper_rem_i32(int32_t arg1, int32_t arg2);
      7 uint32_t tcg_helper_divu_i32(uint32_t arg1, uint32_t arg2);
      8 uint32_t tcg_helper_remu_i32(uint32_t arg1, uint32_t arg2);
      9 
     10 int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2);
     11 int64_t tcg_helper_shr_i64(int64_t arg1, int64_t arg2);
     12 int64_t tcg_helper_sar_i64(int64_t arg1, int64_t arg2);
     13 int64_t tcg_helper_div_i64(int64_t arg1, int64_t arg2);
     14 int64_t tcg_helper_rem_i64(int64_t arg1, int64_t arg2);
     15 int64_t tcg_helper_mulsh_i64(int64_t arg1, int64_t arg2);
     16 uint64_t tcg_helper_divu_i64(uint64_t arg1, uint64_t arg2);
     17 uint64_t tcg_helper_remu_i64(uint64_t arg1, uint64_t arg2);
     18 uint64_t tcg_helper_muluh_i64(uint64_t arg1, uint64_t arg2);
     19 
     20 #endif
     21