Skip to content

Changes

Summary

  1. Z: Fix arraycmplen opcode error (commit: 3171315) (details)
  2. Z: Short circuit arraycmpSIMDHelper if addresses are equal (commit: 0488c72) (details)
Commit 3171315a5e3b0d5607ea26bfb7b24c67779c9edb by Ehsan Kiani Far
Z: Fix arraycmplen opcode error

The isArrayCmpSign function accept only arraycmp opcode.
arraycmplen returns the index and return102 flag has no impact.

Fix: #7136
Signed-off-by: ehsan kiani far <ehsan.kianifar@gmail.com>
(commit: 3171315)
The file was modified compiler/z/codegen/OMRTreeEvaluator.cpp (diff)
Commit 0488c720a18f4886a2a7b7dda45695886dd1587a by Ehsan Kiani Far
Z: Short circuit arraycmpSIMDHelper if addresses are equal

Z: Short circuit arraycmpSIMDHelper if addresses are equal

Add short circuit test of whether two array addresses are equal for
arraycmp. This particular case handles vectorized code path in
arraycmpSIMDHelper.
Short circuit branching is added to the start of instruction sequence.
Switched SLGFI with AGHI since it is shorter in length.

Signed-off-by: Ehsan Kiani Far <ehsan.kianifar@gmail.com>
(commit: 0488c72)
The file was modified compiler/z/codegen/OMRTreeEvaluator.cpp (diff)