diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-01-06 14:36:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 11:36:27 -0800 |
commit | 3d414652d36aeb27896cc6666ef15db39f245786 (patch) | |
tree | 695c7bc5a3c47dff0330b625f2e61cb040accc6d /scripts/gen-s-parser.py | |
parent | b79661ee03fc74b3f860bf04e6f1019f7b11c722 (diff) | |
download | binaryen-3d414652d36aeb27896cc6666ef15db39f245786.tar.gz binaryen-3d414652d36aeb27896cc6666ef15db39f245786.tar.bz2 binaryen-3d414652d36aeb27896cc6666ef15db39f245786.zip |
Prototype prefetch instructions (#3467)
As proposed in https://github.com/WebAssembly/simd/pull/352, using the opcodes
used in the LLVM and V8 implementations.
Diffstat (limited to 'scripts/gen-s-parser.py')
-rwxr-xr-x | scripts/gen-s-parser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py index f780156ed..f9ff903fc 100755 --- a/scripts/gen-s-parser.py +++ b/scripts/gen-s-parser.py @@ -516,6 +516,9 @@ instructions = [ ("i16x8.extadd_pairwise_i8x16_u", "makeUnary(s, UnaryOp::ExtAddPairwiseUVecI8x16ToI16x8)"), ("i32x4.extadd_pairwise_i16x8_s", "makeUnary(s, UnaryOp::ExtAddPairwiseSVecI16x8ToI32x4)"), ("i32x4.extadd_pairwise_i16x8_u", "makeUnary(s, UnaryOp::ExtAddPairwiseUVecI16x8ToI32x4)"), + # prefetch instructions + ("prefetch.t", "makePrefetch(s, PrefetchOp::PrefetchTemporal)"), + ("prefetch.nt", "makePrefetch(s, PrefetchOp::PrefetchNontemporal)"), # reference types instructions # TODO Add table instructions ("ref.null", "makeRefNull(s)"), |