Skip to content

core(SIMD): fix NEON alignmnet issue#16325

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:core_simd_neon_fix_alignment_lut
Jan 16, 2020
Merged

core(SIMD): fix NEON alignmnet issue#16325
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:core_simd_neon_fix_alignment_lut

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Jan 11, 2020

No description provided.

}
inline v_float32x4 v_lut_pairs(const float* tab, const int* idx)
{
typedef uint64 CV_DECL_ALIGNED(1) unaligned_uint64;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few places in the file that use this approach. Maybe it make sense to define this unaligned types outside of specific functions?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe, it is not critical enough for now.
BTW, This one may use CV_DECL_ALIGNED(4) (if code would compile)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. That's really not a big issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug category: core optimization platform: arm ARM boards related issues: RPi, NVIDIA TK/TX, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants