Datatype compiler quietening
This commit was SVN r684.
Этот коммит содержится в:
родитель
765f844699
Коммит
a3dd037098
@ -442,12 +442,10 @@ static inline void *lam_memcpy(void *dst, const void *src, size_t size,
|
||||
return memcpy(dst, src, size);
|
||||
}
|
||||
|
||||
#if 0
|
||||
uint32_t lam_crc32(const void *restrict buffer, size_t size,
|
||||
uint32_t initial_crc);
|
||||
uint32_t lam_sum32(const void *restrict buffer, size_t size,
|
||||
uint32_t initial_crc);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Copy data from one buffer to another and calculate a 32-bit checksum
|
||||
@ -470,5 +468,17 @@ uint32_t lam_sum32(const void *restrict buffer, size_t size,
|
||||
* @return the original value of dst
|
||||
*/
|
||||
|
||||
int lam_datatype_create(int combiner,
|
||||
int nintegers,
|
||||
int integers[],
|
||||
int naddresses,
|
||||
ssize_t addresses[],
|
||||
int ntypes,
|
||||
lam_datatype_t *types[],
|
||||
lam_datatype_t **newtype);
|
||||
|
||||
int lam_datatype_delete(lam_datatype_t *type);
|
||||
|
||||
void *lam_memcpy_alt(void *dst, const void *src, size_t size, void *dummy);
|
||||
|
||||
#endif /* LAM_DATATYPE_H_INCLUDED */
|
||||
|
@ -30,7 +30,6 @@ int lam_datatype_copy(void *dst,
|
||||
(*memcpy_fn)(dst, src, count * d->d_extent, csum);
|
||||
} else {
|
||||
lam_datavec_t *dv = d->d_datavec;
|
||||
size_t datavec_size = d->d_datavec_size;
|
||||
unsigned char *p = ((unsigned char *) dst);
|
||||
unsigned char *q = ((unsigned char *) src);
|
||||
size_t i, j;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "datatype.h"
|
||||
|
||||
#define IS_32BIT_ALIGNED(X) \
|
||||
((uint32_t)(X) & (uint32_t) 3 == (uint32_t) 0 ? 1 : 0)
|
||||
(((uint32_t)(X) & (uint32_t) 3) == ((uint32_t) 0 ? 1 : 0))
|
||||
|
||||
|
||||
/**
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user