Commit Graph

  • 8f868a9d02 LJ_GC64: Update IR type sizes. Mike Pall 2016-05-23 00:38:18 +0200
  • f26679c719 LJ_GC64: Add support for 64 bit GCobj constants in the IR. Mike Pall 2016-05-23 00:34:05 +0200
  • 9e99ccc360 Strip out old infrastructure for 64 bit constants. Mike Pall 2016-05-23 00:27:51 +0200
  • 7fb75ccc4c Embed 64 bit constants directly in the IR, using two slots. Mike Pall 2016-05-23 00:25:29 +0200
  • a4067978b6 Always walk IR constants in ascending order. Mike Pall 2016-05-22 23:45:40 +0200
  • 3152ed98ea Simplify GCtrace * reference embedding for trace stitching. Mike Pall 2016-05-22 23:40:37 +0200
  • a657fa0186 Make the IR immovable after assembly. Mike Pall 2016-05-22 23:25:28 +0200
  • 252182ce36 Merge cdf0b5dd73 into 475a6ae33f katlogic 2016-05-22 07:34:59 +0000
  • 513587656a Add ra_addrename(). Mike Pall 2016-05-21 01:45:18 +0200
  • ccae333844 Load SIMD constants with IR_FLOAD from GG_State. Mike Pall 2016-05-21 01:04:17 +0200
  • 786dbb2ebd Add IR_FLOAD with REF_NIL for field loads from GG_State. Mike Pall 2016-05-21 00:30:36 +0200
  • cfa188f134 Move common 32/64 bit in-memory FP constants to jit_State. Mike Pall 2016-05-21 00:02:45 +0200
  • 1931b38da5 LJ_GC64: Introduce IRT_PGC. Mike Pall 2016-05-20 22:41:42 +0200
  • 475a6ae33f Merge branch 'master' into v2.1 Mike Pall 2016-05-20 20:26:39 +0200
  • 37e1e70313 Add guard for obscure aliasing between open upvalues and SSA slots. Mike Pall 2016-05-20 20:24:06 +0200
  • d4f3b1136b Workaround for MinGW headers lacking some exception definitions. Mike Pall 2016-05-20 19:45:38 +0200
  • 4fe400cfd5 Merge branch 'master' into v2.1 Mike Pall 2016-05-20 19:44:23 +0200
  • 5837c2a2fb Remove assumption that lj_math_random_step() doesn't clobber FPRs. Mike Pall 2016-05-20 19:43:34 +0200
  • 573daa9c97 Fix dependencies. Mike Pall 2016-05-19 15:09:08 +0200
  • d7488881cc Merge 7213658b33 into 35b09e692e Peter Cawley 2016-05-18 02:59:03 +0000
  • 7213658b33 x64/LJ_GC64: Enable JIT compilation. Peter Cawley 2016-03-26 15:42:53 +0000
  • 79021951e5 LJ_FR2: Improve trace recording and snapshots. Peter Cawley 2016-03-26 15:37:38 +0000
  • a1bbfd7f18 LJ_GC64: Update IR type sizes. Peter Cawley 2016-03-26 15:07:21 +0000
  • 5a6fbbe0e7 Support LJ_GC64 in the IR Peter Cawley 2016-05-18 03:32:41 +0100
  • 6eaffef68d Strip out old infrastructure for 64-bit constants. Peter Cawley 2016-05-18 03:23:30 +0100
  • 0d61fc1fb8 Embed 64 bit constants directly in the IR, using two slots. Peter Cawley 2016-05-18 03:19:59 +0100
  • ce3fcda9ea rec_check_ir: Walk the IR in increasing order. Peter Cawley 2016-05-18 02:57:23 +0100
  • fdf6eb4678 sink: Sweep constants in increasing order. Peter Cawley 2016-05-18 02:55:35 +0100
  • 9d51806696 Have trace stitching embed the GCtrace* directly in an IR_KGC. Peter Cawley 2016-05-18 02:50:42 +0100
  • 5687444c59 Allocate the final GCtrace* prior to assembly. Peter Cawley 2016-05-10 01:07:16 +0100
  • 5855f6540a Introduce ra_addrename. Peter Cawley 2016-05-09 23:50:02 +0100
  • 2fd5a19d64 Use lj_ir_ggfload for SIMD constants. Peter Cawley 2016-05-09 22:52:40 +0100
  • 5201498a06 Introduce lj_ir_ggfload (IR_FLOAD with NIL op1 => load from GG). Peter Cawley 2016-05-09 22:51:58 +0100
  • 26cd51981c Avoid generating new IR constants during assembly. Peter Cawley 2016-05-09 21:56:38 +0100
  • 95545e11e2 Use IRT_PGC instead of IRT_P32 in various places. Peter Cawley 2016-03-25 14:46:01 +0000
  • 35b09e692e Windows/x86: Add full exception interoperability. Mike Pall 2016-05-07 12:32:15 +0200
  • 7a4c9b231a Windows/x86: Full exception interoperability. Peter Cawley 2016-05-04 00:13:46 +0100
  • c31d693761 Windows/x86: Make it safe to throw Lua errors in SEH contexts. Peter Cawley 2016-04-26 23:28:06 +0100
  • 6a9973203c Merge branch 'master' into v2.1 Mike Pall 2016-05-06 12:09:23 +0200
  • f05280e415 x86/x64: Fix instruction length decoder. Mike Pall 2016-05-06 12:08:00 +0200
  • 221268b17d Use the GDB JIT API in a thread-safe manner. Mike Pall 2016-05-03 18:30:01 +0200
  • b4d83eda17 Add a simple spinlock around __jit_debug_descriptor manipulation. Peter Cawley 2016-05-01 18:24:13 +0100
  • c958b87d85 special case for long strings and x86_64 Sokolov Yura aka funny_falcon 2016-04-28 19:17:00 +0300
  • ba922dbe0b use dump but fast function for whole string hashing Sokolov Yura aka funny_falcon 2016-04-28 18:03:12 +0300
  • ac42037db0 Constrain value range of lj_ir_kptr() to unsigned 32 bit pointers. Mike Pall 2016-04-24 17:32:12 +0200
  • d8ac6230ed Merge branch 'master' into v2.1 Mike Pall 2016-04-24 17:14:35 +0200
  • 7b26e9c998 Fix GCC 6 -Wmisleading-indentation warnings. Mike Pall 2016-04-24 17:10:24 +0200
  • 27a5ecd97c Merge 33ee12a91b into 344fe5f01d Peter Cawley 2016-04-23 22:38:03 +0000
  • 33ee12a91b Have lj_ir_kptr_ accept pointers in [0, 4G) rather than [-2G, 2G) Peter Cawley 2016-04-23 23:07:48 +0100
  • bd19df1ea4 Merge 7fea6a89a6 into 344fe5f01d Roman Tsisyk 2016-04-22 13:30:43 +0000
  • a7c5eae1d5 Merge 7fea6a89a6 into 2f0001fad0 Roman Tsisyk 2016-04-22 13:28:32 +0000
  • 7fea6a89a6 Fix misleading-indentation warnings under GCC 6.0 Roman Tsisyk 2016-04-22 16:19:18 +0300
  • 344fe5f01d Merge branch 'master' into v2.1 Mike Pall 2016-04-21 17:01:36 +0200
  • 2f0001fad0 Fix handling of non-numeric strings in arithmetic coercions. Mike Pall 2016-04-21 17:00:58 +0200
  • 987da22c0c Merge b03e492900 into 4c6498d245 Vyacheslav Egorov 2016-04-20 16:43:14 +0000
  • b03e492900 Fix typo noticed by Peter Cawley Vyacheslav Egorov 2016-04-20 18:42:35 +0200
  • a9d583b937 Check for non-numeric string operands when recording arithmetic operations. Vyacheslav Egorov 2016-04-20 18:29:33 +0200
  • 4c6498d245 Merge branch 'master' into v2.1 Mike Pall 2016-04-18 13:41:41 +0200
  • cc4f5d056a Whitespace. Mike Pall 2016-04-18 13:40:49 +0200
  • d13d420980 Merge branch 'master' into v2.1 Mike Pall 2016-04-18 11:17:15 +0200
  • 73680a5fc7 x86/x64: Search for exit jumps with instruction length decoder. Mike Pall 2016-04-18 11:16:13 +0200
  • 0c6fdc1039 Rewrite memory block allocator. Mike Pall 2016-04-18 10:57:49 +0200
  • 101115ddd8 Merge branch 'master' into v2.1 Mike Pall 2016-04-14 00:16:17 +0200
  • e5b5e079c3 MIPS: Fix BC_ISNEXT fallback path. Mike Pall 2016-04-14 00:14:42 +0200
  • 096a7cf4e4 x64/LJ_GC64: Fix BC_UCLO check for fast-path. Mike Pall 2016-04-13 16:10:03 +0200
  • 82a5b14ff2 Merge 78f1586d9b into ac9193cfeb Vyacheslav Egorov 2016-04-13 12:23:05 +0000
  • 78f1586d9b Fix UCLO in vm_x64.dasc: openupval is a 64-bit pointer Vyacheslav Egorov 2016-04-13 14:18:02 +0200
  • 030a8643e7 PPC64: Fix external branches that should address on R12 Gustavo Serra Scalet 2016-02-19 15:09:18 -0200
  • 0213722d42 PPC64: Enable support for ppc64 little endian Gustavo Serra Scalet 2015-06-02 14:49:19 -0300
  • 069296bba0 PPC64: Add ffi support Gustavo Serra Scalet 2015-06-02 15:15:37 -0300
  • 04c444e533 PPC64: Add special instructions for PIC code setup Gustavo Serra Scalet 2015-06-02 14:35:00 -0300
  • 821f0b7535 PPC64: Add LJ_GC64 mode interpreter for ppc. Gustavo Serra Scalet 2015-06-02 14:50:03 -0300
  • dbd04e77a0 PPC64: Add method for external branch by using @got for PIC Gustavo Serra Scalet 2015-06-02 15:54:46 -0300
  • abac466f8b PPC64: Fix sradi machine code offsets Gustavo Serra Scalet 2015-06-02 14:36:20 -0300
  • ac9193cfeb x86: Improve disassembly of BMI2 instructions. Mike Pall 2016-04-05 15:10:14 +0200
  • 81cde59498 x86: Improve disassembly of BMI2 instructions. Peter Cawley 2016-04-04 22:28:43 +0100
  • d150fbf441 Merge branch 'master' into v2.1 Mike Pall 2016-04-03 19:13:37 +0200
  • 1c6fd13dbd Fix recording of select(n, ...) with off-trace varargs Mike Pall 2016-04-03 19:12:28 +0200
  • 25b377942a Merge branch 'master' into v2.1 Mike Pall 2016-04-03 19:08:32 +0200
  • 4ab6367b21 Cygwin: Allow cross-builds to non-Cygwin targets. Mike Pall 2016-04-03 19:07:19 +0200
  • 217ed8c233 Add extra guard when recording select(x, ...) with off-trace varargs Peter Cawley 2016-04-02 18:18:00 +0100
  • 296f0ca8d7 Windows/x64/LJ_GC64: Fix math.frexp() and math.modf() (again). Mike Pall 2016-03-31 04:17:21 +0200
  • e96b41fe7c Merge 0d16fbe308 into 6e623b9914 Peter Cawley 2016-03-30 22:39:22 +0000
  • 0d16fbe308 x64/LJ_GC64/Windows: Fix math.frexp and math.modf Peter Cawley 2016-03-30 23:35:07 +0100
  • 6e623b9914 Merge branch 'master' into v2.1 Mike Pall 2016-03-30 16:30:44 +0200
  • 62af101524 MIPS: Fix use of ffgccheck delay slots in interpreter. Mike Pall 2016-03-30 16:26:27 +0200
  • 892887e584 x86: Generate BMI2 shifts and rotates, if available. Mike Pall 2016-03-28 23:05:20 +0200
  • 6801e7165c x86: Detect BMI2 instruction support. Mike Pall 2016-03-28 23:04:33 +0200
  • c24c8e5312 x64/LJ_GC64: Fix JIT glue code in interpreter. Mike Pall 2016-03-28 22:31:18 +0200
  • d7145616ae Merge branch 'master' into v2.1 Mike Pall 2016-03-28 22:24:01 +0200
  • 9531eb235b Windows: Remove intermediate files at end of build. Mike Pall 2016-03-28 22:23:37 +0200
  • e03e5979c4 Fix compiler warnings. Mike Pall 2016-03-28 22:19:45 +0200
  • df7bb5bb72 Merge branch 'master' into v2.1 Mike Pall 2016-03-28 22:17:41 +0200
  • e23fc10883 Fix display of NULL (light)userdata in -jdump. Mike Pall 2016-03-28 22:15:13 +0200
  • c7305408d1 Fix formatting of some small denormals at low precision. Mike Pall 2016-03-28 21:39:31 +0200
  • e876ae06a2 Fixed ANSI-C compatibility in lj_fopen.c Wohlstand 2016-03-25 00:53:13 +0300
  • 8f570d6355 Fixed ANSI-C compatibility in lj_fopen.c Wohlstand 2016-03-25 00:51:53 +0300
  • 7115753e47 Allow UTF-8 paths on Windows A paths trouble appears on Windows OS when program which uses luajit is placed in a path which contains non-ASCII characters. Usually on Linux, OS X and other posix and unix-like platforms paths are encoded as UTF-8, therefore no troubles with fopen() function. On modern Windows versions all paths are encoded as UTF-16LE and also fopen() function on Windows always accepts ANSI-encoded paths, therefore because a codepage mismatch, fopen() think that file is not exists. To resolve this trouble need to convert accepted path into UTF-16 from UTF-8 and use _wfopen() which accepts UTF-16 paths. Wohlstand 2016-03-24 19:15:06 +0300
  • ee4a518ae1 Tiny fix Forgot to add overflow protection into _lua_freopen function too Wohlstand 2016-03-24 12:31:56 +0300
  • e2fd9f5288 Allow UTF-8 paths on Windows A paths trouble appears on Windows OS when program which uses luajit is placed in a path which contains non-ASCII characters. Usually on Linux, OS X and other posix and unix-like platforms paths are encoded as UTF-8, therefore no troubles with fopen() function. On modern Windows versions all paths are encoded as UTF-16LE and also fopen() function on Windows always accepts ANSI-encoded paths, therefore because a codepage mismatch, fopen() think that file is not exists. To resolve this trouble need to convert accepted path into UTF-16 from UTF-8 and use _wfopen() which accepts UTF-16 paths. Wohlstand 2016-03-24 12:28:46 +0300