summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/binaryen.js/exception-handling.js.txt8
-rw-r--r--test/binaryen.js/kitchen-sink.js.txt82
-rw-r--r--test/simd.wast10
-rw-r--r--test/simd.wast.from-wast11
-rw-r--r--test/simd.wast.fromBinary11
-rw-r--r--test/simd.wast.fromBinary.noDebugInfo11
6 files changed, 88 insertions, 45 deletions
diff --git a/test/binaryen.js/exception-handling.js.txt b/test/binaryen.js/exception-handling.js.txt
index 5728fa9ab..19861dd21 100644
--- a/test/binaryen.js/exception-handling.js.txt
+++ b/test/binaryen.js/exception-handling.js.txt
@@ -28,7 +28,7 @@
)
)
-getExpressionInfo(throw) = {"id":46,"type":1,"event":"e"}
-getExpressionInfo(br_on_exn) = {"id":48,"type":9,"name":"l","event":"e"}
-getExpressionInfo(rethrow) = {"id":47,"type":1}
-getExpressionInfo(try) = {"id":45,"type":0}
+getExpressionInfo(throw) = {"id":47,"type":1,"event":"e"}
+getExpressionInfo(br_on_exn) = {"id":49,"type":9,"name":"l","event":"e"}
+getExpressionInfo(rethrow) = {"id":48,"type":1}
+getExpressionInfo(try) = {"id":46,"type":0}
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt
index 0127fbf4e..907d490fe 100644
--- a/test/binaryen.js/kitchen-sink.js.txt
+++ b/test/binaryen.js/kitchen-sink.js.txt
@@ -65,47 +65,47 @@ ReturnId: 19
MemorySizeId: 20
MemoryGrowId: 21
NopId: 22
-UnreachableId: 23
-AtomicCmpxchgId: 25
-AtomicRMWId: 24
-AtomicWaitId: 26
-AtomicNotifyId: 27
-SIMDExtractId: 29
-SIMDReplaceId: 30
-SIMDShuffleId: 31
-SIMDTernaryId: 32
-SIMDShiftId: 33
-SIMDLoadId: 34
-MemoryInitId: 36
-DataDropId: 37
-MemoryCopyId: 38
-MemoryFillId: 39
-PopId: 40
-RefNullId: 41
-RefIsNullId: 42
-RefFuncId: 43
-RefEqId: 44
-TryId: 45
-ThrowId: 46
-RethrowId: 47
-BrOnExnId: 48
-TupleMakeId: 49
-TupleExtractId: 50
-I31NewId: 51
-I31GetId: 52
-CallRefId: 53
-RefTestId: 54
-RefCastId: 55
-BrOnCastId: 56
-RttCanonId: 57
-RttSubId: 58
-StructNewId: 59
-StructGetId: 60
-StructSetId: 61
-ArrayNewId: 62
-ArrayGetId: 63
-ArraySetId: 64
-ArrayLenId: 65
+UnreachableId: 24
+AtomicCmpxchgId: 26
+AtomicRMWId: 25
+AtomicWaitId: 27
+AtomicNotifyId: 28
+SIMDExtractId: 30
+SIMDReplaceId: 31
+SIMDShuffleId: 32
+SIMDTernaryId: 33
+SIMDShiftId: 34
+SIMDLoadId: 35
+MemoryInitId: 37
+DataDropId: 38
+MemoryCopyId: 39
+MemoryFillId: 40
+PopId: 41
+RefNullId: 42
+RefIsNullId: 43
+RefFuncId: 44
+RefEqId: 45
+TryId: 46
+ThrowId: 47
+RethrowId: 48
+BrOnExnId: 49
+TupleMakeId: 50
+TupleExtractId: 51
+I31NewId: 52
+I31GetId: 53
+CallRefId: 54
+RefTestId: 55
+RefCastId: 56
+BrOnCastId: 57
+RttCanonId: 58
+RttSubId: 59
+StructNewId: 60
+StructGetId: 61
+StructSetId: 62
+ArrayNewId: 63
+ArrayGetId: 64
+ArraySetId: 65
+ArrayLenId: 66
getExpressionInfo={"id":15,"type":4,"op":6}
(f32.neg
(f32.const -33.61199951171875)
diff --git a/test/simd.wast b/test/simd.wast
index 2af6c42aa..515268859 100644
--- a/test/simd.wast
+++ b/test/simd.wast
@@ -1396,4 +1396,14 @@
(local.get $1)
)
)
+ (func $prefetch.t (param $0 i32)
+ (prefetch.t offset=3 align=2
+ (local.get $0)
+ )
+ )
+ (func $prefetch.nt (param $0 i32)
+ (prefetch.nt offset=3 align=2
+ (local.get $0)
+ )
+ )
)
diff --git a/test/simd.wast.from-wast b/test/simd.wast.from-wast
index 08be92638..158de7664 100644
--- a/test/simd.wast.from-wast
+++ b/test/simd.wast.from-wast
@@ -8,6 +8,7 @@
(type $i32_v128_=>_none (func (param i32 v128)))
(type $i32_v128_=>_v128 (func (param i32 v128) (result v128)))
(type $none_=>_v128 (func (result v128)))
+ (type $i32_=>_none (func (param i32)))
(type $v128_=>_i64 (func (param v128) (result i64)))
(type $v128_=>_f32 (func (param v128) (result f32)))
(type $v128_=>_f64 (func (param v128) (result f64)))
@@ -1413,4 +1414,14 @@
(local.get $1)
)
)
+ (func $prefetch.t (param $0 i32)
+ (prefetch.t offset=3 align=2
+ (local.get $0)
+ )
+ )
+ (func $prefetch.nt (param $0 i32)
+ (prefetch.nt offset=3 align=2
+ (local.get $0)
+ )
+ )
)
diff --git a/test/simd.wast.fromBinary b/test/simd.wast.fromBinary
index e66cf405b..c78c23572 100644
--- a/test/simd.wast.fromBinary
+++ b/test/simd.wast.fromBinary
@@ -8,6 +8,7 @@
(type $i32_v128_=>_none (func (param i32 v128)))
(type $i32_v128_=>_v128 (func (param i32 v128) (result v128)))
(type $none_=>_v128 (func (result v128)))
+ (type $i32_=>_none (func (param i32)))
(type $v128_=>_i64 (func (param v128) (result i64)))
(type $v128_=>_f32 (func (param v128) (result f32)))
(type $v128_=>_f64 (func (param v128) (result f64)))
@@ -1413,5 +1414,15 @@
(local.get $1)
)
)
+ (func $prefetch.t (param $0 i32)
+ (prefetch.t offset=3 align=2
+ (local.get $0)
+ )
+ )
+ (func $prefetch.nt (param $0 i32)
+ (prefetch.nt offset=3 align=2
+ (local.get $0)
+ )
+ )
)
diff --git a/test/simd.wast.fromBinary.noDebugInfo b/test/simd.wast.fromBinary.noDebugInfo
index 011093e9e..8655975db 100644
--- a/test/simd.wast.fromBinary.noDebugInfo
+++ b/test/simd.wast.fromBinary.noDebugInfo
@@ -8,6 +8,7 @@
(type $i32_v128_=>_none (func (param i32 v128)))
(type $i32_v128_=>_v128 (func (param i32 v128) (result v128)))
(type $none_=>_v128 (func (result v128)))
+ (type $i32_=>_none (func (param i32)))
(type $v128_=>_i64 (func (param v128) (result i64)))
(type $v128_=>_f32 (func (param v128) (result f32)))
(type $v128_=>_f64 (func (param v128) (result f64)))
@@ -1413,5 +1414,15 @@
(local.get $1)
)
)
+ (func $248 (param $0 i32)
+ (prefetch.t offset=3 align=2
+ (local.get $0)
+ )
+ )
+ (func $249 (param $0 i32)
+ (prefetch.nt offset=3 align=2
+ (local.get $0)
+ )
+ )
)