diff options
| author | Suchita Pati <[email protected]> | 2018-05-18 20:28:02 -0500 |
|---|---|---|
| committer | Suchita Pati <[email protected]> | 2018-05-18 20:28:02 -0500 |
| commit | 5fd987fc8e551b823b0299e0cd3ce0d161fb84b6 (patch) | |
| tree | ed84860c624e607e813d5efc371c0d4fbde39b5f /src | |
| parent | 0f8c407eea99e1622486127912a83ef3e0dcf397 (diff) | |
ld operand in register space
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuda-sim/instructions.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc index e53aaab..583a49a 100644 --- a/src/cuda-sim/instructions.cc +++ b/src/cuda-sim/instructions.cc @@ -2368,7 +2368,11 @@ void decode_space( memory_space_t &space, ptx_thread_info *thread, const operand space = param_space_kernel; else if( ti.is_param_local() ) { space = param_space_local; - } else { + } + else if( ti.is_reg() ) { + space = param_space_kernel; + } + else { printf("GPGPU-Sim PTX: ERROR ** cannot resolve .param space for '%s'\n", s->name().c_str() ); abort(); } |
