| 1 | /* insert_string_acle.c -- insert_string variant using ACLE's CRC instructions |
| 2 | * |
| 3 | * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler |
| 4 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifdef ARM_ACLE_CRC_HASH |
| 9 | #ifndef _MSC_VER |
| 10 | # include <arm_acle.h> |
| 11 | #endif |
| 12 | #include "../../zbuild.h" |
| 13 | #include "../../deflate.h" |
| 14 | |
| 15 | #define UPDATE_HASH(s, h, val) \ |
| 16 | h = __crc32w(0, val) |
| 17 | |
| 18 | #define INSERT_STRING insert_string_acle |
| 19 | #define QUICK_INSERT_STRING quick_insert_string_acle |
| 20 | |
| 21 | #include "../../insert_string_tpl.h" |
| 22 | #endif |
| 23 | |