[aarch64-port-dev ] RFR: 8155967: aarch64: fix register usage in block zeroing

Edward Nevill edward.nevill at gmail.com
Wed May 4 07:58:52 UTC 2016


Hi,

Please review the following changeset

http://cr.openjdk.java.net/~enevill/8155967/webrev/

JIRA: https://bugs.openjdk.java.net/browse/JDK-8155967

The out of line block zero routine uses r10 for the base and r11 for the word count.

These registers are pinned in aarch64.ad when matching the ClearArray nodes. eg.

instruct clearArray_reg_reg(iRegL_R11 cnt, iRegP_R10 base, Universe dummy, rFlagsReg cr)

However, the block zero routine may also be called from the ArrayFill stub if the value being filled is 0 and the count is large.

In the ArrayFill stub, the base is in R0 and the count is in R3

Thanks,
Ed.




More information about the aarch64-port-dev mailing list