Fixed the alignment bug for w=64. This will continue to be a problem with w=128, btw...
git-svn-id: svn://mamba.eecs.utk.edu/home/plank/svn/Galois-Library@82 36f187d4-5712-4624-889c-152d48957efamaster
parent
a990e8cfc7
commit
9ac53e1de2
2
gf.c
2
gf.c
|
@ -330,7 +330,7 @@ void gf_set_region_data(gf_region_data *rd,
|
|||
void *src,
|
||||
void *dest,
|
||||
int bytes,
|
||||
uint32_t val,
|
||||
uint64_t val,
|
||||
int xor,
|
||||
int align)
|
||||
{
|
||||
|
|
4
gf_int.h
4
gf_int.h
|
@ -67,7 +67,7 @@ typedef struct {
|
|||
void *src;
|
||||
void *dest;
|
||||
int bytes;
|
||||
uint32_t val;
|
||||
uint64_t val;
|
||||
int xor;
|
||||
int align; /* The number of bytes to which to align. */
|
||||
void *s_start; /* The start and the top of the aligned region. */
|
||||
|
@ -83,7 +83,7 @@ void gf_set_region_data(gf_region_data *rd,
|
|||
void *src,
|
||||
void *dest,
|
||||
int bytes,
|
||||
uint32_t val,
|
||||
uint64_t val,
|
||||
int xor,
|
||||
int align);
|
||||
|
||||
|
|
Loading…
Reference in New Issue