Skip to content

core(SIMD): fix NEON alignmnet issue - #16325

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

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:core_simd_neon_fix_alignment_lut

Conversation

@alalek

@alalek alalek commented Jan 11, 2020

Copy link
Copy Markdown
Member

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.

@opencv-pushbot
opencv-pushbot merged commit a9f3acb into opencv:3.4 Jan 16, 2020
@alalek alalek mentioned this pull request Jan 22, 2020
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
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