RFR: 8331399: RISC-V: Don't us mv instead of la

Fei Yang fyang at openjdk.org
Tue Apr 30 11:41:06 UTC 2024


On Tue, 30 Apr 2024 09:27:09 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> Hi please consider,
> 
> It makes no sense to use mv instead of la.
> It doesn't follow the standard mnemonics and it confusing when people use mv when they really mean la.
> 
> la will do the reloc with movptr in this case, so the code is the same.
> 
> Testing t1.
> 
> Thanks, Robbin

Yes. that looks more reasonable. Thanks for the cleanup.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19014#pullrequestreview-2031043738


More information about the hotspot-dev mailing list