Skip to content

Commit

Permalink
[Bug] Fixed ARM32 compilation (SIMD)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobalicek committed Nov 30, 2023
1 parent df12478 commit 3cef72d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/blend2d/simd/simdarm_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ BL_INLINE_NODEBUG uint8x16_t simd_interleave_hi_u8(const uint8x16_t& a, const ui
uint8x8_t a_high = vget_high_u8(a);
uint8x8_t b_high = vget_high_u8(b);
uint8x8x2_t ab = vzip_u8(a_high, b_high);
return vcombine_u8(ab.va_low[0], ab.va_low[1]);
return vcombine_u8(ab.val[0], ab.val[1]);
#endif
}

Expand All @@ -1040,7 +1040,7 @@ BL_INLINE_NODEBUG uint16x8_t simd_interleave_lo_u16(const uint16x8_t& a, const u
uint16x4_t a_low = vget_low_u16(a);
uint16x4_t b_low = vget_low_u16(b);
uint16x4x2_t ab = vzip_u16(a_low, b_low);
return vcombine_u16(ab.va_low[0], ab.va_low[1]);
return vcombine_u16(ab.val[0], ab.val[1]);
#endif
}

Expand All @@ -1051,7 +1051,7 @@ BL_INLINE_NODEBUG uint16x8_t simd_interleave_hi_u16(const uint16x8_t& a, const u
uint16x4_t a_high = vget_high_u16(a);
uint16x4_t b_high = vget_high_u16(b);
uint16x4x2_t ab = vzip_u16(a_high, b_high);
return vcombine_u16(ab.va_low[0], ab.va_low[1]);
return vcombine_u16(ab.val[0], ab.val[1]);
#endif
}

Expand All @@ -1062,7 +1062,7 @@ BL_INLINE_NODEBUG uint32x4_t simd_interleave_lo_u32(const uint32x4_t& a, const u
uint32x2_t a_low = vget_low_u32(a);
uint32x2_t b_low = vget_low_u32(b);
uint32x2x2_t ab = vzip_u32(a_low, b_low);
return vcombine_u32(ab.va_low[0], ab.va_low[1]);
return vcombine_u32(ab.val[0], ab.val[1]);
#endif
}

Expand All @@ -1073,7 +1073,7 @@ BL_INLINE_NODEBUG uint32x4_t simd_interleave_hi_u32(const uint32x4_t& a, const u
uint32x2_t a_high = vget_high_u32(a);
uint32x2_t b_high = vget_high_u32(b);
uint32x2x2_t ab = vzip_u32(a_high, b_high);
return vcombine_u32(ab.va_low[0], ab.va_low[1]);
return vcombine_u32(ab.val[0], ab.val[1]);
#endif
}

Expand Down Expand Up @@ -1104,7 +1104,7 @@ BL_INLINE_NODEBUG float32x4_t simd_interleave_lo_f32(const float32x4_t& a, const
float32x2_t a_low = vget_low_f32(a);
float32x2_t b_low = vget_low_f32(b);
float32x2x2_t ab = vzip_f32(a_low, b_low);
return vcombine_f32(ab.va_low[0], ab.va_low[1]);
return vcombine_f32(ab.val[0], ab.val[1]);
#endif
}

Expand All @@ -1115,7 +1115,7 @@ BL_INLINE_NODEBUG float32x4_t simd_interleave_hi_f32(const float32x4_t& a, const
float32x2_t a_high = vget_high_f32(a);
float32x2_t b_high = vget_high_f32(b);
float32x2x2_t ab = vzip_f32(a_high, b_high);
return vcombine_f32(ab.va_low[0], ab.va_low[1]);
return vcombine_f32(ab.val[0], ab.val[1]);
#endif
}

Expand Down

0 comments on commit 3cef72d

Please sign in to comment.