RFR: 8344265: RISC-V: Remove unused function get_previous_sp_entry

Fei Yang fyang at openjdk.org
Fri Nov 15 02:40:14 UTC 2024


On Fri, 15 Nov 2024 01:35:05 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, I noticed that there are a several unused functions here that are currently only used in the x86 architecture, not used in RISC-V.
> 
> ### Testing
>  - [x] release & fastdebug cross-build  linux-riscv64 OK
>  - [x] release & fastdebug build  on SOPHON SG2042
> - [ ] Run tier1 tests on SOPHON SG2042 (release)

src/hotspot/cpu/riscv/stubRoutines_riscv.cpp line 46:

> 44: address StubRoutines::riscv::_float_sign_flip = nullptr;
> 45: address StubRoutines::riscv::_double_sign_mask = nullptr;
> 46: address StubRoutines::riscv::_double_sign_flip = nullptr;

Seems that `address StubRoutines::riscv::_large_byte_array_inflate` is also not used?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22130#discussion_r1843116236


More information about the hotspot-compiler-dev mailing list