RFR: 8329035: New Data Destination instructions support

Steve Dohrmann sdohrmann at openjdk.org
Tue Aug 27 22:25:03 UTC 2024


Adds assembler support for APX New Data Destination (NDD) and No Flags (NF) features.  

The NDD feature is supported by new functions that take an additional destination-only register operand.  If the instruction also supports NF, a no_flags boolean parameter is present. To use these instructions with NF behavior, but without NDD semantics, the same register can be supplied for both the new destination and the (first) source operand.

Some instructions support NF but not NDD.  These instructions have a new function that just adds a boolean no_flags parameter.  Existing functions were not overloaded with a boolean here because of  signature collisions (bool / int) with functions that take immediate operands.

All of the new functions have a letter "e" prefix, to avoid signature collisions and to indicate they will be evex encoded.

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

Commit messages:
 - fix 32-bit build name errors, missing no_flags arg, and addw functions
 - 8329035: New Data Destination instructions support

Changes: https://git.openjdk.org/jdk/pull/20698/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20698&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329035
  Stats: 1749 lines in 2 files changed: 1725 ins; 1 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/20698.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20698/head:pull/20698

PR: https://git.openjdk.org/jdk/pull/20698


More information about the hotspot-compiler-dev mailing list