aboutsummaryrefslogtreecommitdiff
path: root/src/b-st-ext.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/b-st-ext.adoc')
-rw-r--r--src/b-st-ext.adoc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/b-st-ext.adoc b/src/b-st-ext.adoc
index fa26a78..9b73fbc 100644
--- a/src/b-st-ext.adoc
+++ b/src/b-st-ext.adoc
@@ -2386,6 +2386,13 @@ Included in::
|Ratified
|===
+NOTE: For RV32, the `pack` instruction with _rs2_=`x0` is the `zext.h`
+instruction.
+Hence, for RV32, any extension that contains the `pack` instruction also
+contains the `zext.h` instruction (but not necessarily the `c.zext.h`
+instruction, which is only guaranteed to exist if both the Zcb and Zbb
+extensions are implemented).
+
<<<
[#insns-packh,reftext="Pack low bytes of registers"]
==== packh
@@ -2484,6 +2491,13 @@ Included in::
|Ratified
|===
+NOTE: For RV64, the `packw` instruction with _rs2_=`x0` is the `zext.h`
+instruction.
+Hence, for RV64, any extension that contains the `packw` instruction also
+contains the `zext.h` instruction (but not necessarily the `c.zext.h`
+instruction, which is only guaranteed to exist if both the Zcb and Zbb
+extensions are implemented).
+
<<<
[#insns-rev8,reftext="Byte-reverse register"]
==== rev8