Skip to content

Fix issue #15506#15511

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

Fix issue #15506#15511
opencv-pushbot merged 1 commit intoopencv:3.4from
pmur:vmuleo-fix-gcc7

Conversation

@pmur
Copy link
Copy Markdown
Contributor

@pmur pmur commented Sep 12, 2019

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
Copy link
Copy Markdown
Contributor Author

pmur commented Sep 12, 2019

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

Copy link
Copy Markdown
Member

@alalek alalek left a comment

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.

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