summaryrefslogtreecommitdiff
path: root/src/literal.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-12-18 15:28:41 -0800
committerGitHub <noreply@github.com>2019-12-18 15:28:41 -0800
commit8b15ceea0fdcde214965aea337e887af5129ad88 (patch)
tree1a384ca739c9badf437ec96eb04b392f7510a055 /src/literal.h
parent323e475a3ab57fe4ffd0b5826af5f6cbf0061265 (diff)
downloadbinaryen-8b15ceea0fdcde214965aea337e887af5129ad88.tar.gz
binaryen-8b15ceea0fdcde214965aea337e887af5129ad88.tar.bz2
binaryen-8b15ceea0fdcde214965aea337e887af5129ad88.zip
SIMD {i8x16,i16x8}.avgr_u instructions (#2539)
As specified in https://github.com/WebAssembly/simd/pull/126.
Diffstat (limited to 'src/literal.h')
-rw-r--r--src/literal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/literal.h b/src/literal.h
index c77c21947..1d19e6661 100644
--- a/src/literal.h
+++ b/src/literal.h
@@ -334,6 +334,7 @@ public:
Literal minUI8x16(const Literal& other) const;
Literal maxSI8x16(const Literal& other) const;
Literal maxUI8x16(const Literal& other) const;
+ Literal avgrUI8x16(const Literal& other) const;
Literal negI16x8() const;
Literal anyTrueI16x8() const;
Literal allTrueI16x8() const;
@@ -351,6 +352,7 @@ public:
Literal minUI16x8(const Literal& other) const;
Literal maxSI16x8(const Literal& other) const;
Literal maxUI16x8(const Literal& other) const;
+ Literal avgrUI16x8(const Literal& other) const;
Literal negI32x4() const;
Literal anyTrueI32x4() const;
Literal allTrueI32x4() const;
@@ -426,6 +428,7 @@ private:
Literal maxInt(const Literal& other) const;
Literal minUInt(const Literal& other) const;
Literal maxUInt(const Literal& other) const;
+ Literal avgrUInt(const Literal& other) const;
};
} // namespace wasm