Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,16 +281,6 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool {
testsuite == "function_references" || testsuite == "tail_call"
}

"riscv64" => {
// 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,
}
}
Expand Down
5 changes: 4 additions & 1 deletion tests/misc_testsuite/simd/issue_3327_bnot_lowering.wast
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
v128.not
i64x2.bitmask)
(export "" (func 0)))
(assert_return (invoke "") (i32.const 0))
;; the f64x2.promote_low_f32x4 operation may or may not preserve the sign bit
;; on the NaN in the first operation. This leads to one of two results depending
;; on how platforms propagate NaN bits.
(assert_return (invoke "") (either (i32.const 0) (i32.const 1)))

;; from #3327
(module
Expand Down