| 84 | #endif |
| 85 | |
| 86 | static void sz_dispatch_table_update_implementation_(sz_capability_t caps) { |
| 87 | sz_implementations_t *impl = &sz_dispatch_table; |
| 88 | sz_unused_(caps); //< Unused when compiling on pre-SIMD machines. |
| 89 | |
| 90 | impl->equal = sz_equal_serial; |
| 91 | impl->order = sz_order_serial; |
| 92 | impl->copy = sz_copy_serial; |
| 93 | impl->move = sz_move_serial; |
| 94 | impl->fill = sz_fill_serial; |
| 95 | impl->lookup = sz_lookup_serial; |
| 96 | |
| 97 | impl->bytesum = sz_bytesum_serial; |
| 98 | impl->hash = sz_hash_serial; |
| 99 | impl->hash_state_init = sz_hash_state_init_serial; |
| 100 | impl->hash_state_update = sz_hash_state_update_serial; |
| 101 | impl->hash_state_digest = sz_hash_state_digest_serial; |
| 102 | impl->fill_random = sz_fill_random_serial; |
| 103 | |
| 104 | impl->sha256_state_init = sz_sha256_state_init_serial; |
| 105 | impl->sha256_state_update = sz_sha256_state_update_serial; |
| 106 | impl->sha256_state_digest = sz_sha256_state_digest_serial; |
| 107 | |
| 108 | impl->find = sz_find_serial; |
| 109 | impl->rfind = sz_rfind_serial; |
| 110 | impl->find_byte = sz_find_byte_serial; |
| 111 | impl->rfind_byte = sz_rfind_byte_serial; |
| 112 | impl->find_byteset = sz_find_byteset_serial; |
| 113 | impl->rfind_byteset = sz_rfind_byteset_serial; |
| 114 | |
| 115 | impl->utf8_count = sz_utf8_count_serial; |
| 116 | impl->utf8_find_nth = sz_utf8_find_nth_serial; |
| 117 | impl->utf8_find_newline = sz_utf8_find_newline_serial; |
| 118 | impl->utf8_find_whitespace = sz_utf8_find_whitespace_serial; |
| 119 | impl->utf8_unpack_chunk = sz_utf8_unpack_chunk_serial; |
| 120 | |
| 121 | impl->utf8_case_fold = sz_utf8_case_fold_serial; |
| 122 | impl->utf8_case_insensitive_find = sz_utf8_case_insensitive_find_serial; |
| 123 | |
| 124 | impl->utf8_word_find_boundary = sz_utf8_word_find_boundary_serial; |
| 125 | impl->utf8_word_rfind_boundary = sz_utf8_word_rfind_boundary_serial; |
| 126 | impl->utf8_case_insensitive_order = sz_utf8_case_insensitive_order_serial; |
| 127 | |
| 128 | impl->sequence_argsort = sz_sequence_argsort_serial; |
| 129 | impl->sequence_intersect = sz_sequence_intersect_serial; |
| 130 | impl->pgrams_sort = sz_pgrams_sort_serial; |
| 131 | |
| 132 | #if SZ_USE_WESTMERE |
| 133 | if (caps & sz_cap_westmere_k) { |
| 134 | impl->equal = sz_equal_westmere; |
| 135 | impl->order = sz_order_westmere; |
| 136 | |
| 137 | impl->hash = sz_hash_westmere; |
| 138 | impl->hash_state_init = sz_hash_state_init_westmere; |
| 139 | impl->hash_state_update = sz_hash_state_update_westmere; |
| 140 | impl->hash_state_digest = sz_hash_state_digest_westmere; |
| 141 | impl->fill_random = sz_fill_random_westmere; |
| 142 | |
| 143 | impl->find_byte = sz_find_byte_westmere; |
no outgoing calls
no test coverage detected
searching dependent graphs…