From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../wasm/regress/regalloc-i64-load-store-global.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 js/src/jit-test/tests/wasm/regress/regalloc-i64-load-store-global.js (limited to 'js/src/jit-test/tests/wasm/regress/regalloc-i64-load-store-global.js') diff --git a/js/src/jit-test/tests/wasm/regress/regalloc-i64-load-store-global.js b/js/src/jit-test/tests/wasm/regress/regalloc-i64-load-store-global.js new file mode 100644 index 0000000000..da971d1aa2 --- /dev/null +++ b/js/src/jit-test/tests/wasm/regress/regalloc-i64-load-store-global.js @@ -0,0 +1,20 @@ +wasmFullPassI64(` + (module + (global (mut i64) (i64.const 9970292656026947164)) + (func (export "global.get_0") (result i64) global.get 0) + + (func $run (param i32) (result i64) + i64.const 8692897571457488645 + i64.const 1028567229461950342 + i64.mul + global.get 0 + f32.const 3.141592653 + f32.floor + f32.const -13.37 + f32.floor + f32.copysign + drop + i64.div_u + ) + ) +`, 1, {}, 'i32.const 0'); -- cgit v1.2.3