[DynInst_API:] [dyninst/dyninst] 5ad794: Prevent fallthrough analysis of amdgpu swap/set pc...


Date: Mon, 20 Feb 2023 12:08:01 -0800
From: Bolo -- Josef Burger <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 5ad794: Prevent fallthrough analysis of amdgpu swap/set pc...
  Branch: refs/heads/bolo/amdgpu_branch_fallthrough
  Home:   https://github.com/dyninst/dyninst
  Commit: 5ad79439de5468982f9ba878e916403f2c8671ec
      https://github.com/dyninst/dyninst/commit/5ad79439de5468982f9ba878e916403f2c8671ec
  Author: Bolo <bolo@xxxxxxxxxxx>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M instructionAPI/src/Instruction.C

  Log Message:
  -----------
  Prevent fallthrough analysis of amdgpu swap/set pc instructions.

Both amdgpu setpc and swappc instructions are _not_
fallthrough branch instructions.  We need to stop analysis
at that instruction.

The CDNA2 (MI200) instructions of swappc and ssetpc were
missing.  They have been added for similar fallthrough
prevention on that architecture.


[← Prev in Thread] Current Thread [Next in Thread→]