LantaoJin commented on PR #16807:
URL: https://github.com/apache/lucene/pull/16807#issuecomment-6117385451

   > I'm also curious how you found this @LantaoJin ? We want to make sure to 
guard against it in the future. Maybe we can add a test, improve luceneutil, or 
something.
   
   I was working on accelerating knn using the Vector API when I encountered 
anomalous results during benchmarking. I subsequently examined the C2 logs 
using `-XX:+PrintIntrinsics` and found errors such as "missing constant ... 
etype_to=Phi" and "VectorSupport::convert ... failed to inline (intrinsic)." 
Then my AI agent revealed that two methods shared the same method body, using 
`signed ? B2S : ZERO_EXTEND_B2S` to select the conversion operator at runtime.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to