LispWorks + AVX-512?
Hello, I was wondering if anyone has tinkered with the AVX-512 instruction set and could recommend best practices for writing LispWorks programs that make efficient use of SSE/AVX intrinsics. This is far from a complete thought, but I was thinking about something like this as a starting point: 1. Write a C library exposing an API to whichever SSE/AVX intrinsics you care about using and compile it. 2. Link that C library into the Lisp image via LispWorks' foreign language interface. 3. Using LispWorks' "compiler" package, write domain-specific compiler transforms that somehow expand into calls to the aforementioned C library when appropriate. 4. ??? I am thinking that Lisp and C should probably make use of shared memory via static (non-movable) vectors. I have no idea where to really get started with compiler:deftransform. Does anyone have any example code they can share? Please correct any mistaken assumptions I have made in this post. Thank you, Adrian _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html