RFR: 8329035: New Data Destination instructions support [v4]

Steve Dohrmann sdohrmann at openjdk.org
Tue Sep 10 22:38:24 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.

Steve Dohrmann has updated the pull request incrementally with one additional commit since the last revision:

  remove instr. functions based on review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20698/files
  - new: https://git.openjdk.org/jdk/pull/20698/files/385ea567..bd2612bc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20698&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20698&range=02-03

  Stats: 228 lines in 2 files changed: 0 ins; 225 del; 3 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