VirtualBox

Ignore:
Timestamp:
Jun 29, 2011 4:01:23 PM (13 years ago)
Author:
vboxsync
Message:

recompiler: Merged in changes from 0.13.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/tcg-runtime.c

    r37675 r37689  
    2929
    3030#include "tcg/tcg-runtime.h"
     31
     32/* 32-bit helpers */
     33
     34int32_t tcg_helper_div_i32(int32_t arg1, int32_t arg2)
     35{
     36    return arg1 / arg2;
     37}
     38
     39int32_t tcg_helper_rem_i32(int32_t arg1, int32_t arg2)
     40{
     41    return arg1 % arg2;
     42}
     43
     44uint32_t tcg_helper_divu_i32(uint32_t arg1, uint32_t arg2)
     45{
     46    return arg1 / arg2;
     47}
     48
     49uint32_t tcg_helper_remu_i32(uint32_t arg1, uint32_t arg2)
     50{
     51    return arg1 % arg2;
     52}
     53
     54/* 64-bit helpers */
    3155
    3256int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette