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 is 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
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 is 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