WK_word *input_end,
WK_word *output_buf) {
- register WK_word *input_next = input_buf;
- register WK_word *output_next = output_buf;
- register WK_word packing_mask = TWO_BITS_PACKING_MASK;
+ WK_word *input_next = input_buf;
+ WK_word *output_next = output_buf;
+ WK_word packing_mask = TWO_BITS_PACKING_MASK;
/* loop to repeatedly grab one input word and unpack it into
* 4 output words. This loop could be unrolled a little---it's
* designed to be easy to do that.
*/
while (input_next < input_end) {
- register WK_word temp = input_next[0];
+ WK_word temp = input_next[0];
DEBUG_PRINT_2("Unpacked tags word: %.8x\n", temp);
output_next[0] = temp & packing_mask;
output_next[1] = (temp >> 2) & packing_mask;
WK_word *input_end,
WK_word *output_buf) {
- register WK_word *input_next = input_buf;
- register WK_word *output_next = output_buf;
- register WK_word packing_mask = FOUR_BITS_PACKING_MASK;
+ WK_word *input_next = input_buf;
+ WK_word *output_next = output_buf;
+ WK_word packing_mask = FOUR_BITS_PACKING_MASK;
/* loop to repeatedly grab one input word and unpack it into
* a little---it's designed to be easy to do that.
*/
while (input_next < input_end) {
- register WK_word temp = input_next[0];
+ WK_word temp = input_next[0];
DEBUG_PRINT_2("Unpacked dictionary indices word: %.8x\n", temp);
output_next[0] = temp & packing_mask;
output_next[1] = (temp >> 4) & packing_mask;
WK_word *input_end,
WK_word *output_buf) {
- register WK_word *input_next = input_buf;
- register WK_word *output_next = output_buf;
- register WK_word packing_mask = LOW_BITS_MASK;
+ WK_word *input_next = input_buf;
+ WK_word *output_next = output_buf;
+ WK_word packing_mask = LOW_BITS_MASK;
/* loop to fetch words of input, splitting each into three
* words of output with 10 meaningful low bits. This loop
* probably ought to be unrolled and maybe coiled
*/
while (input_next < input_end) {
- register WK_word temp = input_next[0];
+ WK_word temp = input_next[0];
output_next[0] = temp & packing_mask;
output_next[1] = (temp >> 10) & packing_mask;
#endif
{
- register char *next_tag = (char *) tempTagsArray;
+ char *next_tag = (char *) tempTagsArray;
char *tags_area_end =
((char *) tempTagsArray) + PAGE_SIZE_IN_WORDS;
char *next_q_pos = (char *) tempQPosArray;
WK_word missed_word = *(next_full_word++);
WK_word *dict_location =
(WK_word *)
- (((char *) dictionary) + HASH_TO_DICT_BYTE_OFFSET(missed_word));
+ ((void *) (((char *) dictionary) + HASH_TO_DICT_BYTE_OFFSET(missed_word)));
*dict_location = missed_word;
*next_output = missed_word;
break;