Mirror of the LuaJIT git repository
Go to file
Alexey Kopytov 387d3abff4 Fixes #282: Incorrect range calculation in mcode_alloc()
Since 'range' in mcode_alloc() is calculated based on
LJ_TARGET_JUMPRANGE-1, i.e. already half the available jump range, don't
divide it by 2 again for randomized allocations.

Also fix the number of bits argument to LJ_PRNG_BITS() to not generate
excessive bits on architectures with LJ_TARGET_JUMPRANGE < 31. That
wouldn't play well with the 0x78b constant being XORed with the
generated random number apparently to improve PRNG properties, so that
part has been removed. Improving PRNG will be addressed separately.
2017-02-25 16:50:15 +03:00
doc Fix extension docs about package.searchers. 2017-01-18 01:45:47 +01:00
dynasm Merge branch 'master' into v2.1 2017-01-17 12:41:05 +01:00
etc Merge branch 'master' into v2.1 2017-01-17 12:41:05 +01:00
src Fixes #282: Incorrect range calculation in mcode_alloc() 2017-02-25 16:50:15 +03:00
.gitignore RELEASE LuaJIT-2.0.0-beta1 2009-12-08 19:46:35 +01:00
COPYRIGHT Bump copyright date to 2017. 2017-01-17 12:35:03 +01:00
Makefile MIPS64, part 2: Add MIPS64 hard-float JIT compiler backend. 2017-02-20 03:43:10 +01:00
README Merge branch 'master' into v2.1 2017-01-17 12:41:05 +01:00

README for LuaJIT 2.1.0-beta2
-----------------------------

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: http://luajit.org/

LuaJIT is Copyright (C) 2005-2017 Mike Pall.
LuaJIT is free software, released under the MIT license.
See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format.
Please point your favorite browser to:

 doc/luajit.html