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


Date: Wed, 30 Nov 2022 04:50:28 -0800
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] f781d6: Added support for gfx908 based on the XML-ISA-DROP...
  Branch: refs/heads/wuxx1279/amdgpu
  Home:   https://github.com/dyninst/dyninst
  Commit: f781d6e3fdcb95f8acdfe420358186c614910de5
      https://github.com/dyninst/dyninst/commit/f781d6e3fdcb95f8acdfe420358186c614910de5
  Author: Hsuan-Heng Wu <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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/AMDGPU/vega/InstructionDecoder-amdgpu-vega.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: 8e1e20b26ff2590b5e1500849afee89dea4bff72
      https://github.com/dyninst/dyninst/commit/8e1e20b26ff2590b5e1500849afee89dea4bff72
  Author: Hsuan-Heng Wu <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: 0620c2264df1ae3b2cd5cbcd79665fb287235fbf
      https://github.com/dyninst/dyninst/commit/0620c2264df1ae3b2cd5cbcd79665fb287235fbf
  Author: Hsuan-Heng Wu <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: 95273b87fde2fa07382962935422c108d1b344e6
      https://github.com/dyninst/dyninst/commit/95273b87fde2fa07382962935422c108d1b344e6
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

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

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


  Commit: 723c6c255ae69071c39b8da3793ef0636e4feaeb
      https://github.com/dyninst/dyninst/commit/723c6c255ae69071c39b8da3793ef0636e4feaeb
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: 0bc9ed0873f05cc31999f7c9f3de58515b10ea16
      https://github.com/dyninst/dyninst/commit/0bc9ed0873f05cc31999f7c9f3de58515b10ea16
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: 16bbae6a3ac40c72c920f4bcb45ceaa16176c90e
      https://github.com/dyninst/dyninst/commit/16bbae6a3ac40c72c920f4bcb45ceaa16176c90e
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

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

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


  Commit: 7f192d2ddf9404a885d56fde4c4214cb2c21d6a1
      https://github.com/dyninst/dyninst/commit/7f192d2ddf9404a885d56fde4c4214cb2c21d6a1
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: 4ba919a5f09e91e83963581226b0b692bdf3de76
      https://github.com/dyninst/dyninst/commit/4ba919a5f09e91e83963581226b0b692bdf3de76
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M common/h/dyn_regs.h

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


  Commit: 27d5059ce44ec1b9484ccb824e892ef3caa8433b
      https://github.com/dyninst/dyninst/commit/27d5059ce44ec1b9484ccb824e892ef3caa8433b
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: aa0999d88584e44ee2d9b51295561035b0e98a8a
      https://github.com/dyninst/dyninst/commit/aa0999d88584e44ee2d9b51295561035b0e98a8a
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

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

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


  Commit: ef4f189c1855e547ad808f6b478529ab9f8c2c81
      https://github.com/dyninst/dyninst/commit/ef4f189c1855e547ad808f6b478529ab9f8c2c81
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

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

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


  Commit: 687e1b47be5227db6d0da57f1674a17df0856e4f
      https://github.com/dyninst/dyninst/commit/687e1b47be5227db6d0da57f1674a17df0856e4f
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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: 40475c7e741910aa492762c250eedeb04406c2bc
      https://github.com/dyninst/dyninst/commit/40475c7e741910aa492762c250eedeb04406c2bc
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  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


Compare: https://github.com/dyninst/dyninst/compare/5bc19f06754f...40475c7e7419
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] f781d6: Added support for gfx908 based on the XML-ISA-DROP..., bbiiggppiigg <=