fdr/teddy: remove padding from structures

This commit is contained in:
Justin Viiret 2017-06-09 16:28:32 +10:00 committed by Matthew Barr
parent 71bd1c8dfe
commit 2b9b2ca911
2 changed files with 4 additions and 11 deletions

View File

@ -71,18 +71,15 @@ struct FDR {
u32 maxStringLen;
u32 confOffset;
u32 floodOffset;
u8 stride; /* stride - how frequeuntly the data is consulted by the first
u8 stride; /* stride - how frequently the data is consulted by the first
* stage matcher */
u8 domain; /* number of bits used to index into main FDR table. This value
* is used only of debugging/asserts. */
u16 domainMask; /* pre-computed domain mask */
u32 tabSize; /* pre-computed hashtable size in bytes */
u32 pad;
m128 start; /* initial start state to use at offset 0. The state has been set
* up based on the min length of buckets to reduce the need for
* pointless confirms. */
m128 start; /* initial start state to use at offset 0. The state has been
* set up based on the min length of buckets to reduce the need
* for pointless confirms. */
};
/** \brief FDR runtime arguments.

View File

@ -38,10 +38,6 @@ struct Teddy {
u32 maxStringLen;
u32 confOffset;
u32 floodOffset;
u32 link;
u32 pad1;
u32 pad2;
u32 pad3;
};
#endif