[DynInst_API:] [dyninst/dyninst] 35532e: Rename AMDGPU cdna2 to gfx90a, decoder updated


Date: Tue, 28 Mar 2023 11:01:10 -0700
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 35532e: Rename AMDGPU cdna2 to gfx90a, decoder updated
  Branch: refs/heads/gfx90a
  Home:   https://github.com/dyninst/dyninst
  Commit: 35532e68ed4204be4870e9bf4da06ec7e4d3ecee
      https://github.com/dyninst/dyninst/commit/35532e68ed4204be4870e9bf4da06ec7e4d3ecee
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    R common/h/AMDGPU/cdna2/amdgpu_cdna2_op_table.h
    R common/h/AMDGPU/cdna2/amdgpu_cdna2_sys_regs.h
    A common/h/AMDGPU/gfx90a/amdgpu_gfx90a_op_table.h
    A common/h/AMDGPU/gfx90a/amdgpu_gfx90a_sys_regs.h
    M common/h/dyn_regs.h
    M common/h/entryIDs.h
    M common/src/dyn_regs.C
    M dwarf/src/dwarfHandle.C
    M elf/src/Elf_X.C
    M instructionAPI/CMakeLists.txt
    M instructionAPI/h/Instruction.h
    M instructionAPI/h/Operation_impl.h
    R instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.C
    R instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.h
    R instructionAPI/src/AMDGPU/cdna2/amdgpu_cdna2_decoder_impl.C
    R instructionAPI/src/AMDGPU/cdna2/amdgpu_cdna2_decoder_impl.h
    R instructionAPI/src/AMDGPU/cdna2/amdgpu_cdna2_insn_entry.h
    R instructionAPI/src/AMDGPU/cdna2/amdgpu_cdna2_opcode_tables.C
    R instructionAPI/src/AMDGPU/cdna2/decodeOperands.C
    R instructionAPI/src/AMDGPU/cdna2/decodeOperands.h
    R instructionAPI/src/AMDGPU/cdna2/finalizeOperands.C
    A instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.C
    A instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.h
    A instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.C
    A instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.h
    A instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_insn_entry.h
    A instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_opcode_tables.C
    A instructionAPI/src/AMDGPU/gfx90a/decodeOperands.C
    A instructionAPI/src/AMDGPU/gfx90a/decodeOperands.h
    A instructionAPI/src/AMDGPU/gfx90a/finalizeOperands.C
    M instructionAPI/src/ArchSpecificFormatters.C
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/InstructionCategories.C
    M instructionAPI/src/InstructionDecoderImpl.C
    M instructionAPI/src/Register.C
    M instructionAPI/src/amdgpu_branchinsn_table.h
    M parseAPI/src/IA_IAPI.C
    M parseAPI/src/IA_amdgpu.C
    M parseAPI/src/SymbolicExpression.C
    M proccontrol/src/process.C

  Log Message:
  -----------
  Rename AMDGPU cdna2 to gfx90a, decoder updated

Rename the architecture name for cdna2 to gfx90a
Updated the decoder implementation to based on newer
XML-ISA-Drop


  Commit: 50804b4fff1f85c151ca01d611135df99b470de4
      https://github.com/dyninst/dyninst/commit/50804b4fff1f85c151ca01d611135df99b470de4
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M common/h/dyn_regs.h

  Log Message:
  -----------
  add definition for the memory-counter registers


  Commit: 20405fcc618eb6b53584b4f1d2fc3688b49658fc
      https://github.com/dyninst/dyninst/commit/20405fcc618eb6b53584b4f1d2fc3688b49658fc
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx90a/finalizeOperands.C

  Log Message:
  -----------
  add empty finalizeOperand implementation for ENC_VINTRP, since no instructions of such encoding exists in the gfx90a isa drop


  Commit: 60cf82fc8572a39cded67af775fd1d2f4af41ac4
      https://github.com/dyninst/dyninst/commit/60cf82fc8572a39cded67af775fd1d2f4af41ac4
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.C

  Log Message:
  -----------
  remove trailing cout.clear call


  Commit: 4924ac7e82c99a6dfa9e5d6d873f1c6bd213b12e
      https://github.com/dyninst/dyninst/commit/4924ac7e82c99a6dfa9e5d6d873f1c6bd213b12e
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.h

  Log Message:
  -----------
  Fix function signature for makeRegisterExpression

This makes the code compile under gcc-6 and clang.


  Commit: 363d1358c86791e749d5a48bf34abaf8b0f606db
      https://github.com/dyninst/dyninst/commit/363d1358c86791e749d5a48bf34abaf8b0f606db
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M instructionAPI/src/Register.C

  Log Message:
  -----------
  Revert accidental typo introduced during rebase


  Commit: 0bd51e26d2bb134c4a7c9d5e713b2375c235971f
      https://github.com/dyninst/dyninst/commit/0bd51e26d2bb134c4a7c9d5e713b2375c235971f
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M common/h/AMDGPU/gfx90a/amdgpu_gfx90a_op_table.h
    M common/h/dyn_regs.h
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.C
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_insn_entry.h
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_opcode_tables.C
    M instructionAPI/src/AMDGPU/gfx90a/decodeOperands.C
    M instructionAPI/src/AMDGPU/gfx90a/decodeOperands.h
    M instructionAPI/src/AMDGPU/gfx90a/finalizeOperands.C

  Log Message:
  -----------
  Update gfx90a decoder implementation

Update the decoder implementation for amdgpu gfx90a to be based
on the XML-ISA-DROP 2302222

A new register dsmem is added


Compare: https://github.com/dyninst/dyninst/compare/61a53ae71da0...0bd51e26d2bb
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 35532e: Rename AMDGPU cdna2 to gfx90a, decoder updated, bbiiggppiigg <=