Commit 72ad664
authored
[wasm] Add Vector128.AndNot intrinsics (#78133)
* [wasm] Add Vector128.AndNot intrinsics
C#
var v = Vector128.Create(System.Random.Shared.Next(), System.Random.Shared.Next(), System.Random.Shared.Next(), System.Random.Shared.Next());
var v2 = Vector128.Create(System.Random.Shared.Next(), System.Random.Shared.Next(), System.Random.Shared.Next(), System.Random.Shared.Next());
v = Vector128.AndNot(v, v2);
is emitted as
...
i32x4.splat [SIMD]
local.get $5
i32x4.replace.lane 1 [SIMD]
local.get $6
i32x4.replace.lane 2 [SIMD]
local.get $7
i32x4.replace.lane 3 [SIMD]
local.get $8
i32x4.splat [SIMD]
local.get $9
i32x4.replace.lane 1 [SIMD]
local.get $10
i32x4.replace.lane 2 [SIMD]
local.get $2
i32x4.replace.lane 3 [SIMD]
v128.andnot [SIMD]
v128.store offset:8 align:3 [SIMD]
...
* Review feedback1 parent cd7e871 commit 72ad664
3 files changed
+18
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8775 | 8775 | | |
8776 | 8776 | | |
8777 | 8777 | | |
8778 | | - | |
8779 | | - | |
8780 | | - | |
8781 | | - | |
8782 | | - | |
8783 | | - | |
8784 | | - | |
8785 | | - | |
8786 | | - | |
8787 | | - | |
8788 | | - | |
8789 | | - | |
8790 | 8778 | | |
8791 | 8779 | | |
8792 | 8780 | | |
| |||
9594 | 9582 | | |
9595 | 9583 | | |
9596 | 9584 | | |
| 9585 | + | |
| 9586 | + | |
| 9587 | + | |
| 9588 | + | |
| 9589 | + | |
| 9590 | + | |
| 9591 | + | |
| 9592 | + | |
| 9593 | + | |
| 9594 | + | |
| 9595 | + | |
| 9596 | + | |
9597 | 9597 | | |
9598 | 9598 | | |
9599 | 9599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
| 1030 | + | |
1030 | 1031 | | |
1031 | 1032 | | |
1032 | 1033 | | |
| |||
1044 | 1045 | | |
1045 | 1046 | | |
1046 | 1047 | | |
1047 | | - | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | | - | |
| 1154 | + | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | 1157 | | |
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | | - | |
| 1187 | + | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
| 1194 | + | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
| |||
3199 | 3199 | | |
3200 | 3200 | | |
3201 | 3201 | | |
3202 | | - | |
| 3202 | + | |
3203 | 3203 | | |
3204 | 3204 | | |
3205 | 3205 | | |
| |||
3290 | 3290 | | |
3291 | 3291 | | |
3292 | 3292 | | |
3293 | | - | |
| 3293 | + | |
3294 | 3294 | | |
3295 | 3295 | | |
3296 | 3296 | | |
| |||
0 commit comments