diff src/gpu/ptx/vm/ptxKernelArguments.hpp @ 11901:61767ccd4600

PTX boolean return value, emitIntegerTestMove, warnings
author Morris Meyer <morris.meyer@oracle.com>
date Sun, 06 Oct 2013 18:15:56 -0400
parents c7abc8411011
children 67a1e27a8dbb
line wrap: on
line diff
--- a/src/gpu/ptx/vm/ptxKernelArguments.hpp	Sun Oct 06 13:55:09 2013 -0400
+++ b/src/gpu/ptx/vm/ptxKernelArguments.hpp	Sun Oct 06 18:15:56 2013 -0400
@@ -29,6 +29,7 @@
 #include "runtime/signature.hpp"
 
 #define T_BYTE_SIZE       1
+#define T_BOOLEAN_SIZE    4
 #define T_INT_BYTE_SIZE   4
 #define T_FLOAT_BYTE_SIZE 4
 #define T_LONG_BYTE_SIZE  8
@@ -99,16 +100,13 @@
 
 
   void do_byte();
+  void do_bool();
   void do_int();
   void do_float();
   void do_long();
   void do_array(int begin, int end);
   void do_void();
 
-  inline void do_bool()   {
-    /* TODO : To be implemented */
-    guarantee(false, "do_bool:NYI");
-  }
   inline void do_char()   {
     /* TODO : To be implemented */
     guarantee(false, "do_char:NYI");