diff options
| author | Mahmoud <[email protected]> | 2019-10-22 17:34:35 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2019-10-22 17:34:35 -0400 |
| commit | 60b3d3ea5aeaacfcf3ca8c6f9deb7d75181e262d (patch) | |
| tree | 32795967472cc22a31931f40664c46a5b777819e /src/trace-driven/trace_opcode.h | |
| parent | 8e68772c7c8fc9fe0b7fc62cab76d45190225caf (diff) | |
fixing LDC inst in trace-driven mode
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)}, |
