From 2a41477bc27387f23ec7c3d6fc3b8e0efdebc9d0 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Fri, 16 Jul 2010 20:26:49 -0800 Subject: - adding placeholders for new builtin registers [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6848] --- src/cuda-sim/opcodes.h | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'src/cuda-sim/opcodes.h') diff --git a/src/cuda-sim/opcodes.h b/src/cuda-sim/opcodes.h index 221bf2e..1a06415 100644 --- a/src/cuda-sim/opcodes.h +++ b/src/cuda-sim/opcodes.h @@ -71,12 +71,26 @@ enum opcode_t { }; enum special_regs { - CLOCK_ID, - CTA_ID, - NTID_ID, - GRIDID_ID, - NCTAID_ID, - TID_ID + CLOCK_REG, + CLOCK64_REG, + CTAID_REG, + ENVREG_REG, + GRIDID_REG, + LANEID_REG, + LANEMASK_EQ_REG, + LANEMASK_LE_REG, + LANEMASK_LT_REG, + LANEMASK_GE_REG, + LANEMASK_GT_REG, + NCTAID_REG, + NTID_REG, + NSMID_REG, + NWARPID_REG, + PM_REG, + SMID_REG, + TID_REG, + WARPID_REG, + WARPSZ_REG }; #endif -- cgit v1.3