RFR: 8259773: Incorrect encoding of AVX-512 kmovq instruction

Jatin Bhateja jbhateja at openjdk.java.net
Thu Jan 14 11:46:10 UTC 2021


While working on a prototype for supporting opmask register allocation encountered this bug.

Encoding for following instruction[1] which spills the value of an opmask register into memory should have 0x91 as the opcode instead of 0x90.

KMOVQ Address , K1.

[1] https://www.felixcloutier.com/x86/kmovw:kmovb:kmovq:kmovd

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

Commit messages:
 - 8259773: Incorrect encoding of AVX-512 kmovq instruction

Changes: https://git.openjdk.java.net/jdk/pull/2078/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2078&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259773
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2078.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2078/head:pull/2078

PR: https://git.openjdk.java.net/jdk/pull/2078


More information about the hotspot-compiler-dev mailing list