> As for doing it in julia, I found @simonbyrne's mxcsr.jl[1]. However, > I couldn't get it working without #11604[2]. Inline assembly in > llvmcall is working on LLVM 3.6 though[3], in case it's useful for > others. >
And for future references I find #789, which is not documented anywhere AFAICT.... (will probably file a doc issue...) It also supports runtime detection of cpu feature so it should be much more portable. [1] https://github.com/JuliaLang/julia/pull/789 > > [1] https://gist.github.com/simonbyrne/9c1e4704be46b66b1485 > [2] https://github.com/JuliaLang/julia/pull/11604 > [3] > https://github.com/yuyichao/explore/blob/a47cef8c84ad3f43b18e0fd797dca9debccdd250/julia/array_prop/array_prop.jl#L3 >
