Skip to content

Commit

Permalink
try disabling aarch64 simd
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 2, 2024
1 parent 281e122 commit f6c7e95
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions crates/jiter/src/string_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ pub(crate) fn decode_chunk(
) -> JsonResult<(StringChunk, bool, usize)> {
// TODO x86_64: use simd

#[cfg(target_arch = "aarch64")]
{
crate::simd_aarch64::decode_string_chunk(data, index, ascii_only, allow_partial)
}
#[cfg(not(target_arch = "aarch64"))]
{
StringChunk::decode_fallback(data, index, ascii_only, allow_partial)
}
// #[cfg(target_arch = "aarch64")]
// {
// crate::simd_aarch64::decode_string_chunk(data, index, ascii_only, allow_partial)
// }
// #[cfg(not(target_arch = "aarch64"))]
// {
StringChunk::decode_fallback(data, index, ascii_only, allow_partial)
// }
}

pub(crate) enum StringChunk {
Expand Down

0 comments on commit f6c7e95

Please sign in to comment.