Skip to content

Commit

Permalink
disable numeric simd too
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 2, 2024
1 parent f6c7e95 commit ed9b0bc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions crates/jiter/src/number_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ impl IntParse {

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

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

#[cfg(target_arch = "aarch64")]
{
crate::simd_aarch64::decode_int_chunk(data, index)
}
#[cfg(not(target_arch = "aarch64"))]
{
decode_int_chunk_fallback(data, index, 0)
}
// #[cfg(target_arch = "aarch64")]
// {
crate::simd_aarch64::decode_int_chunk(data, index)
// }
// #[cfg(not(target_arch = "aarch64"))]
// {
// decode_int_chunk_fallback(data, index, 0)
// }
}
}

Expand Down

0 comments on commit ed9b0bc

Please sign in to comment.