aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorDouglas Crosher <info@jsstats.com>2016-03-03 16:39:53 +1100
committerDouglas Crosher <info@jsstats.com>2016-03-10 09:57:31 +1100
commitcabbe0c4dbf7ec946893b81b2f9605a0ec48740f (patch)
tree67c6c830daebfcd933315de8a41b8911bfa102b1 /BinaryEncoding.md
parent74caec7110a97ebe2dde3ffa7d1971cdcdc1611d (diff)
downloadnanowasm-design-cabbe0c4dbf7ec946893b81b2f9605a0ec48740f.tar.gz
Add the rotate operator encodings.
Corresponds to https://codereview.chromium.org/1755013003/
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index efdd36c..4b44f21 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -413,6 +413,8 @@ natural alignment. Thus, for any given memory access op, the bits after the
| `i32.shl` | `0x4a` | | |
| `i32.shr_u` | `0x4b` | | |
| `i32.shr_s` | `0x4c` | | |
+| `i32.rotr` | `0xb6` | | |
+| `i32.rotl` | `0xb7` | | |
| `i32.eq` | `0x4d` | | |
| `i32.ne` | `0x4e` | | |
| `i32.lt_s` | `0x4f` | | |
@@ -440,6 +442,8 @@ natural alignment. Thus, for any given memory access op, the bits after the
| `i64.shl` | `0x65` | | |
| `i64.shr_u` | `0x66` | | |
| `i64.shr_s` | `0x67` | | |
+| `i64.rotr` | `0xb8` | | |
+| `i64.rotl` | `0xb9` | | |
| `i64.eq` | `0x68` | | |
| `i64.ne` | `0x69` | | |
| `i64.lt_s` | `0x6a` | | |