Skip to content

Commit

Permalink
revert changes related to adding debug interface
Browse files Browse the repository at this point in the history
  • Loading branch information
bbiiggppiigg committed Nov 15, 2022
1 parent 74a6661 commit de9b867
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 134 deletions.
1 change: 0 additions & 1 deletion instructionAPI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ include_directories(
${PROJECT_SOURCE_DIR}/instructionAPI/src/AMDGPU/vega)

set(SRC_LIST
src/debug_decode.C
src/Instruction.C
src/InstructionAST.C
src/Operation.C
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

#include "Ternary.h"
#include "InstructionDecoder-amdgpu-gfx908.h"
#include "debug_decode.h"

namespace Dyninst {
namespace InstructionAPI {
Expand Down Expand Up @@ -216,7 +215,6 @@ namespace Dyninst {
imm_at_64 = get32bit(b,8);

insn_long = ( ((uint64_t) insn_high) << 32) | insn;
decoding_printf("[%s:%d]: setting up insnword, bits = %llu\n",FILE__,__LINE__, insn_long );


}
Expand All @@ -239,7 +237,6 @@ namespace Dyninst {
//cout << "Is Branch Instruction !! , name = " << insn_in_progress -> getOperation().mnemonic << endl;
//std::mem_fun(decode_lookup_table[instr_family])(this);
}
decoding_printf("[%s:%d]: decoded instruction = %s\n",FILE__,__LINE__, insn_in_progress->getOperation().mnemonic.c_str() );
b.start += insn_in_progress->size();
return *insn_in_progress;
}
Expand All @@ -249,7 +246,6 @@ namespace Dyninst {
InstructionDecoder::buffer b(insn_to_complete->ptr(), insn_to_complete->size());
setupInsnWord(b);
mainDecode();
decoding_printf("[%s:%d]: decoded instruction = %s\n",FILE__,__LINE__, insn_in_progress->getOperation().mnemonic.c_str() );
cout.clear();
Instruction* iptr = const_cast<Instruction*>(insn_to_complete);
*iptr = *(insn_in_progress.get());
Expand Down
77 changes: 0 additions & 77 deletions instructionAPI/src/debug_decode.C

This file was deleted.

52 changes: 0 additions & 52 deletions instructionAPI/src/debug_decode.h

This file was deleted.

0 comments on commit de9b867

Please sign in to comment.