[DynInst_API:] [dyninst/dyninst] 463801: Workarounds to align decoder output with llvm-objd...


Date: Tue, 05 Sep 2023 16:18:57 -0700
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 463801: Workarounds to align decoder output with llvm-objd...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 463801216b933cdfdc4115b3d170eb4f64b513f1
      https://github.com/dyninst/dyninst/commit/463801216b933cdfdc4115b3d170eb4f64b513f1
  Author: bbiiggppiigg <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M common/h/dyn_regs.h
    M instructionAPI/h/Immediate.h
    M instructionAPI/h/Instruction.h
    M instructionAPI/h/Operation_impl.h
    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
    M instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.h
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    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
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.h
    M instructionAPI/src/AMDGPU/gfx90a/decodeOperands.C
    M instructionAPI/src/AMDGPU/gfx90a/finalizeOperands.C
    M instructionAPI/src/Immediate.C

  Log Message:
  -----------
  Workarounds to align decoder output with llvm-objdump (#1508)

* Add info registers and fix some duplicate values

* Add named immediate as an operand type

* Add a method for updating mnemonic(required for adding extensions)

* Implement Workarounds for Gfx908 and GFX90A

This commit is intended to fix the following problems

1. Instructions that use SDWA have wrong length
2. Instructions that use SDWA does not have the _SDWA suffixh
3. MUBUF instructions decodes the VADDR field incorrectly
4. MUBUF instructions missing information about offset
5. DS instructions missing information about offset

* redo whitespace and indentation changes


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 463801: Workarounds to align decoder output with llvm-objd..., bbiiggppiigg <=