Skip to content

8353665: RISC-V: IR verification fails in TestSubNodeFloatDoubleNegation.java #24421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
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
Original file line number Diff line number Diff line change
@@ -55,7 +55,9 @@ public static void assertResults() {
@Test
// Match a generic SubNode, because scalar Float16 operations are often
// performed as float operations.
@IR(counts = { IRNode.SUB, "2" })
@IR(counts = { IRNode.SUB, "2" }, applyIfPlatform = {"riscv64", "false"})
@IR(counts = { IRNode.SUB, "2" }, applyIfCPUFeature = {"zfh", "false"})
@IR(counts = { IRNode.SUB_HF, "2" }, applyIfCPUFeature = {"zfh", "true"})
// Checks that the subtractions in 0 - (0 - hf) do not get eliminiated
public static Float16 testHalfFloat(Float16 hf) {
return Float16.subtract(
Original file line number Diff line number Diff line change
@@ -139,11 +139,14 @@ public class TestFramework {
"UseAVX",
"UseSSE",
"UseSVE",
"UseZbb",
"UseRVV",
"Xlog",
"LogCompilation",
"UseCompactObjectHeaders"
"UseCompactObjectHeaders",
// Riscv
"UseRVV",
"UseZbb",
"UseZfh",
"UseZvbb"
)
);