Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix simd uni instructions for sse41 #149

Open
wants to merge 2 commits into
base: v2.6_for_ie_master
Choose a base branch
from

Conversation

lohika-denis-kotov
Copy link

@lohika-denis-kotov lohika-denis-kotov commented Sep 27, 2022

Description

This PR is fixing issues with sse41 for uni_* operations.
Consider the following example:

uni_vsubps(xmm_y0, xmm_pred_ctr_y, xmm_y0);

, where xmm_y0 = xmm0, xmm_pred_ctr_y = xmm8
Previously this example was converted on sse41 in wrong logical instructions:

movups(xmm0, xmm8);
addps(xmm0, xmm0);

As you can see, last instruction is logically wrong addps(xmm0, xmm0);

openvino PR: openvinotoolkit/openvino#13472

@lohika-denis-kotov lohika-denis-kotov force-pushed the fix/fix_simd_uni_instructions_for_sse41 branch 2 times, most recently from 53fa0a4 to 44325d3 Compare September 27, 2022 14:08
@lohika-denis-kotov
Copy link
Author

lohika-denis-kotov commented Sep 27, 2022

@ceciliapeng2011 @dmitry-gorokhov @maxnick Please, take a look or assign reviewers

@maxnick
Copy link
Collaborator

maxnick commented Oct 13, 2022

@dmitry-gorokhov, could you please take a look?

@lohika-denis-kotov lohika-denis-kotov force-pushed the fix/fix_simd_uni_instructions_for_sse41 branch from 44325d3 to 551d001 Compare October 13, 2022 09:40
@lohika-denis-kotov lohika-denis-kotov force-pushed the fix/fix_simd_uni_instructions_for_sse41 branch from 551d001 to a39dca1 Compare October 13, 2022 10:21
@lohika-denis-kotov lohika-denis-kotov force-pushed the fix/fix_simd_uni_instructions_for_sse41 branch from a39dca1 to b5a919f Compare October 13, 2022 16:46
@lohika-denis-kotov
Copy link
Author

@dmitry-gorokhov @nshchego @chenhu-wang Do you have some comments for this PR ?

@lohika-denis-kotov
Copy link
Author

@dmitry-gorokhov @nshchego @chenhu-wang Do you have additional comments ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants