diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-08-03 13:48:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 13:48:10 -0700 |
commit | daa442b40f92ee5117c9c7c391171c3304abc67e (patch) | |
tree | d4533e9f8d3564e20bc6b1c006e74f4b32d3dcca /test/simd.wast.fromBinary | |
parent | 79f2fe4eb4197b3f2a1f8ad0c3a34bf9c28149a1 (diff) | |
download | binaryen-daa442b40f92ee5117c9c7c391171c3304abc67e.tar.gz binaryen-daa442b40f92ee5117c9c7c391171c3304abc67e.tar.bz2 binaryen-daa442b40f92ee5117c9c7c391171c3304abc67e.zip |
Implement prototype v128.load{32,64}_zero instructions (#3011)
Specified in https://github.com/WebAssembly/simd/pull/237. Since these
are just prototypes necessary for benchmarking, this PR does not add
support for these instructions to the fuzzer or the C or JS APIs. This
PR also renumbers the QFMA instructions that previously used the
opcodes for these new instructions. The renumbering matches the
renumbering in V8 and LLVM.
Diffstat (limited to 'test/simd.wast.fromBinary')
-rw-r--r-- | test/simd.wast.fromBinary | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/simd.wast.fromBinary b/test/simd.wast.fromBinary index d53376883..a56689449 100644 --- a/test/simd.wast.fromBinary +++ b/test/simd.wast.fromBinary @@ -2,8 +2,8 @@ (type $v128_v128_=>_v128 (func (param v128 v128) (result v128))) (type $v128_=>_v128 (func (param v128) (result v128))) (type $v128_=>_i32 (func (param v128) (result i32))) - (type $v128_i32_=>_v128 (func (param v128 i32) (result v128))) (type $i32_=>_v128 (func (param i32) (result v128))) + (type $v128_i32_=>_v128 (func (param v128 i32) (result v128))) (type $none_=>_v128 (func (result v128))) (type $v128_v128_v128_=>_v128 (func (param v128 v128 v128) (result v128))) (type $i32_v128_=>_none (func (param i32 v128))) @@ -1160,6 +1160,16 @@ (local.get $0) ) ) + (func $v128.load32_zero (param $0 i32) (result v128) + (v128.load32_zero + (local.get $0) + ) + ) + (func $v128.load64_zero (param $0 i32) (result v128) + (v128.load64_zero + (local.get $0) + ) + ) (func $v8x16.swizzle (param $0 v128) (param $1 v128) (result v128) (v8x16.swizzle (local.get $0) |