mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8297953: Fix several C2 IR matching tests for RISC-V
Reviewed-by: fyang, chagedorn
This commit is contained in:
parent
1370228cd7
commit
227364d592
@ -31,7 +31,7 @@ import compiler.lib.ir_framework.*;
|
||||
* @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 {
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ import compiler.lib.ir_framework.*;
|
||||
* @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 {
|
||||
|
||||
|
||||
@ -31,6 +31,7 @@ import jdk.test.lib.Asserts;
|
||||
* @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[] {
|
||||
|
||||
@ -139,6 +139,7 @@ public class TestFramework {
|
||||
"UseAVX",
|
||||
"UseSSE",
|
||||
"UseSVE",
|
||||
"UseZbb",
|
||||
"Xlog",
|
||||
"LogCompilation"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user