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
