OpenJDK模板解释器中的模板表实现分为两部分:一部分是架构无关的公共代码,主要位于src/hotspot/share/interpreter/templateTable.hpp和src/hotspot/share/interpreter/templateTable.cpp中;一部分是架构相关的代码,主要位于src/hotspot/cpu/riscv/templateTable_riscv.hpp和src/hotspot/cpu/riscv/templateTable_riscv.cpp...
在TemplateInterpreterGenerator::set_short_entry_points()函数后,__pop(ltos)操作触发generate_and_dispatch()函数,调用模板表中的生成函数,即TemplateTable::lastore()函数。至此,解决模板表中opcode参数弹出问题,实现完整指令执行流程。
I want to check my understanding of how the imm[20|10:1|11|19:12] specifies the bit arrangements in the JAL (jump and link) instruction in RISC-V architecture? I know the opcode takes up the lower 7-bits, the destination register then uses the next 5-bits, totaling 12 bits. The ...
master (riscv/riscv-opcodes#106) neelgala committed Apr 8, 2022 1 parent 5e7610c commit cc1bc44 Showing 1 changed file with 2 additions and 0 deletions. Whitespace Ignore whitespace Split Unified 2 changes: 2 additions & 0 deletions 2 rv_zifencei Original file line numberDiff line ...