summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.clamp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.clamp')
-rw-r--r--test/unit.fromasm.clamp11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/unit.fromasm.clamp b/test/unit.fromasm.clamp
index 645f65e3e..ffe26a3a2 100644
--- a/test/unit.fromasm.clamp
+++ b/test/unit.fromasm.clamp
@@ -720,11 +720,14 @@
)
)
(call $loadSigned
- (i32.shl
- (i32.load16_s
- (get_local $0)
+ (i32.shr_s
+ (i32.shl
+ (i32.load16_u
+ (get_local $0)
+ )
+ (i32.const 24)
)
- (i32.const 8)
+ (i32.const 16)
)
)
)