[BMI2] Add comments to the bmi2 variable in the contexts

This commit is contained in:
Nick Terrell 2018-02-20 14:12:11 -08:00
parent b58f01537e
commit 6e128d3534
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ struct ZSTD_CCtx_params_s {
struct ZSTD_CCtx_s {
ZSTD_compressionStage_e stage;
int cParamsChanged; /* == 1 if cParams(except wlog) or compression level are changed in requestedParams. Triggers transmission of new params to ZSTDMT (if available) then reset to 0. */
int bmi2;
int bmi2; /* == 1 if the CPU supports BMI2 and 0 otherwise. CPU support is determined dynamically once per context lifetime. */
ZSTD_CCtx_params requestedParams;
ZSTD_CCtx_params appliedParams;
U32 dictID;

View File

@ -132,7 +132,7 @@ struct ZSTD_DCtx_s
size_t litSize;
size_t rleSize;
size_t staticSize;
int bmi2;
int bmi2; /* == 1 if the CPU supports BMI2 and 0 otherwise. CPU support is determined dynamically once per context lifetime. */
/* streaming */
ZSTD_DDict* ddictLocal;