Integrated: 8341272: Factory to create wide iinc instruction with small arguments
Trevor Bond
duke at openjdk.org
Mon Jan 12 07:09:30 UTC 2026
On Tue, 9 Dec 2025 20:59:58 GMT, Trevor Bond <duke at openjdk.org> wrote:
> Add a new factory method to `IncrementInstruction` that allows the explicit creation of a wide iinc instruction, even with a `slot` and `constant` that could fit into a normal iinc instruction. Previously, only one factory for iinc instructions existed, which inferred the type of instruction needed given the size of `slot` and `constant`. Add additional test cases for the new factory as well. All tier 1 tests and classfile tests have passed with these changes.
This pull request has now been integrated.
Changeset: 669977f7
Author: Trevor Bond <trevorkbond at gmail.com>
Committer: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/669977f7c4b58ab4901a340906262ab907b3ffb6
Stats: 60 lines in 4 files changed: 55 ins; 2 del; 3 mod
8341272: Factory to create wide iinc instruction with small arguments
Reviewed-by: liach, asotona
-------------
PR: https://git.openjdk.org/jdk/pull/28729
More information about the core-libs-dev
mailing list