[aarch64-port-dev ] RFR(S): 8204353 - AARCH64: optimize FPU load and stores in macroAssembler

Andrew Haley aph at redhat.com
Wed Jun 6 08:12:18 UTC 2018


On 06/05/2018 10:48 PM, White, Derek wrote:

> The related question I've had on the back-burner for a while is WHY
> are we saving/restoring 42 registers in
> gen_write_ref_array_pre_barrier/ gen_write_ref_array_post_barrier?

Please point me to the exact line of code you are talking about.

> We don't do that around any other calls to call_VM_leaf.
> 
> No other port saves the entire register set, even the arm64
> port. They just save a few registers that are in use.

You don't know which registers are in use.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-compiler-dev mailing list