From b285e77d9334a29fac058c0cf43ce4037c9080aa Mon Sep 17 00:00:00 2001 From: Krste Asanovic Date: Mon, 6 Aug 2018 18:15:01 -0700 Subject: Added comment that we might consider different pattern for RV128 to improve compatibility with RV64. --- src/rv128.tex | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v1.1