Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 36bbc08

Browse files
authored
Opcode adjustments (#51)
* Move unary instructions before binary instructions. Fix order of floating point unary ops. * Move reserved spaces for reciprocal sqrt and approx reciprocal to the end of the unary op blocks. * Move shifts in between unary and binary ops since they are kind of hybrid.
1 parent 326fa3b commit 36bbc08

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed

proposals/simd/BinarySIMD.md

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -98,67 +98,67 @@ The `v8x16.shuffle` instruction has 16 bytes after `simdop`.
9898
| `v128.xor` | `0x4e`| - |
9999
| `v128.not` | `0x4f`| - |
100100
| `v128.bitselect` | `0x50`| - |
101-
| `i8x16.add` | `0x51`| - |
102-
| `i8x16.add_saturate_s` | `0x52`| - |
103-
| `i8x16.add_saturate_u` | `0x53`| - |
104-
| `i8x16.sub` | `0x54`| - |
105-
| `i8x16.sub_saturate_s` | `0x55`| - |
106-
| `i8x16.sub_saturate_u` | `0x56`| - |
107-
| `i8x16.mul` | `0x57`| - |
108-
| `i8x16.shl` | `0x5c`| - |
109-
| `i8x16.shr_s` | `0x5d`| - |
110-
| `i8x16.shr_u` | `0x5e`| - |
111-
| `i8x16.neg` | `0x5f`| - |
112-
| `i8x16.any_true` | `0x60`| - |
113-
| `i8x16.all_true` | `0x61`| - |
114-
| `i16x8.add` | `0x62`| - |
115-
| `i16x8.add_saturate_s` | `0x63`| - |
116-
| `i16x8.add_saturate_u` | `0x64`| - |
117-
| `i16x8.sub` | `0x65`| - |
118-
| `i16x8.sub_saturate_s` | `0x66`| - |
119-
| `i16x8.sub_saturate_u` | `0x67`| - |
120-
| `i16x8.mul` | `0x68`| - |
121-
| `i16x8.shl` | `0x6d`| - |
122-
| `i16x8.shr_s` | `0x6e`| - |
123-
| `i16x8.shr_u` | `0x6f`| - |
124-
| `i16x8.neg` | `0x70`| - |
125-
| `i16x8.any_true` | `0x71`| - |
126-
| `i16x8.all_true` | `0x72`| - |
127-
| `i32x4.add` | `0x73`| - |
128-
| `i32x4.sub` | `0x76`| - |
129-
| `i32x4.mul` | `0x79`| - |
130-
| `i32x4.shl` | `0x7e`| - |
131-
| `i32x4.shr_s` | `0x7f`| - |
132-
| `i32x4.shr_u` | `0x80`| - |
133-
| `i32x4.neg` | `0x81`| - |
134-
| `i32x4.any_true` | `0x82`| - |
135-
| `i32x4.all_true` | `0x83`| - |
136-
| `i64x2.add` | `0x84`| - |
137-
| `i64x2.sub` | `0x87`| - |
138-
| `i64x2.shl` | `0x8f`| - |
139-
| `i64x2.shr_s` | `0x90`| - |
140-
| `i64x2.shr_u` | `0x91`| - |
141-
| `i64x2.neg` | `0x92`| - |
142-
| `i64x2.any_true` | `0x93`| - |
143-
| `i64x2.all_true` | `0x94`| - |
144-
| `f32x4.add` | `0x95`| - |
145-
| `f32x4.sub` | `0x96`| - |
146-
| `f32x4.mul` | `0x97`| - |
147-
| `f32x4.div` | `0x98`| - |
148-
| `f32x4.min` | `0x99`| - |
149-
| `f32x4.max` | `0x9a`| - |
150-
| `f32x4.neg` | `0x9b`| - |
151-
| `f32x4.abs` | `0x9c`| - |
152-
| `f32x4.sqrt` | `0x9d`| - |
153-
| `f64x2.add` | `0xa0`| - |
154-
| `f64x2.sub` | `0xa1`| - |
155-
| `f64x2.mul` | `0xa2`| - |
156-
| `f64x2.div` | `0xa3`| - |
157-
| `f64x2.min` | `0xa4`| - |
158-
| `f64x2.max` | `0xa5`| - |
159-
| `f64x2.neg` | `0xa6`| - |
160-
| `f64x2.abs` | `0xa7`| - |
161-
| `f64x2.sqrt` | `0xa8`| - |
101+
| `i8x16.neg` | `0x51`| - |
102+
| `i8x16.any_true` | `0x52`| - |
103+
| `i8x16.all_true` | `0x53`| - |
104+
| `i8x16.shl` | `0x54`| - |
105+
| `i8x16.shr_s` | `0x55`| - |
106+
| `i8x16.shr_u` | `0x56`| - |
107+
| `i8x16.add` | `0x57`| - |
108+
| `i8x16.add_saturate_s` | `0x58`| - |
109+
| `i8x16.add_saturate_u` | `0x59`| - |
110+
| `i8x16.sub` | `0x5a`| - |
111+
| `i8x16.sub_saturate_s` | `0x5b`| - |
112+
| `i8x16.sub_saturate_u` | `0x5c`| - |
113+
| `i8x16.mul` | `0x5d`| - |
114+
| `i16x8.neg` | `0x62`| - |
115+
| `i16x8.any_true` | `0x63`| - |
116+
| `i16x8.all_true` | `0x64`| - |
117+
| `i16x8.shl` | `0x65`| - |
118+
| `i16x8.shr_s` | `0x66`| - |
119+
| `i16x8.shr_u` | `0x67`| - |
120+
| `i16x8.add` | `0x68`| - |
121+
| `i16x8.add_saturate_s` | `0x69`| - |
122+
| `i16x8.add_saturate_u` | `0x6a`| - |
123+
| `i16x8.sub` | `0x6b`| - |
124+
| `i16x8.sub_saturate_s` | `0x6c`| - |
125+
| `i16x8.sub_saturate_u` | `0x6d`| - |
126+
| `i16x8.mul` | `0x6e`| - |
127+
| `i32x4.neg` | `0x73`| - |
128+
| `i32x4.any_true` | `0x74`| - |
129+
| `i32x4.all_true` | `0x75`| - |
130+
| `i32x4.shl` | `0x76`| - |
131+
| `i32x4.shr_s` | `0x77`| - |
132+
| `i32x4.shr_u` | `0x78`| - |
133+
| `i32x4.add` | `0x79`| - |
134+
| `i32x4.sub` | `0x7c`| - |
135+
| `i32x4.mul` | `0x7f`| - |
136+
| `i64x2.neg` | `0x84`| - |
137+
| `i64x2.any_true` | `0x85`| - |
138+
| `i64x2.all_true` | `0x86`| - |
139+
| `i64x2.shl` | `0x97`| - |
140+
| `i64x2.shr_s` | `0x98`| - |
141+
| `i64x2.shr_u` | `0x99`| - |
142+
| `i64x2.add` | `0x8a`| - |
143+
| `i64x2.sub` | `0x8d`| - |
144+
| `f32x4.abs` | `0x95`| - |
145+
| `f32x4.neg` | `0x96`| - |
146+
| `f32x4.sqrt` | `0x97`| - |
147+
| `f32x4.add` | `0x9a`| - |
148+
| `f32x4.sub` | `0x9b`| - |
149+
| `f32x4.mul` | `0x9c`| - |
150+
| `f32x4.div` | `0x9d`| - |
151+
| `f32x4.min` | `0x9e`| - |
152+
| `f32x4.max` | `0x9f`| - |
153+
| `f64x2.abs` | `0xa0`| - |
154+
| `f64x2.neg` | `0xa1`| - |
155+
| `f64x2.sqrt` | `0xa2`| - |
156+
| `f64x2.add` | `0xa5`| - |
157+
| `f64x2.sub` | `0xa6`| - |
158+
| `f64x2.mul` | `0xa7`| - |
159+
| `f64x2.div` | `0xa8`| - |
160+
| `f64x2.min` | `0xa9`| - |
161+
| `f64x2.max` | `0xaa`| - |
162162
| `i32x4.trunc_s/f32x4:sat` | `0xab`| - |
163163
| `i32x4.trunc_u/f32x4:sat` | `0xac`| - |
164164
| `i64x2.trunc_s/f64x2:sat` | `0xad`| - |

0 commit comments

Comments
 (0)