Jack Mott

Results 91 comments of Jack Mott

nope, prs welcome. next thing i am working on is probably wasm support, could add 8bit instructions eventually but might be a while On Wed, Jan 1, 2020 at 10:37...

Good point, the macros should probably create unsafe functions, since all the intrinsics are unsafe. Do you agree with that as the solution?

It looks like this crate does exactly what I am picturing: https://github.com/gnzlbg/sleef-sys But it still needs avx2 support added, which apparently cannot proceed until rust adds loung double to their...

as a stop gap for sleef avx2 support we can just do sse4 operations twice

@Lokathor typo! fixed. I meant without using simdeez, my lib.

can you try the current master branch and see if this is still an issue?

Ok I fixed up the i686 case, and it should fix most cases now since I'm doing the conditional includes based on target_feature now. wasm is broken because it just...

Hmm, actually what I did screws up other things. I think your are right it may be necessary to manually turn features on and off.

Yeah the problems comes up with runtime selection. Say you want a build that will run on any x86 machine, but will use AVX2 if available. Then then AVX2 feature...

Right, I think the problem is that the architecture flags (x86, x86_64 etc) aren't enough to tell you if SSE2 vs SSE4.1 etc are available. So probably need to make...