Integrated: 8339507: Test generation tool and gtest for testing APX encoding of extended gpr instructions

hanklo6 duke at openjdk.org
Mon Oct 21 16:49:27 UTC 2024


On Wed, 4 Sep 2024 16:44:57 GMT, hanklo6 <duke at openjdk.org> wrote:

> Add test generation tool and gtest for testing APX encoding of instructions with extended general-purpose registers.
> 
> Intel Advanced Performance Extensions (APX) doubles the number of general-purpose registers, from 16 to 32. For more information about APX, see https://www.intel.com/content/www/us/en/developer/articles/technical/advanced-performance-extensions-apx.html.
> 
> By specification, instruction encoding remains unchanged for instructions using only the lower 16 GPRs. For cases where one or more instruction operands reference extended GPRs (Egprs), encoding targets either REX2, an extension of REX encoding, or an extended version of EVEX encoding. These new encoding schemes extend or modify existing instruction prefixes only when Egprs are used.
> 
> ### Generate test instructions
> With `binutils = 2.43`
> * `python3 x86-asmtest.py > asmtest.out.h`
> ### Run test
> *  `make test TEST="gtest:AssemblerX86"`

This pull request has now been integrated.

Changeset: 52d752c4
Author:    hanklo6 <hank.lo at intel.com>
URL:       https://git.openjdk.org/jdk/commit/52d752c43b3a9935ea97051c39adf381084035cc
Stats:     85016 lines in 3 files changed: 85016 ins; 0 del; 0 mod

8339507: Test generation tool and gtest for testing APX encoding of extended gpr instructions

Reviewed-by: jbhateja, sviswanathan, kvn

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

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


More information about the hotspot-compiler-dev mailing list