Changeset 37689 in vbox for trunk/src/recompiler/tcg-runtime.c
- Timestamp:
- Jun 29, 2011 4:01:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/tcg-runtime.c
r37675 r37689 29 29 30 30 #include "tcg/tcg-runtime.h" 31 32 /* 32-bit helpers */ 33 34 int32_t tcg_helper_div_i32(int32_t arg1, int32_t arg2) 35 { 36 return arg1 / arg2; 37 } 38 39 int32_t tcg_helper_rem_i32(int32_t arg1, int32_t arg2) 40 { 41 return arg1 % arg2; 42 } 43 44 uint32_t tcg_helper_divu_i32(uint32_t arg1, uint32_t arg2) 45 { 46 return arg1 / arg2; 47 } 48 49 uint32_t tcg_helper_remu_i32(uint32_t arg1, uint32_t arg2) 50 { 51 return arg1 % arg2; 52 } 53 54 /* 64-bit helpers */ 31 55 32 56 int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2)
Note:
See TracChangeset
for help on using the changeset viewer.