mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Fix IR expectations for floating points
This commit is contained in:
parent
61b722d59a
commit
7f6f40c775
@ -122,8 +122,21 @@ public class TestMinMaxIdentity {
|
||||
let("arg2", arg2),
|
||||
"""
|
||||
@Test
|
||||
@IR(counts = {IRNode.#op, "= 1"},
|
||||
phase = CompilePhase.BEFORE_MACRO_EXPANSION)
|
||||
""",
|
||||
type.isFloating() ?
|
||||
"""
|
||||
@IR(counts = {IRNode.#op, "= 1"},
|
||||
phase = CompilePhase.BEFORE_MACRO_EXPANSION,
|
||||
applyIfCPUFeatureOr = {"avx", "true", "asimd", "true"})
|
||||
@IR(counts = {IRNode.#op, "= 1"},
|
||||
phase = CompilePhase.BEFORE_MACRO_EXPANSION,
|
||||
applyIfPlatform = { "riscv64", "true" })
|
||||
""" :
|
||||
"""
|
||||
@IR(counts = {IRNode.#op, "= 1"},
|
||||
phase = CompilePhase.BEFORE_MACRO_EXPANSION)
|
||||
""",
|
||||
"""
|
||||
@Arguments(values = {Argument.NUMBER_42, Argument.NUMBER_42})
|
||||
public #type $test(#type #arg1, #type #arg2) {
|
||||
int i;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user