mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-08 20:49:44 +00:00
8364580: Test compiler/vectorization/TestSubwordTruncation.java fails on platforms without RoundF/RoundD
Reviewed-by: chagedorn, shade
This commit is contained in:
parent
68a4396dbc
commit
500462fb69
@ -403,7 +403,7 @@ public class TestSubwordTruncation {
|
||||
}
|
||||
|
||||
@Test
|
||||
@IR(counts = { IRNode.ROUND_F, ">0" })
|
||||
@IR(applyIfPlatformOr = {"x64", "true", "aarch64", "true", "riscv64", "true"}, counts = { IRNode.ROUND_F, ">0" })
|
||||
@Arguments(setup = "setupByteArray")
|
||||
public Object[] testRoundF(byte[] in) {
|
||||
short[] res = new short[SIZE];
|
||||
@ -416,7 +416,7 @@ public class TestSubwordTruncation {
|
||||
}
|
||||
|
||||
@Test
|
||||
@IR(counts = { IRNode.ROUND_D, ">0" })
|
||||
@IR(applyIfPlatformOr = {"x64", "true", "aarch64", "true", "riscv64", "true"}, counts = { IRNode.ROUND_D, ">0" })
|
||||
@Arguments(setup = "setupByteArray")
|
||||
public Object[] testRoundD(byte[] in) {
|
||||
short[] res = new short[SIZE];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user