--- old/src/hotspot/share/c1/c1_GraphBuilder.cpp 2018-04-05 20:10:07.196007329 +0530 +++ new/src/hotspot/share/c1/c1_GraphBuilder.cpp 2018-04-05 20:10:06.908007316 +0530 @@ -606,7 +606,7 @@ return load; } - if (RoundFPResults && UseSSE < 2 && load->type()->is_float_kind()) { + if (RoundFPResults X86_ONLY(&& UseSSE < 2) && load->type()->is_float_kind()) { // can't skip load since value might get rounded as a side effect return load; } @@ -2265,7 +2265,7 @@ Value GraphBuilder::round_fp(Value fp_value) { // no rounding needed if SSE2 is used - if (RoundFPResults && UseSSE < 2) { + if (RoundFPResults X86_ONLY(&& UseSSE < 2)) { // Must currently insert rounding node for doubleword values that // are results of expressions (i.e., not loads from memory or // constants) @@ -3764,7 +3764,7 @@ // When SSE2 is used on intel, then no special handling is needed // for strictfp because the enum-constant is fixed at compile time, // the check for UseSSE2 is needed here - if (strict_fp_requires_explicit_rounding && UseSSE < 2 && method()->is_strict() != callee->is_strict()) { + if (strict_fp_requires_explicit_rounding X86_ONLY(&& UseSSE < 2) && method()->is_strict() != callee->is_strict()) { INLINE_BAILOUT("caller and callee have different strict fp requirements"); }