-/* Copyright (c) 2003 Olivier Aumage. */
-/* Copyright (c) 2003, 2004 Martin Quinson. */
-/* All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
- DEBUG4("r_size=%lu l_size=%lu, src=%p dst=%p", r_size, l_size, src, dst);
+ XBT_DEBUG("r_size=%lu l_size=%lu, src=%p dst=%p", r_size, l_size, src,
+ dst);
cpt, r_size, r_data, l_size, l_data);
cpt, r_size, r_data, l_size, l_data);
- DEBUG3("Truncate %d bytes (%s,%s)", -sizeChange,
+ XBT_DEBUG("Truncate %d bytes (%s,%s)", -sizeChange,
lowOrderFirst ? "lowOrderFirst" : "bigOrderFirst",
scal.encoding ==
e_gras_dd_scalar_encoding_sint ? "signed" : "unsigned");
lowOrderFirst ? "lowOrderFirst" : "bigOrderFirst",
scal.encoding ==
e_gras_dd_scalar_encoding_sint ? "signed" : "unsigned");
/* Make sure the high order bit of r_data and l_data are the same */
l_sign = gras_arches[GRAS_THISARCH].endian
/* Make sure the high order bit of r_data and l_data are the same */
l_sign = gras_arches[GRAS_THISARCH].endian
- ? ((unsigned char *) r_data + r_size - 1)
- : (unsigned char *) r_data;
- DEBUG2("This is signed (r_sign=%c l_sign=%c", *r_sign, *l_sign);
+ ? ((unsigned char *) r_data + r_size - 1)
+ : (unsigned char *) r_data;
+ XBT_DEBUG("This is signed (r_sign=%c l_sign=%c", *r_sign, *l_sign);
for (cpt = 0, r_data = dst, l_data = dst; cpt < count; cpt++, r_data = (char *) r_data + l_size, /* resizing already done */
l_data = (char *) l_data + l_size) {
for (cpt = 0, r_data = dst, l_data = dst; cpt < count; cpt++, r_data = (char *) r_data + l_size, /* resizing already done */
l_data = (char *) l_data + l_size) {