aboutsummaryrefslogtreecommitdiff
path: root/src/rv128.tex
diff options
context:
space:
mode:
Diffstat (limited to 'src/rv128.tex')
-rw-r--r--src/rv128.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rv128.tex b/src/rv128.tex
index 17075d0..ef78dd9 100644
--- a/src/rv128.tex
+++ b/src/rv128.tex
@@ -47,6 +47,13 @@ values held in the low bits of the 128-bit integer registers are
added. The ``*D'' instructions consume two major opcodes (OP-IMM-64
and OP-64) in the standard 32-bit encoding.
+\begin{commentary}
+ To improve compatibilty with RV64, in a reverse of how RV32 to RV64
+ was handled, we might change the decoding around to rename RV64I ADD
+ as a 64-bit ADDD, and add a 128-bit ADDQ in what was previously the
+ OP-64 major opcode (now renamed the OP-128 major opcode).
+\end{commentary}
+
Shifts by an immediate (SLLI/SRLI/SRAI) are now encoded using the low
7 bits of the I-immediate, and variable shifts (SLL/SRL/SRA) use the
low 7 bits of the shift amount source register.