RFR: 8278171: [vectorapi] Mask incorrectly computed for zero extending cast

Paul Sandoz psandoz at openjdk.java.net
Thu Dec 2 22:31:41 UTC 2021


On Wed, 1 Dec 2021 12:03:15 GMT, Mai Đặng Quân Anh <duke at openjdk.java.net> wrote:

> This patch implements vector unsigned upcast intrinsics for x86. I also fixed a bug in the current implementation where the zero extension masks are computed incorrectly and add relevant tests.
> 
> Thank you very much.

I am inclined to separated out. Fix the bug, add the tests, and integrate for 18. Then enhance with the intrinsics for 19.

If you agree to that I will create two bugs.

src/hotspot/cpu/x86/x86.ad line 1819:

> 1817:         return false;
> 1818:       }
> 1819:       break;

Collapse cases, since each has the code code?

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

PR: https://git.openjdk.java.net/jdk/pull/6634


More information about the core-libs-dev mailing list