turborvb
turborvb copied to clipboard
Make 6 branch
Similarly to 0 branch we can have speed up for pseudo case if we make also branch 6 or 12.
This is little bit more technical but for those who don't know, there is a pseudo averaging in turbo in pseudopotential case. Number of points can be arbitrary but normally it is is either 0 (non-pseudo case), 6 (most common) or 12. If these numbers would be known during compile time compiler could do much better vectorization. The fore there is a trick how to automatically do a special branch of the code for these particular numbers.