RFR: 8294100: RISC-V: Move rt_call and xxx_move from SharedRuntime to MacroAssembler

Feilong Jiang fjiang at openjdk.org
Thu Sep 22 00:58:32 UTC 2022


On Wed, 21 Sep 2022 12:39:29 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> When we port Foreign Function & Memory API (Preview) for riscv backend [1], we find some methods in sharedRuntime_riscv.cpp that can be reused.
>> 
>> Here is the list of methods that can be moved to MacroAssembler:
>> - move32_64
>> - float_move
>> - long_move
>> - double_move
>> - object_move
>> - rt_call
>> 
>> 1. https://github.com/feilongjiang/jdk/tree/riscv-foreign-api
>> 
>> Testing:
>> - Regular workloads like SPECjvm2008 (startup) and Dacapo on Unmatched board
>
> Looks good.

@RealFYang @shipilev -- Thanks for the review!

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

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


More information about the hotspot-dev mailing list