I have not – Keno mentioned that it should be possible, so maybe he can expand on that.
On Sun, Nov 23, 2014 at 12:47 PM, Isaiah Norton <[email protected]> wrote: > > You can already inline assembly into llvm so it's not super clean but > it can be done. > > Do you have any examples of this in use? I tried some simple things based > on the examples in the LLVM manual and got "Failed to parse LLVM assembly" > errors. I had thought this was unavailable with the old JIT, but I haven't > yet dug in to find out for sure. > > On Sat, Nov 22, 2014 at 3:26 PM, Stefan Karpinski <[email protected]> > wrote: > >> You can already inline assembly into llvm so it's not super clean but it >> can be done. >> >> On Sat, Nov 22, 2014 at 3:15 PM, Isaiah Norton <[email protected]> >> wrote: >> >>> If it is exposed in some form by LLVM, you might be able to use llvmcall. >>> See https://github.com/JuliaLang/julia/pull/5046 >>> (and possibly also https://github.com/JuliaLang/julia/pull/8740) >>> >>> Eventually I believe we will have a similar `asmcall` feature. >>> >>> >>> On Sat, Nov 22, 2014 at 2:58 PM, eric l <[email protected]> wrote: >>> >>>> Is there a plan for some sort of intrinsics in Julia? The most recent >>>> iterations of the x86 ISA have things like pext that >>>> extract specific bits in a dw, or qw and pack them together. >>>> Currently to use an instruction like that I define a C function create >>>> a shared lib and make a ccall. >>>> This is rather sub optimal and the function while very simple is not >>>> inlined obviously... >>>> >>>> Thanks, >>>> >>>> -ETL >>> >>> >>> >> >
