[aarch64-port-dev ] RFR: 8252204: AArch64: Implement SHA3 accelerator/intrinsic

Stuart Monteith stuart.monteith at arm.com
Tue Sep 1 08:59:51 UTC 2020


On 01/09/2020 08:52, Andrew Haley wrote:
> On 31/08/2020 10:46, Yangfei (Felix) wrote:
>>
>>> -----Original Message-----
>>> From: Andrew Haley [mailto:aph at redhat.com]
>>> Sent: Monday, August 31, 2020 4:41 PM
>>> On 31/08/2020 07:50, Yangfei (Felix) wrote:
>>>>
>>>
>>> This looks like a direct copy of the sha3-cecore.S file.You'll need Linaro to
>>> contribute it.  I don't imagine they'll have any problem with that: they are
>>> OCA signatories
>>
>>> Also, given that we've got the assembly source file, why not just copy that
>>> into OpenJDK? I can't see the point rewriting it into the HotSpot assembler.
>>
>> Actually, we referenced the existing intrinsics implementation and
>> took a similar way. It looks strange to have one intrinsic that goes
>> differently.  And we won't be able to emit this code on demand if we
>> go that different way. Some cpu does not support these special sha3
>> instructions and thus does need this code at all.  I think that's
>> one advantage of using a stub.
> 
> OK. But you'll still need Linaro to contribute it to OpenJDK. We could
> ask Stuart to help with that.
> 

Hello,
    I'll see what I can do - I'll establish who'll be able to help you with this. The original contributor works for Arm 
now.


BR,
    Stuart


More information about the aarch64-port-dev mailing list