-
Notifications
You must be signed in to change notification settings - Fork 1
riscv_opcode_tidying_operand_various
Tsukasa OI edited this page Jul 24, 2023
·
3 revisions
- Status: Merged for 2.41 (as a part of upstream
Zfa
extension work) - Branch:
riscv-opcode-tidying-operand-various
- Tracking PR: #78 (view Pull Request and Diff)
- Mailing List:
This commit intends to move operands that...
- require very special handling or
- operand types that are so minor (e.g. only useful on a few instructions)
under "W"
.
I also intend this "W"
to be temporary operand storage until we can find good two character (or less) operand type.
In this commit, prefetch offset operand "f"
for Zicbop
extension is moved to "Wif"
because of its special handling (and allocating single character "f"
for this operand type seemed too much).
Current expected allocation guideline is as follows:
'W'
- The most closely related single-letter extension in lowercase (strongly recommended but not mandatory)
- Identify operand type
The author currently plans to allocate following three-character operand types (for operands including instructions from unratified extensions).
-
"Wif"
(Zicbop
: fetch offset) -
"Wfv"
(unratifiedZfa
: value operand fromFLI.[HSDQ]
instructions) -
"Wfm"
/"WfM"
Zfh
,F
,D
,Q
: rounding modes"m"
with special handling solely for widening conversion instructions.