RFR: 8343063: RISC-V: remove redundant reg copy in generate_resolve_blob

Hamlin Li mli at openjdk.org
Fri Oct 25 12:57:16 UTC 2024


On Fri, 25 Oct 2024 12:42:20 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> > I see the register copy is there after JDK-8340241. Seems fine to me. @robehn might want to take a look.
> 
> I'm not so worried about register copies when register are not used in paralllel. It should be a plain register rename from t0->t1 for the CPU.

In that sense you have the point.
It makes the code clear by removing the unnecessary copy.

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

PR Comment: https://git.openjdk.org/jdk/pull/21710#issuecomment-2437703076


More information about the hotspot-compiler-dev mailing list