[DynInst_API:] [dyninst/dyninst] cddf97: Restructure operand decoding logic for AMDGPU (#1614)


Date: Tue, 07 Nov 2023 13:55:00 -0800
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] cddf97: Restructure operand decoding logic for AMDGPU (#1614)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: cddf9725ed7665515c66aed473824bab6ea3e52f
      https://github.com/dyninst/dyninst/commit/cddf9725ed7665515c66aed473824bab6ea3e52f
  Author: bbiiggppiigg <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.h
    M instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.C
    R instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.h
    R instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_opcode_tables.C
    A instructionAPI/src/AMDGPU/gfx908/appendOperands.C
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    R instructionAPI/src/AMDGPU/gfx908/decodeOperands.h
    M instructionAPI/src/AMDGPU/gfx908/finalizeOperands.C
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.C
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.h
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.C
    R instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.h
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_opcode_tables.C
    A instructionAPI/src/AMDGPU/gfx90a/appendOperands.C
    M instructionAPI/src/AMDGPU/gfx90a/decodeOperands.C
    R instructionAPI/src/AMDGPU/gfx90a/decodeOperands.h
    M instructionAPI/src/AMDGPU/gfx90a/finalizeOperands.C
    M instructionAPI/src/AMDGPU/gfx940/InstructionDecoder-amdgpu-gfx940.C
    M instructionAPI/src/AMDGPU/gfx940/InstructionDecoder-amdgpu-gfx940.h
    M instructionAPI/src/AMDGPU/gfx940/amdgpu_gfx940_decoder_impl.C
    R instructionAPI/src/AMDGPU/gfx940/amdgpu_gfx940_decoder_impl.h
    R instructionAPI/src/AMDGPU/gfx940/amdgpu_gfx940_insn_entry.h
    M instructionAPI/src/AMDGPU/gfx940/amdgpu_gfx940_opcode_tables.C
    A instructionAPI/src/AMDGPU/gfx940/appendOperands.C
    M instructionAPI/src/AMDGPU/gfx940/decodeOperands.C
    R instructionAPI/src/AMDGPU/gfx940/decodeOperands.h
    M instructionAPI/src/AMDGPU/gfx940/finalizeOperands.C

  Log Message:
  -----------
  Restructure operand decoding logic for AMDGPU (#1614)

As title, this commit restructured the operand decoding logic.
The main changes are as follows:

* Fix operand length for MFMA instructions

* Reorganize AMDGPU-decoder for separate-compilation

* Fix formatting for script-generated code.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] cddf97: Restructure operand decoding logic for AMDGPU (#1614), bbiiggppiigg <=