RFR: 8306706: Support out-of-line code generation for MachNodes [v2]

Quan Anh Mai qamai at openjdk.org
Tue May 23 16:12:28 UTC 2023


On Wed, 17 May 2023 22:10:38 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Is it possible to do this in `c2_MacroAssembler_x86` instead (as for `verified_entry`)?
>> We are trying to move complex coding from .ad files to macroassembler.
>
>> @vnkozlov Yes we can explicitly define a stub without relying on code generation, it may be more preferable since it avoids adding complexity to adlc generation. The only downside is that there is some boilerplate for each usage but I think the boilerplate is not too terrible.
> 
> Can you look on that? There could be other cases in Macroassembler which can use this

@vnkozlov Thanks for your reviews and testing
@TobiHartmann Thanks for your suggestion, I have added comments to describe the purpose of `C2GeneralStub`

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

PR Comment: https://git.openjdk.org/jdk/pull/13602#issuecomment-1559745291


More information about the hotspot-compiler-dev mailing list