summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--src/cuda-sim/instructions.cc5
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 35e04da..ebdfed1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
LOG:
+Version 3.2.3 versus 3.2.2
+- Fixed bug #78, added signed types to implementation of slct instruction.
+
Version 3.2.2 versus 3.2.1
- Added NVIDIA Quadro FX5600 GPGPU-Sim and GPUWattch configuration files.
- Added cache_stats class to record all memory accesses and access outcomes
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index 89212f2..1998765 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -3498,13 +3498,16 @@ void slct_impl( const ptx_instruction *pI, ptx_thread_info *thread )
switch ( i_type ) {
case B16_TYPE:
- case U16_TYPE: d.u16 = t?a.u16:b.u16; break;
+ case S16_TYPE:
+ case U16_TYPE: d.u16 = t?a.u16:b.u16; break;
case F32_TYPE:
case B32_TYPE:
+ case S32_TYPE:
case U32_TYPE: d.u32 = t?a.u32:b.u32; break;
case F64_TYPE:
case FF64_TYPE:
case B64_TYPE:
+ case S64_TYPE:
case U64_TYPE: d.u64 = t?a.u64:b.u64; break;
default: assert(0);
}