diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lit/exec/simd.wast | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/lit/exec/simd.wast b/test/lit/exec/simd.wast index 5ab6489a2..a34a68276 100644 --- a/test/lit/exec/simd.wast +++ b/test/lit/exec/simd.wast @@ -14,8 +14,21 @@ (i64.const 0) ) ) + + ;; CHECK: [fuzz-exec] calling load32x2_u + ;; CHECK-NEXT: [trap final > memory: 13835058055282163712 > 1048576] + (func $load32x2_u (export "load32x2_u") (result v128) + ;; This large 64-bit address is out of bounds, and this should trap. + (v128.load32x2_u + (i64.const -4611686018427387904) + ) + ) ) ;; CHECK: [fuzz-exec] calling load8x8_s ;; CHECK-NEXT: [fuzz-exec] note result: load8x8_s => i32x4 0x00620061 0x00640063 0x00660065 0x00000067 + +;; CHECK: [fuzz-exec] calling load32x2_u +;; CHECK-NEXT: [trap final > memory: 13835058055282163712 > 1048576] +;; CHECK-NEXT: [fuzz-exec] comparing load32x2_u ;; CHECK-NEXT: [fuzz-exec] comparing load8x8_s |