[PATCH] D156939: [AMDGPU][True16] Support disassembling .h registers.

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 13:56:45 PDT 2023


kosarev added a comment.

The encoding is a bit different from what we use downstream, because I don't like the idea of assigning the is-high flag to the LSB. This makes encodings that we get from `getEncodingValue()` for the non-16bit registers effectively incorrect and thus requiring additional treatment. Placing the flag in one of the MSBs feels like it extends the existing encoding conventions more naturally.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156939/new/

https://reviews.llvm.org/D156939



More information about the llvm-commits mailing list