Skip to content

Commit

Permalink
Merge pull request #2933 from fjeremic/improve-clg-32-bit
Browse files Browse the repository at this point in the history
Remove negative restriction in generateS390ImmOp for CLG
  • Loading branch information
0xdaryl committed Sep 7, 2018
2 parents c1d2fb7 + d363b9b commit f29d158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/z/codegen/OMRTreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ generateS390ImmOp(TR::CodeGenerator * cg, TR::InstOpCode::Mnemonic memOp, TR::N
return cursor;
}
}
if (value >= 0 && cg->canUseGoldenEagleImmediateInstruction(value))
if (cg->canUseGoldenEagleImmediateInstruction(value))
{
// LL: If Golden Eagle - can use Compare Logical Immediate with max 32-bit value.
ei_immOp = TR::InstOpCode::CLGFI;
Expand Down

0 comments on commit f29d158

Please sign in to comment.