Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some new functions to this. Bloatware, here we come.
[simgrid.git] / src / gras / DataDesc / ddt_convert.c
index f144a2f..404998e 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "gras/DataDesc/datadesc_private.h"
 
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ddt_convert,datadesc,
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_ddt_convert,gras_ddt,
                                 "Inter-architecture convertions");
 
 /***
@@ -48,7 +48,6 @@ const gras_arch_desc_t gras_arches[gras_arch_count] = {
   {"big32",      1, {1,2,4,4,8,   4,4,   4,8}, 
                     {1,2,4,4,8,   4,4,   4,8}},
 
-
   {"big32_8_4",  1, {1,2,4,4,8,   4,4,   4,8}, /* AIX */
                     {1,2,4,4,8,   4,4,   4,4}},
 
@@ -59,7 +58,10 @@ const gras_arch_desc_t gras_arches[gras_arch_count] = {
                     {1,2,2,2,2,   2,2,   2,2}},
 
   {"big64",      1, {1,2,4,8,8,   8,8,   4,8}, /* sparc */
-                    {1,2,4,8,8,   8,8,   4,8}}
+                    {1,2,4,8,8,   8,8,   4,8}},
+   
+  {"big64_8_4",  1, {1,2,4,8,8,   8,8,   4,8}, /* aix with -maix64 */
+                    {1,2,4,8,8,   8,8,   4,4}}
 };
 
 const char *gras_datadesc_arch_name(int code) {
@@ -84,7 +86,7 @@ gras_dd_reverse_bytes(void *to,
  * The data to be converted is stored in @src, and is to be stored in @dst.
  * Both pointers may be the same location if no resizing is needed.
  */
-xbt_error_t
+void
 gras_dd_convert_elm(gras_datadesc_type_t type, int count,
                    int r_arch, 
                    void *src, void *dst) {
@@ -219,7 +221,6 @@ gras_dd_convert_elm(gras_datadesc_type_t type, int count,
     }
   }
 
-  return no_error;
 }
 
 static void