Commit Graph

2416 Commits

Author SHA1 Message Date
fesily
cfc017496c fix table.reverse 2024-02-20 17:23:47 +08:00
fesily
b9786d3cb3 default disable load patch 2023-10-11 09:11:29 +08:00
fesily
de35fd24b8 linux: fix build 2023-09-16 08:39:26 +00:00
fesily
99acdffb11
Merge branch 'LuaJIT:v2.1' into dontstarve 2023-08-30 19:27:46 +08:00
fesily
f5db3994cd default off jit engine 2023-08-30 16:16:12 +08:00
Mike Pall
41fb94defa Add randomized register allocation for fuzz testing.
This must be explicitly enabled with: -DLUAJIT_RANDOM_RA
Thanks to Peter Cawley. #1062
2023-08-30 01:10:52 +02:00
Mike Pall
2f6c451ce8 ARM64: Improve register allocation for integer IR_MUL/IR_MULOV.
Thanks to Peter Cawley. #1062
2023-08-29 22:38:20 +02:00
Mike Pall
7ff8f26eb8 ARM64: Fix register allocation for IR_*LOAD.
Thanks to Peter Cawley. #1062
2023-08-29 22:35:10 +02:00
Mike Pall
356231edaf Merge branch 'master' into v2.1 2023-08-29 22:30:57 +02:00
Mike Pall
c6ee7e19d1 Update external MSDN URL in code.
Thanks to Kyle Marshall. #1060
2023-08-29 22:27:38 +02:00
Mike Pall
83954100db FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
Contributed by Peter Cawley. #205
2023-08-29 02:21:51 +02:00
Mike Pall
cf903edb30 FFI: Unify stack setup for C calls in interpreter. 2023-08-29 02:12:13 +02:00
Mike Pall
7cc53f0b85 ARM64: Prevent STP fusion for conditional code emitted by TBAR.
Thanks to Peter Cawley. #1057
2023-08-28 22:39:35 +02:00
Mike Pall
0fa2f1cbcf ARM64: Fix LDP/STP fusing for unaligned accesses.
Thanks to Peter Cawley. #1056
2023-08-28 22:33:54 +02:00
Mike Pall
c0d5240a25 Merge branch 'master' into v2.1 2023-08-28 22:24:36 +02:00
Mike Pall
0ef51b495f Handle table unsinking in the presence of IRFL_TAB_NOMM.
Reported by Sergey Kaplun. #1052
2023-08-28 22:15:42 +02:00
Mike Pall
238a2a80bb Merge branch 'master' into v2.1 2023-08-28 22:02:06 +02:00
Mike Pall
6a3111a57f Use fallback name for install files without valid .git or .relver. 2023-08-28 21:25:51 +02:00
Mike Pall
a0b52aae33 Handle non-.git checkout with .relver in .bat-file builds.
Thanks to Simon Cooke.
2023-08-28 21:59:01 +02:00
Mike Pall
631a45f73b Merge branch 'master' into v2.1 2023-08-28 21:08:00 +02:00
Mike Pall
14e2917e7a Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
Thanks to Peter Cawley. #1047
2023-08-28 21:04:01 +02:00
Mike Pall
309fb42b87 Fix predict_next() in parser (again).
Reported by Sergey Bronnikov. #1054
2023-08-28 21:00:37 +02:00
fesily
3e92b7e0c6 fix cmakelists 2023-08-25 10:04:15 +08:00
fesily
c87cb013df format dostring 2023-08-25 09:32:37 +08:00
fesily
63d89e7e3e Merge branch 'dontstarve' of https://github.com/fesily/LuaJIT into dontstarve 2023-08-25 09:29:33 +08:00
fesily
24e8adf315 add LUA_INIT 2023-08-25 09:29:28 +08:00
fesily
e1136896aa fix parser error 2023-08-25 09:12:40 +08:00
fesily
f4423a3957
Merge branch 'LuaJIT:v2.1' into dontstarve 2023-08-25 08:49:29 +08:00
Mike Pall
ff192d134d Merge branch 'master' into v2.1 2023-08-22 17:06:14 +02:00
Mike Pall
d0ce82ecdc Handle the case when .git is not a directory.
Thanks to Alexander Shpilkin.
2023-08-22 17:04:22 +02:00
Mike Pall
54ef81f864 Merge branch 'master' into v2.1 2023-08-21 13:09:52 +02:00
Mike Pall
ed21acd863 Fix Windows build scripts for rolling releases.
Reported by Miku AuahDark.
2023-08-21 13:08:00 +02:00
fesily
fe38c5be05 add LUA_COMPAT_VARARG 2023-08-21 10:22:27 +08:00
Mike Pall
3c290f817f Merge branch 'master' into v2.1 2023-08-21 04:03:25 +02:00
Mike Pall
6351abc78f Switch MSVC and console build scripts to rolling releases. 2023-08-21 03:59:03 +02:00
Mike Pall
2090842410 Merge branch 'master' into v2.1 2023-08-21 03:18:35 +02:00
Mike Pall
50e0fa03c4 Switch build system to rolling releases. 2023-08-21 03:06:26 +02:00
Mike Pall
ef587afb2c Merge branch 'master' into v2.1 2023-08-20 21:33:37 +02:00
Mike Pall
158a284cc9 Bump copyright date. 2023-08-20 21:25:30 +02:00
fesily
d87a18c473 fix stackover read 2023-08-18 17:15:11 +08:00
fesily
1c70983df1 add parser table hash patch 2023-08-18 16:19:15 +08:00
fesily
ca68f2bbcf fix LUAJIT_NUMMODE=2 2023-08-18 14:37:20 +08:00
fesily
41198c8d24 fix compiler warn 2023-08-18 14:33:51 +08:00
fesily
3c79770bcb add LUA_COMPAT_GFIND 2023-08-18 14:33:39 +08:00
fesily
e8811a28d9 delete unpack patch, add parser patch 2023-08-17 16:45:31 +08:00
fesily
e73a2dc482
Merge branch 'LuaJIT:v2.1' into dontstarve 2023-08-15 11:00:05 +08:00
Mike Pall
72efc42ef2 MIPS: Fix "bad FP FLOAD" assertion.
Reported by Sergey Kaplun. #1043
2023-08-13 03:02:25 +02:00
Mike Pall
119fd1fab0 Ensure forward progress on trace exit to BC_ITERN.
Also use a safer way to force a static dispatch for BC_RET*.
Reported by Bartel Eerdekens. Analyzed by Peter Cawley. #1000 #1045
2023-08-13 02:25:12 +02:00
Mike Pall
27af72e66f ARM64: Add support for ARM64e pointer authentication codes (PAC).
Contributed by Peter Cawley. #559
2023-08-12 22:25:40 +02:00
Mike Pall
dbed79ea5c Merge branch 'master' into v2.1 2023-08-12 22:20:33 +02:00