diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2016-03-04 10:16:41 -0800 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2016-03-04 10:16:41 -0800 |
| commit | ad46b57c2a69b36ba3f7a54eaa640cbba07379cb (patch) | |
| tree | f4a75b4af964313eb41486f7ef00d5a0b3d32c53 /BinaryEncoding.md | |
| parent | 4a4d492356864a77c63045d84eee2c23e3251992 (diff) | |
| download | nanowasm-design-ad46b57c2a69b36ba3f7a54eaa640cbba07379cb.tar.gz | |
Update opcode names to match AstSemantics.md.
Diffstat (limited to 'BinaryEncoding.md')
| -rw-r--r-- | BinaryEncoding.md | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md index a34e63c..e7c0df1 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -366,7 +366,7 @@ The `memory_immediate` type is encoded as follows: | `i32.rem_s` | `0x45` | | | | `i32.rem_u` | `0x46` | | | | `i32.and` | `0x47` | | | -| `i32.ior` | `0x48` | | | +| `i32.or` | `0x48` | | | | `i32.xor` | `0x49` | | | | `i32.shl` | `0x4a` | | | | `i32.shr_u` | `0x4b` | | | @@ -393,7 +393,7 @@ The `memory_immediate` type is encoded as follows: | `i64.rem_s` | `0x60` | | | | `i64.rem_u` | `0x61` | | | | `i64.and` | `0x62` | | | -| `i64.ior` | `0x63` | | | +| `i64.or` | `0x63` | | | | `i64.xor` | `0x64` | | | | `i64.shl` | `0x65` | | | | `i64.shr_u` | `0x66` | | | @@ -423,7 +423,7 @@ The `memory_immediate` type is encoded as follows: | `f32.ceil` | `0x7e` | | | | `f32.floor` | `0x7f` | | | | `f32.trunc` | `0x80` | | | -| `f32.nearestint` | `0x81` | | | +| `f32.nearest` | `0x81` | | | | `f32.sqrt` | `0x82` | | | | `f32.eq` | `0x83` | | | | `f32.ne` | `0x84` | | | @@ -443,7 +443,7 @@ The `memory_immediate` type is encoded as follows: | `f64.ceil` | `0x92` | | | | `f64.floor` | `0x93` | | | | `f64.trunc` | `0x94` | | | -| `f64.nearestint` | `0x95` | | | +| `f64.nearest` | `0x95` | | | | `f64.sqrt` | `0x96` | | | | `f64.eq` | `0x97` | | | | `f64.ne` | `0x98` | | | @@ -451,30 +451,30 @@ The `memory_immediate` type is encoded as follows: | `f64.le` | `0x9a` | | | | `f64.gt` | `0x9b` | | | | `f64.ge` | `0x9c` | | | -| `i32.sconvertf32` | `0x9d` | | | -| `i32.sconvertf64` | `0x9e` | | | -| `i32.uconvertf32` | `0x9f` | | | -| `i32.uconvertf64` | `0xa0` | | | -| `i32.converti64` | `0xa1` | | | -| `i64.sconvertf32` | `0xa2` | | | -| `i64.sconvertf64` | `0xa3` | | | -| `i64.uconvertf32` | `0xa4` | | | -| `i64.uconvertf64` | `0xa5` | | | -| `i64.sconverti32` | `0xa6` | | | -| `i64.uconverti32` | `0xa7` | | | -| `f32.sconverti32` | `0xa8` | | | -| `f32.uconverti32` | `0xa9` | | | -| `f32.sconverti64` | `0xaa` | | | -| `f32.uconverti64` | `0xab` | | | -| `f32.convertf64` | `0xac` | | | -| `f32.reinterpreti32` | `0xad` | | | -| `f64.sconverti32` | `0xae` | | | -| `f64.uconverti32` | `0xaf` | | | -| `f64.sconverti64` | `0xb0` | | | -| `f64.uconverti64` | `0xb1` | | | -| `f64.convertf32` | `0xb2` | | | -| `f64.reinterpreti64` | `0xb3` | | | -| `i32.reinterpretf32` | `0xb4` | | | -| `i64.reinterpretf64` | `0xb5` | | | +| `i32.trunc_s/f32` | `0x9d` | | | +| `i32.trunc_s/f64` | `0x9e` | | | +| `i32.trunc_u/f32` | `0x9f` | | | +| `i32.trunc_u/f64` | `0xa0` | | | +| `i32.wrap/i64` | `0xa1` | | | +| `i64.trunc_s/f32` | `0xa2` | | | +| `i64.trunc_s/f64` | `0xa3` | | | +| `i64.trunc_u/f32` | `0xa4` | | | +| `i64.trunc_u/f64` | `0xa5` | | | +| `i64.extend_s/i32` | `0xa6` | | | +| `i64.extend_u/i32` | `0xa7` | | | +| `f32.convert_s/i32` | `0xa8` | | | +| `f32.convert_u/i32` | `0xa9` | | | +| `f32.convert_s/i64` | `0xaa` | | | +| `f32.convert_u/i64` | `0xab` | | | +| `f32.demote/f64` | `0xac` | | | +| `f32.reinterpret/i32` | `0xad` | | | +| `f64.convert_s/i32` | `0xae` | | | +| `f64.convert_u/i32` | `0xaf` | | | +| `f64.convert_s/i64` | `0xb0` | | | +| `f64.convert_u/i64` | `0xb1` | | | +| `f64.promote/f32` | `0xb2` | | | +| `f64.reinterpret/i64` | `0xb3` | | | +| `i32.reinterpret/f32` | `0xb4` | | | +| `i64.reinterpret/f64` | `0xb5` | | | |
