Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-18 Thread Emanuel Peter
On Tue, 17 Sep 2024 07:02:20 GMT, Jatin Bhateja wrote: >> src/hotspot/share/opto/vectornode.cpp line 2122: >> >>> 2120: // index format by subsequent VectorLoadShuffle. >>> 2121: int cast_vopc = VectorCastNode::opcode(0, index_elem_bt, true); >>> 2122: Node* index_byte_vec = >>> phase->tr

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-17 Thread Paul Sandoz
On Tue, 17 Sep 2024 07:02:12 GMT, Jatin Bhateja wrote: >> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template >> line 2974: >> >>> 2972: final $abstractvectortype$ selectFromTemplate(Class>> Vector<$Boxbitstype$>> indexVecClass, >>> 2973:

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-17 Thread Paul Sandoz
On Tue, 17 Sep 2024 07:02:15 GMT, Jatin Bhateja wrote: >> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template >> line 561: >> >>> 559: for (int i = 0; i < vlen; i++) { >>> 560: int index = ((int)vecPayload1[i]); >>> 561: res[i] = in

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-17 Thread Jatin Bhateja
On Mon, 16 Sep 2024 18:35:42 GMT, Paul Sandoz wrote: >> Jatin Bhateja has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Disabling VectorLoadShuffle bypassing optimization to comply with >> rearrange semantics at IR level. > > src/jdk.incu

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-17 Thread Jatin Bhateja
On Mon, 16 Sep 2024 07:45:51 GMT, Emanuel Peter wrote: >> Jatin Bhateja has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Disabling VectorLoadShuffle bypassing optimization to comply with >> rearrange semantics at IR level. > > src/hotspo

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-16 Thread Paul Sandoz
On Mon, 16 Sep 2024 02:58:41 GMT, Jatin Bhateja wrote: >> Hi All, >> >> As per the discussion on panama-dev mailing list[1], patch adds the support >> for following new two vector permutation APIs. >> >> >> Declaration:- >> Vector.selectFrom(Vector v1, Vector v2) >> >> >> Semantics:- >>

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-16 Thread Paul Sandoz
On Mon, 16 Sep 2024 02:58:41 GMT, Jatin Bhateja wrote: >> Hi All, >> >> As per the discussion on panama-dev mailing list[1], patch adds the support >> for following new two vector permutation APIs. >> >> >> Declaration:- >> Vector.selectFrom(Vector v1, Vector v2) >> >> >> Semantics:- >>

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-16 Thread Emanuel Peter
On Mon, 16 Sep 2024 07:35:46 GMT, Emanuel Peter wrote: >> Jatin Bhateja has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Disabling VectorLoadShuffle bypassing optimization to comply with >> rearrange semantics at IR level. > > src/hotspo

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-16 Thread Emanuel Peter
On Mon, 16 Sep 2024 02:58:41 GMT, Jatin Bhateja wrote: >> Hi All, >> >> As per the discussion on panama-dev mailing list[1], patch adds the support >> for following new two vector permutation APIs. >> >> >> Declaration:- >> Vector.selectFrom(Vector v1, Vector v2) >> >> >> Semantics:- >>

Re: RFR: 8338023: Support two vector selectFrom API [v10]

2024-09-15 Thread Jatin Bhateja
> Hi All, > > As per the discussion on panama-dev mailing list[1], patch adds the support > for following new two vector permutation APIs. > > > Declaration:- > Vector.selectFrom(Vector v1, Vector v2) > > > Semantics:- > Using index values stored in the lanes of "this" vector, assembl