[aarch64-port-dev ] RFR: aarch64: Add Arrays.fill stub code
Andrew Haley
aph at redhat.com
Wed Apr 6 17:52:10 UTC 2016
On 04/06/2016 05:01 PM, Andrew Haley wrote:
> On 04/06/2016 01:51 PM, Long Chen wrote:
>
>
>> 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.
I just discovered that GCC turns this
while (count-- > 0) {
*to++ = v;
}
into a call to a memset() with does DC ZVA. So we have been
using DC ZVA in many places in the VM already. Go figure. :-)
Andrew.
More information about the aarch64-port-dev
mailing list