Skip to content

Rewrite code in BGR2Gray functions so that auto vectorizer does a better job.#14760

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
ChipKerchner:3.4
Jun 9, 2019
Merged

Rewrite code in BGR2Gray functions so that auto vectorizer does a better job.#14760
opencv-pushbot merged 1 commit intoopencv:3.4from
ChipKerchner:3.4

Conversation

@ChipKerchner
Copy link
Copy Markdown
Contributor

@ChipKerchner ChipKerchner commented Jun 7, 2019

This pullrequest changes

The auto vectorizer misses some opportunities on the BGR2Gray functions. Rewriting so that compiler does a better job - 2x speed up on Power8/9, 5% on x64.

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.

Looks good to me 👍

@opencv-pushbot opencv-pushbot merged commit 058367f into opencv:3.4 Jun 9, 2019
opencv-pushbot pushed a commit that referenced this pull request Jun 9, 2019
@ChipKerchner
Copy link
Copy Markdown
Contributor Author

Will this commit be eventually pushed to master or do I have to create another pull request?

@alalek
Copy link
Copy Markdown
Member

alalek commented Jun 10, 2019

It will be propagated into master on this week.

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