On Fri, 13 Nov 2026 05:33:52 GMT, Jatin Bhateja <[email protected]> wrote:
>> Hi All, >> >> Currently Float16Vector.rearrange operations are not intrinsified and are >> executed through the fallback implementation. >> rearrange is a pure lane-permutation (data movement) operation; it never >> interprets the 16-bit lane bits as an IEEE binary16 >> number. Since a Float16 lane maps to T_SHORT, it reuses the existing 16-bit >> vector permute backend directly. >> >> Patch adds Add intrinsification support encompassing the following tasks: >> - Inline expander extension: allow LT_FLOAT16 past the lane-type guard in >> inline_vector_rearrange all downstream logic already resolves to the T_SHORT >> permute path. >> - Add an IR verification test asserting VectorRearrange is generated for >> Float16Vector.rearrange with correctness versus the fallback. >> >> Following are the performance number of benchmarks included with the patch >> on an AVX512-FP16 target. >> >> >> Baseline:- >> Benchmark (vectorDim) Mode Cnt >> Score Error Units >> Float16VectorOperationsBenchmark.rearrangeBenchmark 1024 thrpt 2 >> 217.410 ops/ms >> Float16VectorOperationsBenchmark.rearrangeBenchmark 2057 thrpt 2 >> 93.602 ops/ms >> >> Withopt:- >> Benchmark (vectorDim) Mode Cnt >> Score Error Units >> Float16VectorOperationsBenchmark.rearrangeBenchmark 1024 thrpt 2 >> 21842.915 ops/ms >> Float16VectorOperationsBenchmark.rearrangeBenchmark 2057 thrpt 2 >> 4047.767 ops/ms >> >> >> Please review and share your feedback. >> >> Best Regards, >> Jatin >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Jatin Bhateja has updated the pull request incrementally with one additional > commit since the last revision: > > Review comments resolution [rearrange.patch](https://github.com/user-attachments/files/35096427/rearrange.patch) Hi Jatin, the IR test added in this patch is missing AArch64 related IR checks. I have added that in the attached patch. Could you please include these missing IR checks in your patch? Thanks! ------------- PR Comment: https://git.openjdk.org/jdk/pull/33198#issuecomment-7014643337
