Feng Guo created LUCENE-9636:
--------------------------------

             Summary: Exact and operation to get a SIMD optimize
                 Key: LUCENE-9636
                 URL: https://issues.apache.org/jira/browse/LUCENE-9636
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/codecs
            Reporter: Feng Guo


In `decode6()` `decode7()` `decode14()` `decode15()` `decode24`, longs always 
`&` a same mask and do some shift. By printing assemble language, i find that 
JIT did not optimize them with SIMD instructions. But when we extract all `&` 
operations and do them first, JIT will use SIMD optimize on them.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to