#if defined(__64BIT__) || defined(__powerpc64__) || defined(__ppc64__)
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#error archfound powerpc64le
- #else
+ #else
#error archfound powerpc64
#endif
#else
#error archfound rs6000
// RISC-V
-#elif defined(__riscv)
+#elif defined(__riscv)
#if __riscv_xlen == 64
#error archfound riscv64
#elif __riscv_xlen == 32
if(CMD_RESULT)
message(FATAL_ERROR "Run compare failed: ${CMD_RESULT}")
-endif()
\ No newline at end of file
+endif()
endif()
endif()
-cleanup_always()
\ No newline at end of file
+cleanup_always()
COMMAND ${CMAKE_COMMAND}
"-DCOMMAND=${TEST_COMMAND}"
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/run-and-redirect.cmake)
-
/* Find the longest match, discarding those <= prev_length.
* At this point we have always match length < MIN_MATCH
*/
-
if (dist <= MAX_DIST(s) && dist > 0 && hash_head != 0) {
/* To simplify the code, we prevent matches with the string
* of window index 0 (in particular we have to avoid a match
lmask = (1U << state->lenbits) - 1;
dmask = (1U << state->distbits) - 1;
- /* Detect if out and window point to the same memory allocation. In this instance it is
- necessary to use safe chunk copy functions to prevent overwriting the window. If the
+ /* Detect if out and window point to the same memory allocation. In this instance it is
+ necessary to use safe chunk copy functions to prevent overwriting the window. If the
window is overwritten then future matches with far distances will fail to copy correctly. */
extra_safe = (out >= window && out + INFLATE_FAST_MIN_LEFT <= window + wsize);