summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2018-12-13 17:40:27 -0800
committerGitHub <noreply@github.com>2018-12-13 17:40:27 -0800
commit3325a9cc203932e58b6e85dfefe5feb6e72839a4 (patch)
tree1d969ab30854fd773fdc615d799c9a9ed7e9c0be /src/wasm-s-parser.h
parent0fd96e6b07f0a0907737c0f44e55060e057c2bb9 (diff)
downloadbinaryen-3325a9cc203932e58b6e85dfefe5feb6e72839a4.tar.gz
binaryen-3325a9cc203932e58b6e85dfefe5feb6e72839a4.tar.bz2
binaryen-3325a9cc203932e58b6e85dfefe5feb6e72839a4.zip
SIMD (#1820)
Implement and test the following functionality for SIMD. - Parsing and printing - Assembling and disassembling - Interpretation - C API - JS API
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 517398c5c..0845fa70e 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -190,6 +190,11 @@ private:
Expression* makeAtomicCmpxchg(Element& s, Type type, uint8_t bytes, const char* extra);
Expression* makeAtomicWait(Element& s, Type type);
Expression* makeAtomicWake(Element& s);
+ Expression* makeSIMDExtract(Element& s, SIMDExtractOp op, size_t lanes);
+ Expression* makeSIMDReplace(Element& s, SIMDReplaceOp op, size_t lanes);
+ Expression* makeSIMDShuffle(Element& s);
+ Expression* makeSIMDBitselect(Element& s);
+ Expression* makeSIMDShift(Element& s, SIMDShiftOp);
Expression* makeIf(Element& s);
Expression* makeMaybeBlock(Element& s, size_t i, Type type);
Expression* makeLoop(Element& s);