]> wimlib.net Git - wimlib/blobdiff - src/xpress-decompress.c
make_huffman_decode_table(): Add SSE2 entry filling (with aliasing handled correctly)
[wimlib] / src / xpress-decompress.c
index bf2faa1a8ec412f7a7781543df2247d7f6b3f5ac..5586c15ce006118a2dade85c0a4f7d45a5d6176c 100644 (file)
@@ -210,7 +210,8 @@ wimlib_xpress_decompress(const void * restrict _compressed_data, unsigned compre
                         void * restrict uncompressed_data, unsigned uncompressed_len)
 {
        u8 lens[XPRESS_NUM_SYMBOLS];
                         void * restrict uncompressed_data, unsigned uncompressed_len)
 {
        u8 lens[XPRESS_NUM_SYMBOLS];
-       u16 decode_table[(1 << XPRESS_TABLEBITS) + 2 * XPRESS_NUM_SYMBOLS];
+       u16 decode_table[(1 << XPRESS_TABLEBITS) + 2 * XPRESS_NUM_SYMBOLS]
+                       _aligned_attribute(DECODE_TABLE_ALIGNMENT);
        struct input_bitstream istream;
        u8 *lens_p;
        const u8 *compressed_data;
        struct input_bitstream istream;
        u8 *lens_p;
        const u8 *compressed_data;