RFR: 8321648: Integral gather optimized mask computation.

Jatin Bhateja jbhateja at openjdk.org
Mon Dec 11 10:36:15 UTC 2023


On Mon, 11 Dec 2023 08:53:19 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> While you are at it, you can change the `address` operand of these to only accept no-index ones, removing the need of the `lea` instruction.

Hi @merykitty ,  Memory patterns fold address generation components (base , index, scale) into instruction encoding thus eliminating a need to emit explicit ADD, MUL instruction sequence to compute address, saving lea may prevent folding memory patterns and may prove to be costly.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17048#issuecomment-1849771671


More information about the hotspot-compiler-dev mailing list