Remove pseudo_op to rv64_i for slli,srli,srai#355
Remove pseudo_op to rv64_i for slli,srli,srai#355Avimitin wants to merge 1 commit intoriscv:masterfrom
Conversation
Instructions slli,srli,srai have different bit pattern in rv32_i versus rv64_i. It is better to re-define them, and alias those `_rv32` suffix instruction to rv32_i self specification.
|
Hi, I'm having some second thoughts on my current implementation and would appreciate your guidance. The pseudo_op definition states that they "are instructions which are aliases of regular instructions. Their encodings force certain restrictions over the regular instruction." This got me thinking about a different way to handle the aliases for rv32 and rv64. My idea is to use the same pseudo-alias for the rv64_i instructions while removing the separate instructions that have the I'm trying to decide between my current implementation and this new approach. Do you have a preference, or could you offer any advice on which direction would be more consistent with the project's design? Any insights would be greatly appreciated. Thanks! |
|
Based on the README, the semantic of
It means: the So does the I think the true issue is the existence of the instructions with |
Instructions slli,srli,srai have different bit pattern in rv32_i versus rv64_i. It is better to re-define them, and alias those
_rv32suffix instruction to rv32_i self specification.