Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
deal with AIX by extending the architecture description stuff
[simgrid.git] / src / gras / DataDesc / ddt_convert.c
index 86fa511..6a82100 100644 (file)
 /* C combines the power of assembler with the portability of assembler. */
 /************************************************************************/
 
-#include "DataDesc/datadesc_private.h"
+#include "gras/DataDesc/datadesc_private.h"
 
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(convert,datadesc);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(ddt_convert,datadesc,
+                                "Inter-architecture convertions");
 
 /***
  *** Table of all known architectures:
@@ -23,21 +24,26 @@ GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(convert,datadesc);
  ***  l C<1/1> I<2/2:4/4:8/8:8/8> P<4/4:4/4> D<4/4:8/8>
  ***  B C<1/1> I<2/2:4/4:4/8:8/8> P<4/4:4/4> D<4/4:8/4>
  ***  B C<1/1> I<2/2:4/8:8/8:8/8> P<4/4:4/4> D<4/4:8/4>
+ ***  B C:1/1: I:2/2:4/4:4/4:8/8: P:4/4:4/4: D:4/4:8/4:
  ***
  ***/
 
 const gras_arch_desc_t gras_arches[gras_arch_count] = {
-  {"little32", 0,   {1,2,4,4,8,   4,4,   4,8}, 4},
-  //                {1,2,4,4,4,   4,4,   4,4}}, 
+  {"little32", 0,   {1,2,4,4,8,   4,4,   4,8}, // 4},
+                    {1,2,4,4,4,   4,4,   4,4}},
 
-  {"little64", 0,   {1,2,4,8,8,   8,8,   4,8}, 8},
-  //                {1,2,4,8,8,   8,8,   4,8}},
+  {"little64", 0,   {1,2,4,8,8,   8,8,   4,8}, // 8},
+                    {1,2,4,8,8,   8,8,   4,8}},
 
-  {"big32",    1,   {1,2,4,4,8,   4,4,   4,8}, 8},
-  //                {1,2,4,4,8,   4,4,   4,8}},
+  {"big32",    1,   {1,2,4,4,8,   4,4,   4,8}, // 8},
+                    {1,2,4,4,8,   4,4,   4,8}},
 
-  {"big64",    1,   {1,2,4,8,8,   8,8,   4,8}, 8}
-  //                {1,2,4,8,8,   8,8,   4,8}}
+  {"big64",    1,   {1,2,4,8,8,   8,8,   4,8}, // 8}
+                    {1,2,4,8,8,   8,8,   4,8}},
+
+  {"aix",      1,   {1,2,4,4,8,   4,4,   4,8}, // 8}
+                    {1,2,4,4,8,   4,4,   4,4}}
+   
 };
 
 const char *gras_datadesc_arch_name(int code) {