aarch64: RFR: Block zeroing by 'DC ZVA'

Long Chen long.chen at linaro.org
Fri Apr 15 12:45:44 UTC 2016


Please review this patch making use of DC ZVA to do block zeroing.


I’m sorry that I can’t produce a test case matching the ‘clear_array’
pattern showing obvious improvement. However, generating ‘DC ZVA’ should be
the right thing to do as it usually has better cache behaviors. Besides,
gcc and linux’s memset have been using ‘DC ZVA’.

The ArrayFillByte case benefits from ‘DC ZVA’ when the array length is
Test, http://people.linaro.org/~long.chen/block_zeroing/ArrayFillByte.java
Performance result,

Tested with jtreg hotspot and langtools.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160415/41c519b0/attachment.html>

More information about the hotspot-compiler-dev mailing list