Skip to content

Fix issue #15506 - #15511

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
pmur:vmuleo-fix-gcc7
Sep 13, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
pmur:vmuleo-fix-gcc7

Conversation

@pmur

@pmur pmur commented Sep 12, 2019 •

Copy link
Copy Markdown
Contributor

Add redirections for for vec_mul{e,o} prior to GCC8 to support older compilers.

resolves #15506

force_builders=Custom
buildworker:Custom=linux-1,linux-2,linux-4
docker_image:Custom=powerpc64le

ISA 2.07 (aka POWER8) effectively extended the expanding multiply
operation to word types. The altivec intrinsics prior to gcc 8 did
not get the update.

Workaround this deficiency similar to other fixes.

This was exposed by commit 33fb253
which leverages the int -> dword expanding multiply.

This fixes Issue opencv#15506
@pmur

pmur commented Sep 12, 2019

Copy link
Copy Markdown
Contributor Author

I want to wait for all the PPC builders to verify this. I only had GCC 7 readily available to reproduce and test on.

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@pmur Thank you!

@seiko2plus I will merge this hotfix to fix builds. Please continue to work on #15510 approach.

@opencv-pushbot
opencv-pushbot merged commit b465c82 into opencv:3.4 Sep 13, 2019
@alalek alalek mentioned this pull request Sep 13, 2019
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants