| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-std=gnu17 -O3 -w" } */ |
| 3 |
|
| 4 |
long XXH3_len_4to8_64b_len, XXH3_len_0to16_64b___trans_tmp_3, XXH3_mix2Accs_acc, |
| 5 |
XXH3_64bits_internal___trans_tmp_8; |
| 6 |
typedef unsigned long XXH3_hashLong64_f(); |
| 7 |
void *XXH3_64bits_internal_input; |
| 8 |
int XXH3_64bits_internal___trans_tmp_1; |
| 9 |
void XXH3_mul128_fold64(); |
| 10 |
static void XXH3_mergeAccs(unsigned long) { |
| 11 |
for (;;) |
| 12 |
XXH3_mul128_fold64(XXH3_mix2Accs_acc); |
| 13 |
} |
| 14 |
static __attribute__((noinline)) unsigned long |
| 15 |
XXH3_hashLong_64b_default(void *, unsigned long len) { |
| 16 |
XXH3_mergeAccs(len * 7); |
| 17 |
} |
| 18 |
__attribute__((always_inline)) long |
| 19 |
XXH3_64bits_internal(unsigned long len, XXH3_hashLong64_f f_hashLong) { |
| 20 |
if (len <= 16) { |
| 21 |
long keyed = |
| 22 |
XXH3_64bits_internal___trans_tmp_1 ^ XXH3_len_0to16_64b___trans_tmp_3; |
| 23 |
XXH3_mul128_fold64(keyed, XXH3_len_4to8_64b_len); |
| 24 |
return XXH3_64bits_internal___trans_tmp_8; |
| 25 |
} |
| 26 |
f_hashLong(XXH3_64bits_internal_input, len); |
| 27 |
} |
| 28 |
static void XXH_INLINE_XXH3_64bits(unsigned long len) { |
| 29 |
XXH3_64bits_internal(len, XXH3_hashLong_64b_default); |
| 30 |
} |
| 31 |
void __cmplog_rtn_hook() { XXH_INLINE_XXH3_64bits(sizeof(long)); } |