libmorton
libmorton copied to clipboard
Failing on WASM and 32-bit builds
On WASM, the non-intrinsic version pass with -02, but fails with -O3. I tried running it on x86, i.e. -m32. Here the non-intrinsic worked, but some patching is needed to get the bmi version to work.
Do you have any plans on making it work on WASM. For WASM morton codes is super relevant, since low memory is key.
If you've got any patches I'd be happy to look at them.
So far, I only added a filter for removing the stuff that fails. It seems it is an issue with the fast_int types. Looking into morton codes for reducing memory... Looks like it is an issue with the compiler - not your library (at least the WASM issue).... I may get back to you in time...
Feel free to do so! I'm not that familiar with WASM.