rmuir commented on PR #12694: URL: https://github.com/apache/lucene/pull/12694#issuecomment-1770956279
I also question this is the correct design with respect to the hardware. Look at instruction support for doing this stuff which uses signed bytes: https://www.felixcloutier.com/x86/vpdpbusd and with saturation: https://www.felixcloutier.com/x86/vpdpbusds It would be bad to "pick" vectors format that is not friendly to such instructions. Maybe it is the saturation that you really want for better results, which would still be supported by the hardware at least in theory. i don't know if we can coerce vector api into doing it today. Maybe it is possible to get something reasonable using xor/shift like NumericUtils code :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org