NativeJIT
NativeJIT copied to clipboard
A C++ expression -> x64 JIT
I'm wondering is there is still a maintainer for this project? Based on the commits nothing really happened in the last 5 years. Did the project got moved, or forked...
Using double precision version of functions from standard math library fails to compile with the following error, The code ```C++ // does not compile ExecutionBuffer codeAllocator(8192); Allocator allocator(8192); FunctionBuffer code(codeAllocator,...
I built NativeJIT with g++ 5.4.0 on CentOS 7.2. Then I tried to compile your "radius" test code (http://bitfunnel.org/getting-started-with-nativejit/) but got following error:" /usr/local/gcc54/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include/popcntintrin.h: In function 'uint8_t NativeJIT::BitOp::GetNonZeroBitCount(uint32_t)': /usr/local/gcc54/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include/popcntintrin.h:35:1: error:...
resolves this compiler warning with clang 10: ``` ../inc/Temporary/StlAllocator.h:95:23: error: definition of implicit copy constructor for 'StlAllocator' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy] StlAllocator& operator=(const...
Using the lastest CLang compiler, I found the following issues: ``` In file included from NativeJIT/inc/NativeJIT/ExecutionPreconditionTest.h:29:0, from NativeJIT/inc/NativeJIT/Function.h:26, from NativeJIT/Examples/Parser/Parser.cpp:7: NativeJIT/inc/NativeJIT/Nodes/ImmediateNodeDecls.h: In instantiation of ‘class NativeJIT::ImmediateNode’: NativeJIT/Examples/Parser/Parser.cpp:248:65: recursively required by...
So I tried to compile NativeJIT with the x86 architecture (using VS2015 on Win7) and stumbled over the following roadblocks: 1. Missing BitOperations (`popcnt64`, etc) - easily replacable by two...
I realized there is no node for division. Is there a reason for this (I am wondering because it's such a basic operation).
~~~ void JumpTable::PatchCallSites() { for (size_t i=0; i < m_callSites.size(); ++i) { const CallSite& site = m_callSites[i]; const uint8_t* labelAddress = AddressOfLabel(site.GetLabel()); uint8_t* siteAddress = site.Site(); ptrdiff_t delta = labelAddress...
We have so many warnings that if we enable general warnings the build errors out with "too many errors". I've fixed some of these in 603d5fca4afa34d6aa6f6ce608a47d61104ab7ed and 5cc6904cd66a3646a05bbe9623fc8c40606d91be but there...
The toplevel CMakeLists.txt still seems to have some holdovers from the time when we would clone gtest during configuration. These should be removed if we are not incorporating gtest via...