[aarch64-port-dev ] RFR: 8165404: AArch64: Implement SHA512 accelerator/intrinsic

Andrew Haley aph at redhat.com
Mon Aug 17 08:32:41 UTC 2020


On 17/08/2020 03:07, Yangfei (Felix) wrote:
> P.S., I witnessed some random assembler warnings when  executing aarch64-asmtest.py script.
>
> $ python ./src/hotspot/cpu/aarch64/aarch64-asmtest.py | grep Warning
> aarch64ops.s: Assembler messages:
> aarch64ops.s:424: Warning: unpredictable load of register pair -- `ldpsw x10,x10,[x9,#-32]'
> aarch64ops.s:428: Warning: unpredictable transfer with writeback -- `stp w30,w12,[x30,#-256]!'
> aarch64ops.s:435: Warning: unpredictable transfer with writeback -- `ldp w4,w23,[x4],#-112'
> aarch64ops.s:221: Warning: unpredictable transfer with writeback -- `str x6,[x6,11]!'
> aarch64ops.s:223: Warning: unpredictable transfer with writeback -- `strb w0,[x0,-8]!'
>
> I think we should avoid this kind of noise.  This could be fixed by the following fix:

Looks good. If I were editing the Python script I'd also add
random.seed(0) so that the generated code doesn't change every time.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the aarch64-port-dev mailing list