Debian Codegraph @

thirdparty/sljit/README

raw
1
2 SLJIT - Stack Less JIT Compiler
3
4 Purpose:
5 A low-level, machine independent JIT compiler, which is suitable for
6 translating interpreted byte code into machine code. The sljitLir.h
7 describes the LIR (low-level intermediate representation) of SLJIT.
8
9 Key features:
10 - Supports several target architectures:
11 x86 32/64, ARM 32/64, RiscV 32/64, s390x 64,
12 PowerPC 32/64, LoongArch 64, MIPS 32/64
13 - Supports a large number of operations
14 - Supports self-modifying code
15 - Supports tail calls
16 - Support fast calls (non-ABI compatible)
17 - Supports byte order reverse (endianness switching)
18 - Supports unaligned memory accesses
19 - Supports SIMD / atomic operations on certain CPUs
20 - Direct register access, both integer and floating point
21 - Stack space allocated for function local variables can be
22 accessed as a linear memory area
23 - All-in-one compilation is supported
24 - When sljitLir.c is directly included by a C source file,
25 the jit compiler API can be completely hidden from
26 external use (see SLJIT_CONFIG_STATIC macro)
27 - Code can be generated for multiple target cpus
28 by including sljitLir.c in different C files, where
29 each compiler instance is configured to target a
30 different architecture
31 - The compiler can be serialized into a byte buffer
32 - Useful for ahead-of-time compiling
33 - Code generation can be resumed after deserialization
34 (partial ahead-of-time compiling)
35
36 Compatible:
37 C99 (C++) compilers.
38
39 Using sljit:
40 Copy the content of sljit_src directory into your project source directory.
41 Add sljitLir.c source file to your build environment. All other files are
42 included by sljitLir.c (if required). Define the machine by SLJIT_CONFIG_*
43 selector. See sljitConfigCPU.h for all possible values. For C++ compilers,
44 rename sljitLir.c to sljitLir.cpp.
45
46 More info:
47 https://zherczeg.github.io/sljit/
48
49 Contact:
50 [email protected]
51
52 Special thanks:
53 Alexander Nasonov
54 Carlo Marcelo Arenas Belón
55 Christian Persch
56 Daniel Richard G.
57 Giuseppe D'Angelo
58 H.J. Lu
59 James Cowgill
60 Jason Hood
61 Jiong Wang (TileGX support)
62 Marc Mutz
63 Martin Storsjö
64 Michael McConville
65 Mingtao Zhou (LoongArch support)
66 Walter Lee
67 Wen Xichang
68 YunQiang Su