8318735: RISC-V: Enable related hotspot tests run on riscv

Reviewed-by: fyang, luhenry
This commit is contained in:
Hamlin Li 2023-10-25 15:37:42 +00:00
parent 29d462a072
commit 9e98ee6726
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Red Hat, Inc. All rights reserved.
* Copyright (c) 2022, 2023, Red Hat, Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -29,7 +29,7 @@ import compiler.lib.ir_framework.*;
* @test
* bug 8290529
* @summary verify that x <u 1 is transformed to x == 0
* @requires os.arch=="amd64" | os.arch=="x86_64"
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="riscv64"
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.CmpUWithZero

View File

@ -30,7 +30,7 @@ import jdk.test.lib.Utils;
* @test
* @key randomness
* @bug 8283726 8287925
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64"
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64" | os.arch=="riscv64"
* @summary Test the intrinsics implementation of Integer/Long::compareUnsigned
* @library /test/lib /
* @run driver compiler.intrinsics.TestCompareUnsigned