[aarch64-port-dev ] RFR: aarch64: Add Arrays.fill stub code
Andrew Haley
aph at redhat.com
Wed Apr 6 16:01:19 UTC 2016
On 04/06/2016 01:51 PM, Long Chen wrote:
> Please review this patch for generating stub code for ArrayFill on aarch64
> platform.
>
> Performance test case:
> http://people.linaro.org/~long.chen/ArrayFill/ArrayFill.java
> Testing result: http://people.linaro.org/~long.chen/ArrayFill/ArrayFill.html
> Patch: http://people.linaro.org/~long.chen/ArrayFill/ArrayFill.patch
>
> At same time, refactoring ClearArrayNode's code generation, as it can be
> used by Array fill too.
Looks good. Minor nit:
+ // Generate stub for disjoint fill. If "aligned" is true, the
+ // "to" address is assumed to be heapword aligned.
"disjoint" doesn't make any sense here.
> Following up I would like to propose a patch to use DC ZVA for large array
> zeroing.
OK. I haven't seen much advantage to using DC ZVA, but I'm
prepared to listen.
Andrew.
More information about the hotspot-compiler-dev
mailing list