crc64_x86.S (302408) | crc64_x86.S (331235) |
---|---|
1/* 2 * Speed-optimized CRC64 using slicing-by-four algorithm 3 * 4 * This uses only i386 instructions, but it is optimized for i686 and later 5 * (including e.g. Pentium II/III/IV, Athlon XP, and Core 2). 6 * 7 * Authors: Igor Pavlov (original CRC32 assembly code) 8 * Lasse Collin (CRC64 adaptation of the modified CRC32 code) --- 268 unchanged lines hidden (view full) --- 277 .size LZMA_CRC64, .-LZMA_CRC64 278#endif 279 280/* 281 * This is needed to support non-executable stack. It's ugly to 282 * use __linux__ here, but I don't know a way to detect when 283 * we are using GNU assembler. 284 */ | 1/* 2 * Speed-optimized CRC64 using slicing-by-four algorithm 3 * 4 * This uses only i386 instructions, but it is optimized for i686 and later 5 * (including e.g. Pentium II/III/IV, Athlon XP, and Core 2). 6 * 7 * Authors: Igor Pavlov (original CRC32 assembly code) 8 * Lasse Collin (CRC64 adaptation of the modified CRC32 code) --- 268 unchanged lines hidden (view full) --- 277 .size LZMA_CRC64, .-LZMA_CRC64 278#endif 279 280/* 281 * This is needed to support non-executable stack. It's ugly to 282 * use __linux__ here, but I don't know a way to detect when 283 * we are using GNU assembler. 284 */ |
285#if defined(__ELF__) && defined(__linux__) | 285#if defined(__ELF__) && (defined(__FreeBSD__) || defined(__linux__)) |
286 .section .note.GNU-stack,"",@progbits 287#endif | 286 .section .note.GNU-stack,"",@progbits 287#endif |