1 # Fortran MAXLOC SVP64 demo
3 MAXLOC is a notoriously difficult function for SIMD to cope with.
4 SVP64 however has similar capabilities to Z80 CPIR and LDIR
6 <https://bugs.libre-soc.org/show_bug.cgi?id=676>
9 int m2(int * const restrict a, int n)
28 [[!tag svp64_cookbook ]]
31 <https://www.intel.com/content/www/us/en/developer/articles/technical/optimizing-maxloc-operation-using-avx-512-vector-instructions.html#gs.12t5y0>
33 <img src="https://www.intel.com/content/dam/developer/articles/technical/optimizing-maxloc-operation-using-avx-512-vector-instructions/optimizing-maxloc-operation-using-avx-512-vector-instructions-code2.png
34 " alt="NLnet foundation logo" width="50%" />