[DynInst_API:] [dyninst/dyninst] 7c3921: initial compilable commit


Date: Mon, 14 Oct 2024 22:11:13 -0700
From: Ronak Chauhan <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 7c3921: initial compilable commit
  Branch: refs/heads/ronak/tmp
  Home:   https://github.com/dyninst/dyninst
  Commit: 7c392146450c7b8f2cd03363b9f401e304b45bb8
      https://github.com/dyninst/dyninst/commit/7c392146450c7b8f2cd03363b9f401e304b45bb8
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M cmake/DyninstPlatform.cmake
    M common/CMakeLists.txt
    A common/src/arch-amdgpu.C
    A common/src/arch-amdgpu.h
    M common/src/arch.h
    M dataflowAPI/h/ABI.h
    M dataflowAPI/src/ABI.C
    M dataflowAPI/src/RegisterMap.C
    A dataflowAPI/src/amdgpu_gfx908_machRegIndex.h
    A dataflowAPI/src/amdgpu_gfx90a_machRegIndex.h
    A dataflowAPI/src/amdgpu_gfx940_machRegIndex.h
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/BPatch_snippet.C
    A dyninstAPI/src/RegisterConversion-amdgpu.C
    A dyninstAPI/src/Relocation/Widgets/CFWidget-amdgpu.C
    M dyninstAPI/src/Relocation/Widgets/CFWidget.h
    A dyninstAPI/src/Relocation/Widgets/PCWidget-amdgpu.C
    M dyninstAPI/src/Relocation/Widgets/StackModWidget.C
    M dyninstAPI/src/arch-forward-decl.h
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/binaryEdit.C
    A dyninstAPI/src/codegen-amdgpu.C
    A dyninstAPI/src/codegen-amdgpu.h
    M dyninstAPI/src/codegen.h
    A dyninstAPI/src/emit-amdgpu.C
    A dyninstAPI/src/emit-amdgpu.h
    M dyninstAPI/src/function.h
    A dyninstAPI/src/inst-amdgpu.C
    A dyninstAPI/src/inst-amdgpu.h
    M dyninstAPI/src/legacy-instruction.h
    A dyninstAPI/src/linux-amdgpu.C
    A dyninstAPI/src/linux-amdgpu.h
    M dyninstAPI/src/linux.h
    M dyninstAPI/src/mapped_object.C
    A dyninstAPI/src/parse-amdgpu.C
    M dyninstAPI/src/parse-cfg.h
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h
    A dyninstAPI/src/stackwalk-amdgpu.C
    M dyninstAPI_RT/CMakeLists.txt
    M dyninstAPI_RT/src/RTlinux.c
    A dyninstAPI_RT/src/RTthread-amdgpu.c
    M parseAPI/src/Parser-speculative.C
    M proccontrol/CMakeLists.txt
    A proccontrol/src/amdgpu_process.C
    A proccontrol/src/amdgpu_process.h
    M proccontrol/src/linux.C
    M proccontrol/src/linux.h
    M stackwalk/CMakeLists.txt
    A stackwalk/src/amdgpu-swk.C
    A stackwalk/src/amdgpu-swk.h
    M stackwalk/src/dbginfo-stepper.C
    M stackwalk/src/framestepper.C
    A stackwalk/src/linux-amdgpu-swk.C
    M stackwalk/src/linux-x86-swk.C
    M symtabAPI/CMakeLists.txt
    A symtabAPI/src/emitElfStatic-amdgpu.C
    A symtabAPI/src/relocationEntry-elf-amdgpu.C

  Log Message:
  -----------
  initial compilable commit


  Commit: b028dc332dee6a6c9b73c9f4b959c239481b9f70
      https://github.com/dyninst/dyninst/commit/b028dc332dee6a6c9b73c9f4b959c239481b9f70
  Author: Ronak Chauhan <rchauhan9@xxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  Add additional interfaces to the Emitter


  Commit: 7eaf1c25e5e54ea65e846cc6edbbe1b859c58908
      https://github.com/dyninst/dyninst/commit/7eaf1c25e5e54ea65e846cc6edbbe1b859c58908
  Author: Ronak Chauhan <rchauhan9@xxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/Relocation/Widgets/PCWidget-amdgpu.C
    A dyninstAPI/src/amdgpu-vega-details.cpp
    A dyninstAPI/src/amdgpu-vega-details.h
    M dyninstAPI/src/codegen.h
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h
    M dyninstAPI/src/inst-amdgpu.C
    M proccontrol/src/amdgpu_process.C

  Log Message:
  -----------
  Get dyninst to build with the AMDGPU Vega emitter


  Commit: 9241e4be30781c6a0723185c5f68b608405d3154
      https://github.com/dyninst/dyninst/commit/9241e4be30781c6a0723185c5f68b608405d3154
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp

  Log Message:
  -----------
  [AMDGPU] Use hex literals instead of binary literals


  Commit: a845a57e73137797152e5817157c6d8505578d73
      https://github.com/dyninst/dyninst/commit/a845a57e73137797152e5817157c6d8505578d73
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/RegisterConversion-amdgpu.C
    M dyninstAPI/src/inst-amdgpu.C
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h

  Log Message:
  -----------
  [AMDGPU] Add register conversion for gfx908

Next : look into dataflowAPI and ABI


  Commit: 0d148120b68dc283b046426d3a44e1fd04414b3e
      https://github.com/dyninst/dyninst/commit/0d148120b68dc283b046426d3a44e1fd04414b3e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dataflowAPI/src/ABI.C
    M dyninstAPI/src/registerSpace.C

  Log Message:
  -----------
  Try to fill in some ABI and liveness related gaps


  Commit: 4027c9f71188ad036856ad98a3b78bfcba76b8e8
      https://github.com/dyninst/dyninst/commit/4027c9f71188ad036856ad98a3b78bfcba76b8e8
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dataflowAPI/src/amdgpu_gfx908_machRegIndex.h
    M dyninstAPI/src/codegen.C
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h

  Log Message:
  -----------
  Fixes to let insertSnippet Example Work

This commit contains of the following patch to make the insert
snippet example works. It is not intended to be merged, and all
these "hacks" should be looked at carefully and changed to a
correct implementation.

1. Add additional registers in the liveness register map in dataflowAPI
2. Add additional register encoding types in registerSpace
3. Add definedRegs tracking for arch_amdgpu


  Commit: 039bfd6ecb55b680f5e843930c445ba953e168c4
      https://github.com/dyninst/dyninst/commit/039bfd6ecb55b680f5e843930c445ba953e168c4
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/CMakeLists.txt

  Log Message:
  -----------
  [AMDGPU] Remove duplicate CMake config


  Commit: 87e2826e31afc5c9eb096c26a354b36cb06a414b
      https://github.com/dyninst/dyninst/commit/87e2826e31afc5c9eb096c26a354b36cb06a414b
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/CMakeLists.txt

  Log Message:
  -----------
  [AMDGPU] Compile amdgpu-vega-details.cpp only when building Dyninst for AMDGPU


  Commit: 15ca59f68d5fe144739426c0ced71f2302b4cb3f
      https://github.com/dyninst/dyninst/commit/15ca59f68d5fe144739426c0ced71f2302b4cb3f
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    A dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Have separate implementation of AST interfaces for AMDGPU


  Commit: 560a2bcc2c9197b6a3c881b8da85c95d084c33c9
      https://github.com/dyninst/dyninst/commit/560a2bcc2c9197b6a3c881b8da85c95d084c33c9
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU][AST-Lower] Remove some code not relevant to AMDGPU


  Commit: 4e63e10ace480cdfa4cf57ec2ad4f5b28df11c27
      https://github.com/dyninst/dyninst/commit/4e63e10ace480cdfa4cf57ec2ad4f5b28df11c27
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Emit short jump for branchOp in AstOperatorNode


  Commit: f90ca79a43b1ce295f7c224a5a2e2acdb3e9f915
      https://github.com/dyninst/dyninst/commit/f90ca79a43b1ce295f7c224a5a2e2acdb3e9f915
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/registerSpace.C

  Log Message:
  -----------
  Remove print statements from checkLive


  Commit: ad65ca67d3bbee484cc7d079a4f8f78636a0dd66
      https://github.com/dyninst/dyninst/commit/ad65ca67d3bbee484cc7d079a4f8f78636a0dd66
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  [Emitter] Add emitOpImmSimple interface for immedate operations

The existing emitOpImm takes two opcodes, and we don't want to mess with
any existing code.


  Commit: cc5d768897d311d753fbd13c5bb522fa353b6ca4
      https://github.com/dyninst/dyninst/commit/cc5d768897d311d753fbd13c5bb522fa353b6ca4
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] [WIP] Generate code for binary operations

1. Liveness and register re-allocation seem to be broken
2. reg-to-reg binary operations generate correct instruction, but modify
  a live register
3. imm-to-reg binary operations segfault and require fixing.


  Commit: ee74c0bc195ba30e03885c4fea346326261c4a44
      https://github.com/dyninst/dyninst/commit/ee74c0bc195ba30e03885c4fea346326261c4a44
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  Revert "[AMDGPU] [WIP] Generate code for binary operations"

This reverts commit 1c6f674843025282e672d853e895cc6c1cd404f7.


  Commit: a0cca9b35b306301fa6e87e0afe3859b39a6b4f8
      https://github.com/dyninst/dyninst/commit/a0cca9b35b306301fa6e87e0afe3859b39a6b4f8
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Generate SALU instructions for binary operations


  Commit: 4fece7d572b8cb4fcfbbdc4eddbfd145767b4163
      https://github.com/dyninst/dyninst/commit/4fece7d572b8cb4fcfbbdc4eddbfd145767b4163
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp

  Log Message:
  -----------
  [AMDGPU] Fix emitting SMEM instructions


  Commit: a7b8a962056d1575b9bb82c5ca199866e37a2453
      https://github.com/dyninst/dyninst/commit/a7b8a962056d1575b9bb82c5ca199866e37a2453
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_snippet.C
    M dyninstAPI/src/ast-amdgpu.C
    M dyninstAPI/src/ast.h

  Log Message:
  -----------
  [AMDGPU][CodeGen] Add variable allocation skeleton


  Commit: 0bd2069b85c7bf1522245b74e84e22143cd82f5c
      https://github.com/dyninst/dyninst/commit/0bd2069b85c7bf1522245b74e84e22143cd82f5c
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  [AMDGPU] Redo the Bolo hack


  Commit: 4502c48aad412879bd980cd7400f190c45ac0b23
      https://github.com/dyninst/dyninst/commit/4502c48aad412879bd980cd7400f190c45ac0b23
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M common/src/arch-amdgpu.h
    M symtabAPI/src/relocationEntry-elf-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Use DYNINST_EXPORT macro


  Commit: 02e43d3ebd2b0c1046e62f4c9ca478983fdc151f
      https://github.com/dyninst/dyninst/commit/02e43d3ebd2b0c1046e62f4c9ca478983fdc151f
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M dataflowAPI/h/ABI.h
    M dataflowAPI/src/RegisterMap.C

  Log Message:
  -----------
  [AMDGPU] Fix dataflowAPI related errors


  Commit: c8882c0625dcccf8ea43426cfa06b6d311a19341
      https://github.com/dyninst/dyninst/commit/c8882c0625dcccf8ea43426cfa06b6d311a19341
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M cmake/DyninstOptions.cmake
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  [AMDGPU] Add CMake option for AMDGPU build of Dyninst


Compare: https://github.com/dyninst/dyninst/compare/7c392146450c%5E...c8882c0625dc

To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 7c3921: initial compilable commit, Ronak Chauhan <=