@@ -25,9 +25,9 @@ use crate::{crc32, crc64};
25
25
#[ inline]
26
26
#[ cfg_attr(
27
27
any( target_arch = "x86" , target_arch = "x86_64" ) ,
28
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
28
+ target_feature( enable = "sse3 ,sse4.1,pclmulqdq" )
29
29
) ]
30
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
30
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
31
31
pub unsafe fn update < T : ArchOps , W : EnhancedCrcWidth > (
32
32
state : W :: Value ,
33
33
bytes : & [ u8 ] ,
78
78
#[ inline]
79
79
#[ cfg_attr(
80
80
any( target_arch = "x86" , target_arch = "x86_64" ) ,
81
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
81
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
82
82
) ]
83
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
83
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
84
84
unsafe fn process_by_strategy < T : ArchOps , W : EnhancedCrcWidth > (
85
85
strategy : DataChunkProcessor ,
86
86
data : & [ u8 ] ,
@@ -114,9 +114,9 @@ where
114
114
#[ inline]
115
115
#[ cfg_attr(
116
116
any( target_arch = "x86" , target_arch = "x86_64" ) ,
117
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
117
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
118
118
) ]
119
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
119
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
120
120
unsafe fn process_large_aligned < T : ArchOps , W : EnhancedCrcWidth > (
121
121
bytes : & [ u8 ] ,
122
122
state : & mut CrcState < T :: Vector > ,
@@ -167,9 +167,9 @@ where
167
167
#[ inline]
168
168
#[ cfg_attr(
169
169
any( target_arch = "x86" , target_arch = "x86_64" ) ,
170
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
170
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
171
171
) ]
172
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
172
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
173
173
unsafe fn process_simd_chunks < T : ArchOps , W : EnhancedCrcWidth > (
174
174
state : & mut CrcState < T :: Vector > ,
175
175
first : & [ T :: Vector ; 8 ] ,
@@ -247,9 +247,9 @@ unsafe fn process_simd_chunks<T: ArchOps, W: EnhancedCrcWidth>(
247
247
#[ inline]
248
248
#[ cfg_attr(
249
249
any( target_arch = "x86" , target_arch = "x86_64" ) ,
250
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
250
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
251
251
) ]
252
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
252
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
253
253
unsafe fn process_exactly_16 < T : ArchOps , W : EnhancedCrcWidth > (
254
254
data : & [ u8 ] ,
255
255
state : & mut CrcState < T :: Vector > ,
@@ -273,9 +273,9 @@ where
273
273
#[ inline]
274
274
#[ cfg_attr(
275
275
any( target_arch = "x86" , target_arch = "x86_64" ) ,
276
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
276
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
277
277
) ]
278
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
278
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
279
279
unsafe fn process_16_byte_block < T : ArchOps > (
280
280
data_ptr : * const u8 ,
281
281
initial_crc : T :: Vector ,
@@ -296,9 +296,9 @@ where
296
296
#[ inline]
297
297
#[ cfg_attr(
298
298
any( target_arch = "x86" , target_arch = "x86_64" ) ,
299
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
299
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
300
300
) ]
301
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
301
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
302
302
pub ( crate ) unsafe fn reflect_bytes < T : ArchOps > (
303
303
reflector : & Reflector < T :: Vector > ,
304
304
data : T :: Vector ,
@@ -317,9 +317,9 @@ where
317
317
#[ inline]
318
318
#[ cfg_attr(
319
319
any( target_arch = "x86" , target_arch = "x86_64" ) ,
320
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
320
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
321
321
) ]
322
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
322
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
323
323
unsafe fn fold_and_xor < T : ArchOps , W : EnhancedCrcWidth > (
324
324
current : T :: Vector ,
325
325
coefficient : T :: Vector ,
@@ -347,9 +347,9 @@ where
347
347
#[ inline]
348
348
#[ cfg_attr(
349
349
any( target_arch = "x86" , target_arch = "x86_64" ) ,
350
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
350
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
351
351
) ]
352
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
352
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
353
353
unsafe fn process_17_to_31 < T : ArchOps , W : EnhancedCrcWidth > (
354
354
data : & [ u8 ] ,
355
355
state : & mut CrcState < T :: Vector > ,
@@ -386,9 +386,9 @@ where
386
386
#[ inline]
387
387
#[ cfg_attr(
388
388
any( target_arch = "x86" , target_arch = "x86_64" ) ,
389
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
389
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
390
390
) ]
391
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
391
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
392
392
unsafe fn process_32_to_255 < T : ArchOps , W : EnhancedCrcWidth > (
393
393
data : & [ u8 ] ,
394
394
state : & mut CrcState < T :: Vector > ,
@@ -448,9 +448,9 @@ where
448
448
#[ inline]
449
449
#[ cfg_attr(
450
450
any( target_arch = "x86" , target_arch = "x86_64" ) ,
451
- target_feature( enable = "sse2 ,sse4.1,pclmulqdq" )
451
+ target_feature( enable = "ssse3 ,sse4.1,pclmulqdq" )
452
452
) ]
453
- #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "neon, aes" ) ) ]
453
+ #[ cfg_attr( target_arch = "aarch64" , target_feature( enable = "aes" ) ) ]
454
454
unsafe fn get_last_two_xmms < T : ArchOps , W : EnhancedCrcWidth > (
455
455
data : & [ u8 ] ,
456
456
remaining_len : usize ,
0 commit comments