From 60b3d3ea5aeaacfcf3ca8c6f9deb7d75181e262d Mon Sep 17 00:00:00 2001 From: Mahmoud Date: Tue, 22 Oct 2019 17:34:35 -0400 Subject: fixing LDC inst in trace-driven mode --- src/trace-driven/trace_opcode.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/trace-driven/trace_opcode.h') 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 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 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)}, -- cgit v1.3