diff options
Diffstat (limited to 'src/lj_carith.h')
-rw-r--r-- | src/lj_carith.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lj_carith.h b/src/lj_carith.h index bac3e1a4..af6225ae 100644 --- a/src/lj_carith.h +++ b/src/lj_carith.h | |||
@@ -13,6 +13,16 @@ | |||
13 | LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); | 13 | LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); |
14 | LJ_FUNC int lj_carith_len(lua_State *L); | 14 | LJ_FUNC int lj_carith_len(lua_State *L); |
15 | 15 | ||
16 | #if LJ_32 | ||
17 | LJ_FUNC uint64_t lj_carith_shl64(uint64_t x, int32_t sh); | ||
18 | LJ_FUNC uint64_t lj_carith_shr64(uint64_t x, int32_t sh); | ||
19 | LJ_FUNC uint64_t lj_carith_sar64(uint64_t x, int32_t sh); | ||
20 | LJ_FUNC uint64_t lj_carith_rol64(uint64_t x, int32_t sh); | ||
21 | LJ_FUNC uint64_t lj_carith_ror64(uint64_t x, int32_t sh); | ||
22 | #endif | ||
23 | LJ_FUNC uint64_t lj_carith_shift64(uint64_t x, int32_t sh, int op); | ||
24 | LJ_FUNC uint64_t lj_carith_check64(lua_State *L, int narg, CTypeID *id); | ||
25 | |||
16 | #if LJ_32 && LJ_HASJIT | 26 | #if LJ_32 && LJ_HASJIT |
17 | LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); | 27 | LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); |
18 | #endif | 28 | #endif |