RFR: 8339790: Support Intel APX setzucc instruction [v3]

Jatin Bhateja jbhateja at openjdk.org
Fri Sep 13 20:37:27 UTC 2024


On Fri, 13 Sep 2024 19:36:59 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Hi @vnkozlov ,
>> setcc used in inst_encoding block is a macro assembly routine which emits either setcc + movzbl or setzucc for APX supported targets, I wanted to use one opto instruction to correctly depict semantics of both the cases.
>
> Yes, I see `setcc` definition and using it in `format` is fine since it will match to `inst_encoding`.
> On other hand, there is no macro or assembler instruction `sete_with_zextl` and it will be confusing.
> 
> If you want you can add comment to format (and you should not use `\n` in last line):
> 
>    "setcc    $res\t#  emits sete + movzbl or setzucc for APX" %}

DONE

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20920#discussion_r1759470761


More information about the hotspot-dev mailing list