Skip to content

Commit

Permalink
8297953: Fix several C2 IR matching tests for RISC-V
Browse files Browse the repository at this point in the history
Reviewed-by: fyang, chagedorn
  • Loading branch information
feilongjiang authored and RealFYang committed Dec 2, 2022
1 parent 1370228 commit 227364d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Expand Up @@ -31,7 +31,7 @@
* @summary Test that Ideal transformations of RotateLeftNode* are being performed as expected.
* @library /test/lib /
* @run driver compiler.c2.irTests.RotateLeftNodeIntIdealizationTests
* @requires os.arch == "x86_64" | os.arch == "aarch64" | os.arch == "riscv64"
* @requires os.arch == "x86_64" | os.arch == "aarch64" | (os.arch == "riscv64" & vm.opt.UseZbb == true)
*/
public class RotateLeftNodeIntIdealizationTests {

Expand Down
Expand Up @@ -31,7 +31,7 @@
* @summary Test that Ideal transformations of RotateLeftNode* are being performed as expected.
* @library /test/lib /
* @run driver compiler.c2.irTests.RotateLeftNodeLongIdealizationTests
* @requires os.arch == "x86_64" | os.arch == "aarch64" | os.arch == "riscv64"
* @requires os.arch == "x86_64" | os.arch == "aarch64" | (os.arch == "riscv64" & vm.opt.UseZbb == true)
*/
public class RotateLeftNodeLongIdealizationTests {

Expand Down
Expand Up @@ -31,6 +31,7 @@
* @summary Test that code generation for fp comparison works as intended
* @library /test/lib /
* @run driver compiler.c2.irTests.TestFPComparison
* @requires os.arch != "riscv64"
*/
public class TestFPComparison {
static final double[] DOUBLES = new double[] {
Expand Down
Expand Up @@ -139,6 +139,7 @@ public class TestFramework {
"UseAVX",
"UseSSE",
"UseSVE",
"UseZbb",
"Xlog",
"LogCompilation"
)
Expand Down

1 comment on commit 227364d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.