From: mquinson Date: Tue, 16 Nov 2004 16:30:28 +0000 (+0000) Subject: Port to ARM X-Git-Tag: v3.3~4835 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b01b2a3a3042334245c03df9ec70b62e197fecf0 Port to ARM git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@515 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/ChangeLog b/ChangeLog index eb463794cd..235a12997d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-15 Martin Quinson + - Port to ARM. Simply added the alignment and size descriptions. Should + work, but the ARM machines are so slow that I didn't had the opportunity + to 'make check' overthere yet. + 2004-11-15 Arnaud Legrand - Trace manager now written. It uses a heap structure and is therfore expected to be efficient. It may however be speed up (particularly diff --git a/src/gras/DataDesc/datadesc_private.h b/src/gras/DataDesc/datadesc_private.h index 2435c23a94..6206440054 100644 --- a/src/gras/DataDesc/datadesc_private.h +++ b/src/gras/DataDesc/datadesc_private.h @@ -42,7 +42,7 @@ void gras_ddt_freev(void *ddt); * Descriptions of all known architectures * *******************************************/ -#define gras_arch_count 5 +#define gras_arch_count 6 typedef enum { gras_ddt_scalar_char = 0, gras_ddt_scalar_short = 1, diff --git a/src/gras/DataDesc/ddt_convert.c b/src/gras/DataDesc/ddt_convert.c index b6b4b9f2c7..efc4946f04 100644 --- a/src/gras/DataDesc/ddt_convert.c +++ b/src/gras/DataDesc/ddt_convert.c @@ -24,8 +24,8 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ddt_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: - *** + *** B C:1/1: I:2/2:4/4:4/4:8/8: P:4/4:4/4: D:4/4:8/4: AIX + *** B C:1/1: I:2/2:4/2:4/2:8/2: P:4/2:4/2: D:4/2:8/2: ARM ***/ const gras_arch_desc_t gras_arches[gras_arch_count] = { @@ -42,8 +42,11 @@ const gras_arch_desc_t gras_arches[gras_arch_count] = { {1,2,4,8,8, 8,8, 4,8}}, {"aix", 1, {1,2,4,4,8, 4,4, 4,8}, - {1,2,4,4,8, 4,4, 4,4}} - + {1,2,4,4,8, 4,4, 4,4}}, + + {"arm", 1, {1,2,4,4,8, 4,4, 4,8}, + {1,2,2,2,2, 2,2, 2,2}} + }; const char *gras_datadesc_arch_name(int code) {