RFR: 8266054: VectorAPI rotate operation optimization [v10]

Sandhya Viswanathan sviswanathan at openjdk.java.net
Mon Jul 26 17:22:34 UTC 2021


On Sun, 18 Jul 2021 20:22:18 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> src/hotspot/share/opto/vectornode.cpp line 1180:
>> 
>>> 1178:       cnt = cnt->in(1);
>>> 1179:     }
>>> 1180:     shiftRCnt = cnt;
>> 
>> Why do we remove the And with mask here?
>
> And'ing with shift_mask is already done on Java API side implementation before making a call to intrinsic rountine.

@jatin-bhateja  This question is still pending.

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

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


More information about the core-libs-dev mailing list