Skip to content

Commit 30a5158

Browse files
jaskarthRealCLanger
authored andcommitted
8364580: Test compiler/vectorization/TestSubwordTruncation.java fails on platforms without RoundF/RoundD
Reviewed-by: chagedorn, shade
1 parent c38d93a commit 30a5158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/compiler/vectorization/TestSubwordTruncation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public Object[] testCmpLTMask(byte[] in) {
403403
}
404404

405405
@Test
406-
@IR(counts = { IRNode.ROUND_F, ">0" })
406+
@IR(applyIfPlatformOr = {"x64", "true", "aarch64", "true", "riscv64", "true"}, counts = { IRNode.ROUND_F, ">0" })
407407
@Arguments(setup = "setupByteArray")
408408
public Object[] testRoundF(byte[] in) {
409409
short[] res = new short[SIZE];
@@ -416,7 +416,7 @@ public Object[] testRoundF(byte[] in) {
416416
}
417417

418418
@Test
419-
@IR(counts = { IRNode.ROUND_D, ">0" })
419+
@IR(applyIfPlatformOr = {"x64", "true", "aarch64", "true", "riscv64", "true"}, counts = { IRNode.ROUND_D, ">0" })
420420
@Arguments(setup = "setupByteArray")
421421
public Object[] testRoundD(byte[] in) {
422422
short[] res = new short[SIZE];

0 commit comments

Comments
 (0)