Mike Pall
|
83d8c86bbb
|
FFI: Record conversions from bool ctype.
|
2011-01-17 01:21:57 +01:00 |
|
Mike Pall
|
66ba1e68aa
|
Add trace recorder infrastructure for instruction post-processing.
|
2011-01-17 01:20:10 +01:00 |
|
Mike Pall
|
b2ff889c6e
|
FFI: Don't swap operands for cdata __eq metamethod call.
|
2011-01-17 01:09:43 +01:00 |
|
Mike Pall
|
335232b0f1
|
FFI: Record conversions to bool ctype.
|
2011-01-16 19:42:53 +01:00 |
|
Mike Pall
|
2940ab023a
|
Fix assertion.
|
2011-01-16 19:24:50 +01:00 |
|
Mike Pall
|
6f746577d0
|
FFI: Allow indexing a struct constructor to get constants.
Specialize to the CTypeID held by a constructor in all cases.
|
2011-01-16 18:32:33 +01:00 |
|
Mike Pall
|
0fa32e5d31
|
FFI: Record conversions from strings to enums or pointers.
|
2011-01-13 17:20:29 +01:00 |
|
Mike Pall
|
59643c86fb
|
Add FOLD rule for CONV.num.u32 KINT.
|
2011-01-13 17:18:08 +01:00 |
|
Mike Pall
|
706bbe394e
|
Fix recording of select() with multi-char string as 1st argument.
|
2011-01-13 17:16:22 +01:00 |
|
Mike Pall
|
6e702d703e
|
FFI: Cleanup some type conversions.
Remove pointless conversions to booleans.
Allow assigning functions to function pointers.
|
2011-01-13 16:39:42 +01:00 |
|
Mike Pall
|
0ec7f5ed92
|
FFI: Add 64 bit integer comparisons and pointer comparisons.
|
2011-01-13 02:35:29 +01:00 |
|
Mike Pall
|
e7b08b2361
|
FFI: Simplify logic for pointer arithmetic.
|
2011-01-12 21:34:11 +01:00 |
|
Mike Pall
|
a5e48285e3
|
FFI: Rearrange code in lib_ffi.c.
|
2011-01-12 21:33:58 +01:00 |
|
Mike Pall
|
2363399b10
|
FFI: Untangle and fix calling convention definitions.
|
2011-01-12 20:01:35 +01:00 |
|
Mike Pall
|
1548383dbe
|
Avoid compiler warnings.
|
2011-01-12 18:22:00 +01:00 |
|
Mike Pall
|
8d858bfefa
|
FFI: Fix C calls with complex values on x64.
|
2011-01-11 03:36:49 +01:00 |
|
Mike Pall
|
a54843bb51
|
FFI: Lookup decorated name for fastcall/stdcall functions.
|
2011-01-11 03:08:54 +01:00 |
|
Mike Pall
|
87a6c8a980
|
FFI: Auto-detect __stdcall and fix up C function declarations.
|
2011-01-10 20:50:34 +01:00 |
|
Mike Pall
|
ddf6596333
|
FFI: Add ffi.load() and ffi.C default namespace.
|
2011-01-10 03:43:18 +01:00 |
|
Mike Pall
|
d215747fd5
|
FFI: Fix function pointer lookup for calls.
|
2011-01-10 03:38:23 +01:00 |
|
Mike Pall
|
9502afb35b
|
FFI: Preserve stack top across implicit load of FFI library in lexer.
|
2011-01-09 17:57:19 +01:00 |
|
Mike Pall
|
06f99fc3df
|
Bump copyright date to 2011.
|
2011-01-09 17:12:53 +01:00 |
|
Mike Pall
|
4c0330a8b1
|
FFI: Handle NYI cases for cdata call metamethod.
|
2011-01-09 16:48:37 +01:00 |
|
Mike Pall
|
bfc638ca6c
|
FFI: Add missing GC steps for C function calls.
|
2011-01-09 16:48:23 +01:00 |
|
Mike Pall
|
aca1e5b3e6
|
Fix Windows/x86 build and update pregenerated files.
|
2011-01-06 23:37:04 +01:00 |
|
Mike Pall
|
fb0a18ca0b
|
FFI: Add support for calling C functions.
|
2011-01-06 23:30:04 +01:00 |
|
Mike Pall
|
97875c4fa9
|
Avoid compiler warnings.
|
2011-01-05 21:48:01 +01:00 |
|
Mike Pall
|
a148a6aa00
|
FFI: Add missing link to parameters for C function declaration.
|
2011-01-05 21:45:31 +01:00 |
|
Mike Pall
|
bc37edc911
|
Fix handling of floats in x86/x64 backend.
|
2011-01-05 21:45:09 +01:00 |
|
Mike Pall
|
3b468ceedb
|
FFI: Force snapshot after store to cdata.
|
2011-01-05 20:28:57 +01:00 |
|
Mike Pall
|
eaf88dfb3a
|
FFI: Record 64 bit integer arithmetic.
Currently NYI in the x86 backend.
|
2011-01-03 03:35:35 +01:00 |
|
Mike Pall
|
44a22b9889
|
Add support for non-constant integer IR_MUL to backend.
|
2011-01-03 02:58:31 +01:00 |
|
Mike Pall
|
593821f7d9
|
Add support for integer IR_NEG to backend.
|
2011-01-03 02:35:30 +01:00 |
|
Mike Pall
|
3291bb62e0
|
FFI: Record pointer arithmetic.
|
2011-01-03 01:59:26 +01:00 |
|
Mike Pall
|
b2c74c52cc
|
FFI: Add support for cdata constants to IR.
|
2011-01-02 22:21:10 +01:00 |
|
Mike Pall
|
331b148737
|
Use cdata to pass IR_KINT64 to -jdump.
|
2011-01-02 22:20:08 +01:00 |
|
Mike Pall
|
e66b5b6eee
|
Improve uint64_t <-> FP conversions in x64 backend.
|
2011-01-02 20:43:58 +01:00 |
|
Mike Pall
|
55a9be7809
|
FFI: Record tonumber() for boxed cdata.
|
2011-01-02 18:30:02 +01:00 |
|
Mike Pall
|
0005b2c2b9
|
Add support for uint64_t <-> FP conversions to x64 backend.
|
2011-01-02 18:24:31 +01:00 |
|
Mike Pall
|
ddfa7fc246
|
Add conversions for type mismatches in XSTORE forwarding.
|
2010-12-31 22:50:06 +01:00 |
|
Mike Pall
|
3b47eba9cc
|
Add 8/16 to 32 bit sign/zero-extension variants to CONV.
|
2010-12-31 22:49:23 +01:00 |
|
Mike Pall
|
007067bdd8
|
Fix register allocation for FP <- int conversion.
|
2010-12-31 22:18:14 +01:00 |
|
Mike Pall
|
783dbd335f
|
Refactoring of conversion ops, part 5: drop TOINT/TOI64/TONUM.
|
2010-12-31 04:09:32 +01:00 |
|
Mike Pall
|
1716540c55
|
Refactoring of conversion ops, part 4: use CONV instead of TOINT/TONUM.
Also narrow CONV.int.num and CONV.i64.num.
|
2010-12-31 03:56:30 +01:00 |
|
Mike Pall
|
1f26961092
|
Refactoring of conversion ops, part 3: add FOLD rules for IR_CONV.
|
2010-12-31 03:47:30 +01:00 |
|
Mike Pall
|
65b194a2f8
|
Copy destination type for CONV from ir->t to op2, too.
|
2010-12-31 01:00:54 +01:00 |
|
Mike Pall
|
dc4b82c33d
|
Add lj_num2u64 for number to uint64_t conversion.
|
2010-12-31 00:46:29 +01:00 |
|
Mike Pall
|
4668b229de
|
FFI: Add missing GC steps for implicit allocations.
|
2010-12-30 12:16:25 +01:00 |
|
Mike Pall
|
158de60b8c
|
Refactoring of conversion ops, part 2: cleanup cdata conversions.
|
2010-12-30 00:42:00 +01:00 |
|
Mike Pall
|
8bcc5ed021
|
Add support for IRT_FLOAT to XLOAD/XSTORE.
|
2010-12-30 00:36:33 +01:00 |
|