summaryrefslogtreecommitdiff
path: root/test/threads.wasm-only.fromasm.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/threads.wasm-only.fromasm.no-opts')
-rw-r--r--test/threads.wasm-only.fromasm.no-opts93
1 files changed, 0 insertions, 93 deletions
diff --git a/test/threads.wasm-only.fromasm.no-opts b/test/threads.wasm-only.fromasm.no-opts
deleted file mode 100644
index a3acd49eb..000000000
--- a/test/threads.wasm-only.fromasm.no-opts
+++ /dev/null
@@ -1,93 +0,0 @@
-(module
- (type $i32_=>_none (func (param i32)))
- (type $none_=>_i32 (func (result i32)))
- (type $none_=>_i64 (func (result i64)))
- (import "env" "memory" (memory $memory (shared 256 256)))
- (import "env" "table" (table $table 0 0 funcref))
- (import "env" "__memory_base" (global $__memory_base i32))
- (import "env" "__table_base" (global $__table_base i32))
- (import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
- (import "env" "setTempRet0" (func $setTempRet0 (param i32)))
- (global $STACKTOP (mut i32) (global.get $STACKTOP$asm2wasm$import))
- (export "test64" (func $legalstub$test64))
- (func $test64 (result i64)
- (local $x i64)
- (local $y i64)
- (local $z i32)
- (local $int32 i32)
- (local $float32 f32)
- (local $float64 f64)
- (i64.atomic.store
- (i32.const 4656)
- (i64.const 92)
- )
- (local.set $x
- (i64.atomic.load
- (i32.const 4656)
- )
- )
- (local.set $y
- (i64.atomic.rmw.add
- (local.get $int32)
- (i64.const 26)
- )
- )
- (local.set $x
- (i64.atomic.rmw.sub
- (i32.const 1024)
- (local.get $y)
- )
- )
- (local.set $y
- (i64.atomic.rmw.and
- (i32.const 1024)
- (local.get $x)
- )
- )
- (local.set $x
- (i64.atomic.rmw.or
- (i32.const 1024)
- (local.get $y)
- )
- )
- (local.set $y
- (i64.atomic.rmw.xor
- (i32.const 1024)
- (local.get $x)
- )
- )
- (local.set $x
- (i64.atomic.rmw.xchg
- (i32.const 1024)
- (local.get $y)
- )
- )
- (local.set $y
- (i64.atomic.rmw.cmpxchg
- (i32.const 1024)
- (local.get $x)
- (local.get $y)
- )
- )
- (return
- (local.get $x)
- )
- )
- (func $legalstub$test64 (result i32)
- (local $0 i64)
- (local.set $0
- (call $test64)
- )
- (call $setTempRet0
- (i32.wrap_i64
- (i64.shr_u
- (local.get $0)
- (i64.const 32)
- )
- )
- )
- (i32.wrap_i64
- (local.get $0)
- )
- )
-)