On Sunday, 22 March 2015 20:13:43 UTC+1, Isaiah wrote: > > The big change is that `Base.llvmcall` is now merged, so you can write > LLVM IR directly. There are two examples in test/llvmcall.jl, and I believe > Simon Byrne has been testing the use of this for some math intrinsics if > you want to google around (or maybe he will see this and comment if so). >
Kind of. I don't really speak assembly (or LLVM IR for that matter), I actually used the same "clang -emit-llvm" process. All I managed was accessing one of the more useless instructions: https://groups.google.com/d/msg/julia-users/-xe_UWUsPvg/Uoms09nc2AwJ Some instructions are also available via LLVM intrinsics, which can be slightly easier to use. See for example here: https://gist.github.com/simonbyrne/9c1e4704be46b66b1485 Unfortunately, these aren't really documented, but you can find some by grepping the LLVM tests directory. However to make this useful, we really need a fix to #8308 <https://github.com/JuliaLang/julia/issues/8308>. simon
