[jdk18] RFR: 8278796: Incorrect behavior of FloatVector.withLane on X86

Paul Sandoz psandoz at openjdk.java.net
Thu Dec 16 00:04:05 UTC 2021


On Wed, 15 Dec 2021 10:11:20 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> - Incorrect operand is being passed to insertps instruction which causes incorrectness issues in FloatVector.withLane operation.
>  - Existing JTREG test cases have been modified appropriately with a non-zero insertion index.
> 
> Kindly review and share your comments.
> Best Regards,
> Jatin

The changes to the tests look good, ideally we should test over all lane indexes, but i believe the insert intrinsic currently requires the lane index be a constant. Unsure if that is a restriction that can be lifted.

-------------

PR: https://git.openjdk.java.net/jdk18/pull/28


More information about the hotspot-compiler-dev mailing list