From 432b5471ec4bf6d51173def284cd418be6849a49 Mon Sep 17 00:00:00 2001 From: Afonso Bordado Date: Wed, 6 Sep 2023 20:41:22 +0100 Subject: [PATCH] wasmtime: Enable Relaxed SIMD testsuite for RISC-V (#6972) * wasmtime: Enable `relaxed_simd` testsuite for RISC-V * wasmtime: Add comment on `bnot_lowering` test --- build.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.rs b/build.rs index 1e60177e4a13..14555466b345 100644 --- a/build.rs +++ b/build.rs @@ -250,13 +250,13 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool { } "riscv64" => { - if testsuite.contains("relaxed_simd") { - return true; - } - - let known_failure = ["issue_3327_bnot_lowering"].contains(&testname); - - known_failure + // This test case is disabled because it relies on `fvpromote_low` + // not flipping the sign bit of the input when it is a NaN. This + // is allowed by the spec. It's worth keeping the testcase as is + // since it is stressing a specific codegen bug in another arch. + // + // See #6961 for more details + testname == "issue_3327_bnot_lowering" } _ => false,