RFR: 8295257: Remove implicit noreg temp register arguments in aarch64 MacroAssembler

Axel Boldt-Christmas aboldtch at openjdk.org
Thu Oct 13 06:19:47 UTC 2022


Remove implicit `= noreg` temporary register arguments for the three methods that still have them.
  * `load_heap_oop`
  * `store_heap_oop`
  * `load_heap_oop_not_null`

Only `load_heap_oop` is used with the implicit `= noreg` arguments.
After [JDK-8293351](https://bugs.openjdk.org/browse/JDK-8293351) the GCs only use explicitly passed in registers. This will also be the case for generational ZGC. Where it currently requires `load_heap_oop` to provide a second temporary register.

Testing: linux-aarch64, macosx-aarch64 tier 1-3

-------------

Commit messages:
 - UPSTREAM: Remove implicit aarch64 registers

Changes: https://git.openjdk.org/jdk/pull/10688/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10688&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295257
  Stats: 14 lines in 3 files changed: 0 ins; 0 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/10688.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10688/head:pull/10688

PR: https://git.openjdk.org/jdk/pull/10688


More information about the hotspot-dev mailing list