FFI: Add 64 bit bitwise operations.

This commit is contained in:
Mike Pall
2013-03-13 22:44:01 +01:00
parent 3e8f5ac718
commit a98aede377
12 changed files with 496 additions and 61 deletions

View File

@@ -172,7 +172,12 @@ typedef struct CCallInfo {
_(FFI, memcpy, 3, S, PTR, 0) \
_(FFI, memset, 3, S, PTR, 0) \
_(FFI, lj_vm_errno, 0, S, INT, CCI_NOFPRCLOBBER) \
_(FFI32, lj_carith_mul64, ARG2_64, N, I64, CCI_NOFPRCLOBBER)
_(FFI32, lj_carith_mul64, ARG2_64, N, I64, CCI_NOFPRCLOBBER) \
_(FFI32, lj_carith_shl64, 3, N, U64, CCI_NOFPRCLOBBER) \
_(FFI32, lj_carith_shr64, 3, N, U64, CCI_NOFPRCLOBBER) \
_(FFI32, lj_carith_sar64, 3, N, U64, CCI_NOFPRCLOBBER) \
_(FFI32, lj_carith_rol64, 3, N, U64, CCI_NOFPRCLOBBER) \
_(FFI32, lj_carith_ror64, 3, N, U64, CCI_NOFPRCLOBBER) \
\
/* End of list. */