sljit | Platform independent low-level JIT compiler | Compiler library

 by   zherczeg C Version: Current License: Non-SPDX

kandi X-RAY | sljit Summary

kandi X-RAY | sljit Summary

sljit is a C library typically used in Utilities, Compiler applications. sljit has no bugs, it has no vulnerabilities and it has low support. However sljit has a Non-SPDX License. You can download it from GitHub.

Purpose: A simple, machine independent JIT compiler, which suitable for translating interpreted byte code to machine code. The sljitLir.h describes the LIR (low-level intermediate representation) of SLJIT. Compatible: Any C (C++) compiler. At least I hope so. 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 sljitConfig.h for all possible values. For C++ compilers, rename sljitLir.c to sljitLir.cpp. Special thanks: Alexander Nasonov Carlo Marcelo Arenas Belón Christian Persch Daniel Richard G. Giuseppe D'Angelo H.J. Lu James Cowgill Jason Hood Jiong Wang (TileGX support) Marc Mutz Martin Storsjö Michael McConville Walter Lee Wen Xichang YunQiang Su.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sljit has a low active ecosystem.
              It has 439 star(s) with 45 fork(s). There are 23 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 36 have been closed. On average issues are closed in 142 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of sljit is current.

            kandi-Quality Quality

              sljit has no bugs reported.

            kandi-Security Security

              sljit has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              sljit has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              sljit releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sljit
            Get all kandi verified functions for this library.

            sljit Key Features

            No Key Features are available at this moment for sljit.

            sljit Examples and Code Snippets

            No Code Snippets are available at this moment for sljit.

            Community Discussions

            QUESTION

            Why does powerpc need this additional fluff to make a raw machine code function work?
            Asked 2019-Mar-25 at 19:28

            I'm working on a simple JIT compiler for PowerPC, I followed the examples in https://github.com/spencertipping/jit-tutorial to get a hang of how to work with it.

            The problem is that the identity function in the second example "jitproto.c" can't really be ported to powerpc as is, using the "LWA" and "BLR" instructions, it just causes segfaults when executed.

            In the end I used the machine code output of the SLJIT compiler (https://github.com/linux-on-ibm-z/sljit) to see what I'm doing wrong, and I see it generates 12 instruction words before what I thought would be the function.

            So what are those instructions doing? Why can't I just start the function directly like in x86?

            Code can be compiled with a C99 compiler on PPC64 (tested in a powermac and a power8 server).

            ...

            ANSWER

            Answered 2019-Mar-25 at 18:12

            The instructions are required for setting up the stack layout of PPC64 ABI. See here: http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#STACK

            Source https://stackoverflow.com/questions/55329481

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sljit

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/zherczeg/sljit.git

          • CLI

            gh repo clone zherczeg/sljit

          • sshUrl

            git@github.com:zherczeg/sljit.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Compiler Libraries

            rust

            by rust-lang

            emscripten

            by emscripten-core

            zig

            by ziglang

            numba

            by numba

            kotlin-native

            by JetBrains

            Try Top Libraries by zherczeg

            repan

            by zherczegC

            pcresp

            by zherczegC

            mpm

            by zherczegC