rmuir commented on PR #12632: URL: https://github.com/apache/lucene/pull/12632#issuecomment-1772702122
I would really just fix the api: instead of `IntVector.SPECIES_PREFERRED` constant which is meaningless, it should be a method taking `VectorOperation...` about how you plan to use it. it should be something like this in our code: ``` import static VectorOperators.ADD; import static VectorOperators.MUL; // get preferred species on the platform for doing multiplication and addition static final DOT_PRODUCT_SPECIES = IntVector.preferredFor(MUL, ADD); ``` Then openjdk can keep its hacks to itself. But if they wont fix this, they should expose them. -- 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