Commit Graph

2576 Commits (6053b04815ecbc8eec1e361ceb64e68fb8fac1b3)

Author SHA1 Message Date
Mike Pall 6053b04815 DynASM: Fix warnings. 2022-06-08 16:21:01 +02:00
Mike Pall 02da2218ed Merge branch 'master' into v2.1 2022-06-08 15:36:47 +02:00
Mike Pall 7dc3850e78 Fix warnings in minilua.c. 2022-06-08 15:35:12 +02:00
Mike Pall 5f70f7723e Merge branch 'master' into v2.1 2022-06-08 15:03:52 +02:00
Mike Pall fd86c924b9 Update console build instructions. 2022-06-08 14:55:59 +02:00
Mike Pall 7beb3375e3 Add Nintendo Switch port.
Contributed by Swyter and vdweller84.
2022-06-08 14:24:57 +02:00
Mike Pall 96157d360d Avoid zero-sized arrays in jit_State. 2022-06-08 11:26:50 +02:00
Mike Pall b32e94856b Don't use jit_State during build with JIT disabled. 2022-06-08 11:20:28 +02:00
Mike Pall 68bb11405c DynASM/ARM64: Fix LSL/BFI* encoding with variable registers.
Thanks to Dmitry Stogov.
2022-06-02 13:48:04 +02:00
Mike Pall d4b6bb80ea Fix ITERN loop detection when hook checks are enabled.
Reported by Myria.
2022-06-02 13:18:10 +02:00
Mike Pall 1b8d8cabdc Merge branch 'master' into v2.1 2022-05-21 12:02:32 +02:00
Mike Pall bb7a30727e Prevent C compiler undefined-behavior optimization. 2022-05-21 12:00:10 +02:00
Mike Pall 4ef96cff88 Fix alias analysis for table length forwarding.
Contributed by Maxim Sokolov.
2022-05-20 12:16:25 +02:00
Mike Pall 80bb1428aa Fix loop initialization in table.foreach().
Reported by Daniel Steinberg.
2022-05-20 11:54:20 +02:00
Mike Pall 91bc6b8ad1 LJ_GC64: Fix HREFK optimization.
Contributed by XmiliaH.
2022-05-03 20:51:29 +02:00
Mike Pall 3ee3c9cfa9 Fix recording of __concat metamethod.
Reported by Elias Oelschner. Analyzed by XmiliaH.
2022-05-02 22:33:35 +02:00
Mike Pall f2b37f51f6 Merge branch 'master' into v2.1 2022-04-18 02:02:56 +02:00
Mike Pall 5743edf3b0 Cleanup of system and architecture support docs. 2022-04-18 01:54:00 +02:00
Mike Pall 34a62c7f73 Add PS5 port. 2022-04-17 23:41:39 +02:00
Mike Pall ddb9553764 Merge branch 'master' into v2.1 2022-04-17 10:57:43 +02:00
Mike Pall 1a401622fe Fix assertions.
Reported by ssdr.
2022-04-17 10:56:11 +02:00
Mike Pall 5e3c45c43b x64: Fix RETHI/RETLO swap after call.
Reported by savilli.
2022-04-05 09:55:15 +02:00
Mike Pall 20aea93915 Fix assertion for LJ_KEYINDEX.
Thanks to XmiliaH.
2022-04-03 10:35:42 +02:00
Mike Pall 1cdff194cf Add missing check for LJ_KEYINDEX in ITERN recording.
Reported by dragonorloong. Analyzed by vfprintf. #827
2022-04-02 21:27:43 +02:00
Mike Pall e2c312e0de DynASM/ARM64: Fix NOP instruction for aligment
Reported by Marius Wachtler.
2022-03-25 15:31:17 +01:00
Mike Pall 43ebb949a2 Fix soft-float IR_POW splitting.
Reported by lison0322.
2022-03-20 11:29:17 +01:00
Mike Pall c4fe76d50c Merge branch 'master' into v2.1 2022-03-13 18:34:59 +01:00
Mike Pall 93a65d3cc2 Fix BC_UCLO insertion for returns.
Contributed by XmiliaH.
2022-03-13 18:32:32 +01:00
Mike Pall 8b8304f16e Fix compiler warning. 2022-03-08 20:05:33 +01:00
Mike Pall 96d6d50320 Revert to trival pow() optimizations to prevent inaccuracies. 2022-03-08 19:44:10 +01:00
Mike Pall aa0550e3f0 Fix string buffer COW handling, part 2.
Reported by XmiliaH.
2022-03-07 15:46:51 +01:00
Mike Pall f004a51b3a Merge branch 'master' into v2.1 2022-03-07 09:51:56 +01:00
Mike Pall 62339a614f Fix install docs for Android.
Thanks to GuDzpoz.
2022-03-07 09:50:25 +01:00
Mike Pall c93890ed8b *BSD: Fix getentropy() declaration.
Thanks to dundargoc.
2022-03-07 09:45:04 +01:00
Mike Pall c4adf49204 Fix string buffer COW handling.
Reported by XmiliaH.
2022-03-07 09:42:59 +01:00
Mike Pall 1d7b5029c5 Merge branch 'master' into v2.1 2022-01-27 22:26:14 +01:00
Mike Pall 9ebebc9b58 Fix command-line argv handling. 2022-01-27 22:18:39 +01:00
Mike Pall b96d74621b Merge branch 'master' into v2.1 2022-01-25 22:18:20 +01:00
Mike Pall c2237247cc Don't export internal symbol. 2022-01-25 22:17:56 +01:00
Mike Pall 9512d5c1ac Fix pow() optimization inconsistencies. 2022-01-24 14:37:50 +01:00
Mike Pall c18acfe756 Merge branch 'master' into v2.1 2022-01-23 19:19:26 +01:00
Mike Pall c50232eb32 Always exit after machine code page protection change fails.
Reported by Sergey Kaplun.
2022-01-23 19:16:53 +01:00
Mike Pall 5935564c3b Fix FOLD rule for BUFHDR append with intervening buffer use.
Reported by XmiliaH.
2022-01-23 19:13:53 +01:00
Mike Pall c929efc039 Fix compiled error handling for buffer methods.
Contributed by XmiliaH.
2022-01-23 19:10:47 +01:00
Mike Pall 4077f0c3d6 Prevent unroll across BC_ITERN.
Reported by Marukyu.
2022-01-16 21:01:52 +01:00
Mike Pall 1dddc55ca3 Prevent replay of buffer operation for PHI operands.
Contributed by XmiliaH.
2022-01-16 21:00:24 +01:00
Mike Pall 2c218bf756 Merge branch 'master' into v2.1 2022-01-16 20:59:10 +01:00
Mike Pall b5b20191f3 Save trace recorder state around VM event call.
Reported by Sergey Kaplun.
2022-01-16 20:58:42 +01:00
Mike Pall 7306ba78d6 Merge branch 'master' into v2.1 2022-01-15 19:42:30 +01:00
Mike Pall c4dfb625ba Bump copyright date. 2022-01-15 19:30:54 +01:00