try DynASM jit codegen tools.