Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ed9b0bc

Browse files
committedDec 2, 2024·
disable numeric simd too
1 parent f6c7e95 commit ed9b0bc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed
 

‎crates/jiter/src/number_decoder.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@ impl IntParse {
255255

256256
#[cfg(feature = "num-bigint")]
257257
{
258-
#[cfg(target_arch = "aarch64")]
259-
// in aarch64 we use a 128 bit registers - 16 bytes
260-
const ONGOING_CHUNK_MULTIPLIER: u64 = 10u64.pow(16);
261-
#[cfg(not(target_arch = "aarch64"))]
258+
// #[cfg(target_arch = "aarch64")]
259+
// // in aarch64 we use a 128 bit registers - 16 bytes
260+
// const ONGOING_CHUNK_MULTIPLIER: u64 = 10u64.pow(16);
261+
// #[cfg(not(target_arch = "aarch64"))]
262262
// decode_int_chunk_fallback - we parse 18 bytes when the number is ongoing
263263
const ONGOING_CHUNK_MULTIPLIER: u64 = 10u64.pow(18);
264264

@@ -328,14 +328,14 @@ impl IntChunk {
328328
fn parse_big(data: &[u8], index: usize) -> (Self, usize) {
329329
// TODO x86_64: use simd
330330

331-
#[cfg(target_arch = "aarch64")]
332-
{
333-
crate::simd_aarch64::decode_int_chunk(data, index)
334-
}
335-
#[cfg(not(target_arch = "aarch64"))]
336-
{
337-
decode_int_chunk_fallback(data, index, 0)
338-
}
331+
// #[cfg(target_arch = "aarch64")]
332+
// {
333+
crate::simd_aarch64::decode_int_chunk(data, index)
334+
// }
335+
// #[cfg(not(target_arch = "aarch64"))]
336+
// {
337+
// decode_int_chunk_fallback(data, index, 0)
338+
// }
339339
}
340340
}
341341

0 commit comments

Comments
 (0)
Please sign in to comment.