https://github.com/zherczeg/sljit Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} zherczeg / sljit Public * Notifications You must be signed in to change notification settings * Fork 66 * Star 689 Platform independent low-level JIT compiler License View license 689 stars 66 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 5 * Pull requests 9 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights zherczeg/sljit This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 782 Commits doc doc regex_src regex_src sljit_src sljit_src test_src test_src .gitignore .gitignore API_CHANGES API_CHANGES CMakeLists.txt CMakeLists.txt GNUmakefile GNUmakefile INTERNAL_CHANGES INTERNAL_CHANGES LICENSE LICENSE README README View all files Repository files navigation * README * License SLJIT - Stack Less JIT Compiler Purpose: A low-level, machine independent JIT compiler, which is suitable for translating interpreted byte code into machine code. The sljitLir.h describes the LIR (low-level intermediate representation) of SLJIT. Key features: - Supports several target architectures: x86 32/64, ARM 32/64, RiscV 32/64, s390x 64, PowerPC 32/64, LoongArch 64, MIPS 32/64 - Supports a large number of operations - Supports self-modifying code - Supports tail calls - Support fast calls (non-ABI compatible) - Supports byte order reverse (endianness switching) - Supports unaligned memory accesses - Supports SIMD / atomic operations on certain CPUs - Direct register access, both integer and floating point - Stack space allocated for function local variables can be accessed as a linear memory area - All-in-one compilation is supported - When sljitLir.c is directly included by a C source file, the jit compiler API can be completely hidden from external use (see SLJIT_CONFIG_STATIC macro) - Code can be generated for multiple target cpus by including sljitLir.c in different C files, where each compiler instance is configured to target a different architecture - The compiler can be serialized into a byte buffer - Useful for ahead-of-time compiling - Code generation can be resumed after deserialization (partial ahead-of-time compiling) Compatible: C99 (C++) compilers. Using sljit: Copy the content of sljit_src directory into your project source directory. Add sljitLir.c source file to your build environment. All other files are included by sljitLir.c (if required). Define the machine by SLJIT_CONFIG_* selector. See sljitConfigCPU.h for all possible values. For C++ compilers, rename sljitLir.c to sljitLir.cpp. More info: https://zherczeg.github.io/sljit/ Contact: hzmester@freemail.hu Special thanks: Alexander Nasonov Carlo Marcelo Arenas Belon Christian Persch Daniel Richard G. Giuseppe D'Angelo H.J. Lu James Cowgill Jason Hood Jiong Wang (TileGX support) Marc Mutz Martin Storsjo Michael McConville Mingtao Zhou (LoongArch support) Walter Lee Wen Xichang YunQiang Su About Platform independent low-level JIT compiler Resources Readme License View license Activity Stars 689 stars Watchers 28 watching Forks 66 forks Report repository Releases No releases published Packages 0 No packages published Contributors 28 * * * * * * * * * * * * * * + 14 contributors Languages * C 99.7% * Other 0.3% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.