RFR: 8266332: Adler32 intrinsic for x86 64-bit platforms [v5]

Andrew Haley aph at openjdk.java.net
Tue May 4 15:58:59 UTC 2021


On Tue, 4 May 2021 08:57:12 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Xubo Zhang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   added align; replace incl with addptr
>
> So I'm wondering. With JEP 414, the Vector API, do we need to keep writing hand-carved assembly for these things? It would be very instructive to see how well we can do with Java code; and if the Vector API isn't good enough, we need to know that.

> @theRealAph Vector API is still incubator module and cannot be used to implement standard JRE till it is finalized and becomes a standard module.

Sure, I get that, and I suppose if we're desperate to have a vectorized intrinsic for Adler32 _right now_ this PR must go ahead right now. However, I'd be delighted to see the end of exquisitely hand-carved but hard-to-understand and hard-to-maintain assembly language, and it would be an excellent test for the coverage of the Vector API.

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

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


More information about the hotspot-compiler-dev mailing list