From 85df1ec7982f53a98bba134f6026cf810dc2d4be Mon Sep 17 00:00:00 2001 From: Fabian Date: Thu, 23 Sep 2021 12:42:23 -0500 Subject: [PATCH] Expect tests: tlb offset is not stable --- tests/expect/run.js | 2 +- tests/expect/tests/call-ret.wast | 6 +++--- tests/expect/tests/indirect-call.wast | 6 +++--- tests/expect/tests/mem32r.wast | 2 +- tests/expect/tests/mem32rmw.wast | 2 +- tests/expect/tests/mem32w.wast | 2 +- tests/expect/tests/mov-immoffs.wast | 2 +- tests/expect/tests/pop.wast | 2 +- tests/expect/tests/push.wast | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/expect/run.js b/tests/expect/run.js index 3b718941..746ad483 100755 --- a/tests/expect/run.js +++ b/tests/expect/run.js @@ -23,7 +23,7 @@ catch(e) { const TEST_NAME = process.env.TEST_NAME; const LOG_LEVEL = 0; -const MIN_MEMORY_OFFSET = 4 * 1024 * 1024; +const MIN_MEMORY_OFFSET = 4096; const GIT_DIFF_FLAGS = ["--no-index", "--patience", "--color=always"]; diff --git a/tests/expect/tests/call-ret.wast b/tests/expect/tests/call-ret.wast index 33766b4f..a46828a8 100644 --- a/tests/expect/tests/call-ret.wast +++ b/tests/expect/tests/call-ret.wast @@ -97,7 +97,7 @@ (i32.eq (i32.and (tee_local $l12 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l11) @@ -191,7 +191,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) @@ -233,7 +233,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/indirect-call.wast b/tests/expect/tests/indirect-call.wast index 5abcf064..d76265b1 100644 --- a/tests/expect/tests/indirect-call.wast +++ b/tests/expect/tests/indirect-call.wast @@ -163,7 +163,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) @@ -217,7 +217,7 @@ (i32.eq (i32.and (tee_local $l13 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l12) @@ -258,7 +258,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/mem32r.wast b/tests/expect/tests/mem32r.wast index def928bf..d3acde7f 100644 --- a/tests/expect/tests/mem32r.wast +++ b/tests/expect/tests/mem32r.wast @@ -88,7 +88,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/mem32rmw.wast b/tests/expect/tests/mem32rmw.wast index dae55c5d..ef34d05e 100644 --- a/tests/expect/tests/mem32rmw.wast +++ b/tests/expect/tests/mem32rmw.wast @@ -91,7 +91,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/mem32w.wast b/tests/expect/tests/mem32w.wast index 92716731..59442136 100644 --- a/tests/expect/tests/mem32w.wast +++ b/tests/expect/tests/mem32w.wast @@ -88,7 +88,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/mov-immoffs.wast b/tests/expect/tests/mov-immoffs.wast index 17da5eef..54ff92e5 100644 --- a/tests/expect/tests/mov-immoffs.wast +++ b/tests/expect/tests/mov-immoffs.wast @@ -86,7 +86,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/pop.wast b/tests/expect/tests/pop.wast index 748e9e19..8ec01774 100644 --- a/tests/expect/tests/pop.wast +++ b/tests/expect/tests/pop.wast @@ -77,7 +77,7 @@ (i32.eq (i32.and (tee_local $l10 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l9) diff --git a/tests/expect/tests/push.wast b/tests/expect/tests/push.wast index daaf7c02..896a8808 100644 --- a/tests/expect/tests/push.wast +++ b/tests/expect/tests/push.wast @@ -80,7 +80,7 @@ (i32.eq (i32.and (tee_local $l11 - (i32.load offset=61456 + (i32.load offset={normalised output} (i32.shl (i32.shr_u (get_local $l10)