RFR: 8362284: RISC-V: cleanup NativeMovRegMem

Hamlin Li mli at openjdk.org
Tue Jul 15 18:45:51 UTC 2025


Hi,
Can you help to review this simple patch?

NativeMovRegMem on riscv is actually dead code, but still needed in case of compilation of C1.
So make the code as simple as possible to avoid any reading and maintainance effort.

No tests, as `offset()` and `set_offset()` were Unimplemented and used in C1 and never triggered before.

Thanks!

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

Commit messages:
 - initial commit

Changes: https://git.openjdk.org/jdk/pull/26328/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26328&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8362284
  Stats: 40 lines in 2 files changed: 0 ins; 33 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/26328.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26328/head:pull/26328

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


More information about the hotspot-compiler-dev mailing list