22 static const uint32_t BRANCH_TABLE[32] = {
23 0, 0, 0, 0, 0, 0, 0, 0,
24 0, 0, 0, 0, 0, 0, 0, 0,
25 4, 4, 6, 6, 0, 0, 7, 7,
26 4, 4, 0, 0, 4, 4, 0, 0
30 for (
i = 0;
i + 16 <=
size;
i += 16) {
35 for (
size_t slot = 0; slot < 3; ++slot, bit_pos += 41) {
36 if (((
mask >> slot) & 1) == 0)
39 const size_t byte_pos = (bit_pos >> 3);
40 const uint32_t bit_res = bit_pos & 0x7;
43 for (
size_t j = 0; j < 6; ++j)
50 if (((inst_norm >> 37) & 0xF) == 0x5
51 && ((inst_norm >> 9) & 0x7) == 0
55 (inst_norm >> 13) & 0xFFFFF);
56 src |= ((inst_norm >> 36) & 1) << 20;
68 inst_norm &= ~((
uint64_t)(0x8FFFFF) << 13);
76 for (
size_t j = 0; j < 6; j++)
const lzma_allocator * allocator
const lzma_filter * filters
lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
static lzma_ret ia64_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters, bool is_encoder)
static size_t ia64_code(void *simple lzma_attribute((__unused__)), uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size)
lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
#define lzma_attribute(attr)
lzma_ret lzma_simple_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters, size_t(*filter)(void *simple, uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size), size_t simple_size, size_t unfiltered_max, uint32_t alignment, bool is_encoder)
Private definitions for so called simple filters.
Custom functions for memory handling.
Hold data and function pointers of the next filter in the chain.
lzma_ret
Return values used by several functions in liblzma.