Closed ThomasKaiser closed 7 years ago
lepton makes use of intel SSE intrinsics, which are special assembly instructions found on x86. So it currently only runs on this platform. However, the ARMv7 architecture has somewhat equivalent functionality which is called NEON.
If you're keen you could fork lepton and use the sse2neon.h header to port it to ARMv7. Here's a repo for a different project where NEON support has been added to a codebase that previously only supported SSE, you could use this as an example.
(I have no connection with lepton, just a randomer offering advice)
Edit: lepton uses some SSE4 instructions, which aren't currently in sse2neon.h See https://github.com/dropbox/lepton/issues/11
Richard: that's a really cool idea!
For now, we have a scalar version on the emscripten branch: feel free to try it out: https://github.com/dropbox/lepton/tree/emscripten
merged it into master
I tried out compilation an a dual-core A20 board (Cortex-A7, armhf, Ubuntu 16.04, kernel 4.6.4) but
make -j2
stops withI did not further investigate but wanted to ask first whether the tool is supposed to be used on different platforms than x86/x86-64?