diff options
Diffstat (limited to 'src/trace-driven/trace_opcode.h')
| -rw-r--r-- | src/trace-driven/trace_opcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/trace-driven/trace_opcode.h b/src/trace-driven/trace_opcode.h index 2138e1c..f0172e1 100644 --- a/src/trace-driven/trace_opcode.h +++ b/src/trace-driven/trace_opcode.h @@ -149,7 +149,8 @@ static const std::unordered_map<std::string,OpcodeChar> OpcodeMap = { //Load/Store Instructions {"LD", OpcodeChar(OP_LD, LOAD_OP)}, - {"LDC", OpcodeChar(OP_LDC, LOAD_OP)}, + //For now, we ignore constant loads, consider it as ALU_OP, TO DO + {"LDC", OpcodeChar(OP_LDC, ALU_OP)}, {"LDG", OpcodeChar(OP_LDG, LOAD_OP)}, {"LDL", OpcodeChar(OP_LDL, LOAD_OP)}, {"LDS", OpcodeChar(OP_LDS, LOAD_OP)}, @@ -170,6 +171,7 @@ static const std::unordered_map<std::string,OpcodeChar> OpcodeMap = { {"CCTLT", OpcodeChar(OP_CCTLT, ALU_OP)}, //Texture Instructions + //For now, we ignore texture loads, consider it as ALU_OP {"TEX", OpcodeChar(OP_TEX, ALU_OP)}, {"TLD", OpcodeChar(OP_TLD, ALU_OP)}, {"TLD4", OpcodeChar(OP_TLD4, ALU_OP)}, |
