[DynInst_API:] [dyninst/dyninst] 6c21cc: Added support for gfx908 based on the XML-ISA-DROP...


Date: Tue, 21 Feb 2023 12:33:55 -0800
From: Bolo -- Josef Burger <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 6c21cc: Added support for gfx908 based on the XML-ISA-DROP...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 6c21cc1da566466dc99d007a5ad1d1ca83cbae36
      https://github.com/dyninst/dyninst/commit/6c21cc1da566466dc99d007a5ad1d1ca83cbae36
  Author: Hsuan-Heng Wu <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    A common/h/AMDGPU/gfx908/amdgpu_gfx908_op_table.h
    A common/h/AMDGPU/gfx908/amdgpu_gfx908_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
    M instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.C
    M instructionAPI/src/AMDGPU/cdna2/finalizeOperands.C
    A instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    A instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.h
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.C
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.h
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_insn_entry.h
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_opcode_tables.C
    A instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    A instructionAPI/src/AMDGPU/gfx908/decodeOperands.h
    A instructionAPI/src/AMDGPU/gfx908/finalizeOperands.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
    A instructionAPI/src/debug_decode.C
    A instructionAPI/src/debug_decode.h
    M parseAPI/src/IA_IAPI.C
    M parseAPI/src/IA_amdgpu.C
    M parseAPI/src/Parser.C
    M parseAPI/src/SymbolicExpression.C
    M proccontrol/src/process.C

  Log Message:
  -----------
  Added support for gfx908 based on the XML-ISA-DROP for MI100
Fixed a bug in the instruction decoder that returns incorrect value on the last instruction.


  Commit: 63d83f00b0bc43efe05e5f00d7d84786236c31c5
      https://github.com/dyninst/dyninst/commit/63d83f00b0bc43efe05e5f00d7d84786236c31c5
  Author: Hsuan-Heng Wu <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.C
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.h

  Log Message:
  -----------
  fix compiler warnings for unused parameter and unused variable for gfx908


  Commit: 656c7368a9d7ff8100b211527f14bcd8d573c94b
      https://github.com/dyninst/dyninst/commit/656c7368a9d7ff8100b211527f14bcd8d573c94b
  Author: Hsuan-Heng Wu <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/cdna2/decodeOperands.C
    M instructionAPI/src/AMDGPU/cdna2/decodeOperands.h

  Log Message:
  -----------
  fix compiler warning for unused parameter and unused variable for cdna2


  Commit: 1701ab375200a37861495a24ed30f679ae36bf25
      https://github.com/dyninst/dyninst/commit/1701ab375200a37861495a24ed30f679ae36bf25
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  updated based on new xml-isa drop


  Commit: 00e9c17818ebec948f303e8a679b7aa434f7aca4
      https://github.com/dyninst/dyninst/commit/00e9c17818ebec948f303e8a679b7aa434f7aca4
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  fix decoding of operand for v_div_scale based on 220804 isa drop


  Commit: bbbcbc2617e7f0fe2c6f2be1d7fff486e6089d6a
      https://github.com/dyninst/dyninst/commit/bbbcbc2617e7f0fe2c6f2be1d7fff486e6089d6a
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    R instructionAPI/src/debug_decode.C
    R instructionAPI/src/debug_decode.h

  Log Message:
  -----------
  revert changes related to adding debug interface


  Commit: 65d163b8528d88d4928e9d88d5c30a3d1f844d5f
      https://github.com/dyninst/dyninst/commit/65d163b8528d88d4928e9d88d5c30a3d1f844d5f
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  compress finalizeOperands.C by combining cases with same decoding logic


  Commit: f1144bbb8e2a81eee963ca0c47abda6306942670
      https://github.com/dyninst/dyninst/commit/f1144bbb8e2a81eee963ca0c47abda6306942670
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.h
    M instructionAPI/src/AMDGPU/gfx908/finalizeOperands.C
    M instructionAPI/src/ArchSpecificFormatters.C

  Log Message:
  -----------
  add in support for decoding smem_offset operand type, which is still lacking from the ISA spec


  Commit: 9d12f3aa05e9dcef2daab166a1a397058c388be8
      https://github.com/dyninst/dyninst/commit/9d12f3aa05e9dcef2daab166a1a397058c388be8
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M common/h/dyn_regs.h

  Log Message:
  -----------
  add definition for waitcnt counters


  Commit: 496f217a96f09022497bf39ee0b1a724508a2348
      https://github.com/dyninst/dyninst/commit/496f217a96f09022497bf39ee0b1a724508a2348
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/h/Register.h
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.h
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.h
    M instructionAPI/src/AMDGPU/gfx908/finalizeOperands.C
    M instructionAPI/src/ArchSpecificFormatters.C
    M instructionAPI/src/InstructionDecoderImpl.C
    M instructionAPI/src/InstructionDecoderImpl.h
    M instructionAPI/src/Register.C

  Log Message:
  -----------
  Add support for formatting consecutive registers as a single operand str


  Commit: 02818df43ea6d019ac85c90df51db1a0c67220c5
      https://github.com/dyninst/dyninst/commit/02818df43ea6d019ac85c90df51db1a0c67220c5
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx908/finalizeOperands.C
    M instructionAPI/src/ArchSpecificFormatters.C

  Log Message:
  -----------
  fix formatting regarding implicit operands


  Commit: 38bf84ba65038225a909e27e8943a2dbd645478c
      https://github.com/dyninst/dyninst/commit/38bf84ba65038225a909e27e8943a2dbd645478c
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  remove duplicate branch target operand


  Commit: 84182fbee5a626a14b87dc8c2aa9af685e2264b7
      https://github.com/dyninst/dyninst/commit/84182fbee5a626a14b87dc8c2aa9af685e2264b7
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  fix the logic for operands addr and saddr for flat instruction encoding family based on the manual


  Commit: 2473f27ef87af2c2ea41d17e20970cdbcd83435f
      https://github.com/dyninst/dyninst/commit/2473f27ef87af2c2ea41d17e20970cdbcd83435f
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx908/decodeOperands.C

  Log Message:
  -----------
  fix logic for decoding src_literal, so it correctly consume the next 32 bit as data instead of decoding them as instruction


  Commit: 4939c4807e036b4a1cb5e8ed589ad5232d99cf46
      https://github.com/dyninst/dyninst/commit/4939c4807e036b4a1cb5e8ed589ad5232d99cf46
  Author: Bolo -- Josef Burger <bigtrak@xxxxxxxxxxxxxxxxxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    A common/h/AMDGPU/gfx908/amdgpu_gfx908_op_table.h
    A common/h/AMDGPU/gfx908/amdgpu_gfx908_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
    M instructionAPI/h/Register.h
    M instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.C
    M instructionAPI/src/AMDGPU/cdna2/decodeOperands.C
    M instructionAPI/src/AMDGPU/cdna2/decodeOperands.h
    M instructionAPI/src/AMDGPU/cdna2/finalizeOperands.C
    A instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    A instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.h
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.C
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.h
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_insn_entry.h
    A instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_opcode_tables.C
    A instructionAPI/src/AMDGPU/gfx908/decodeOperands.C
    A instructionAPI/src/AMDGPU/gfx908/decodeOperands.h
    A instructionAPI/src/AMDGPU/gfx908/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/InstructionDecoderImpl.h
    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/Parser.C
    M parseAPI/src/SymbolicExpression.C
    M proccontrol/src/process.C

  Log Message:
  -----------
  Merge pull request #1283 from dyninst/wuxx1279/amdgpu

Added support for gfx908 based on the XML-ISA-DROP for MI100


Compare: https://github.com/dyninst/dyninst/compare/f359d52ed1e0...4939c4807e03
[← Prev in Thread] Current Thread [Next in Thread→]