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

Fixes for ppc64le unit tests #270

Closed
wants to merge 2 commits into from

Conversation

pablodelara
Copy link
Contributor

@pablodelara pablodelara commented Jan 12, 2024

Some unit tests are currently failing, due to a missing check on the gf_vect_mul function (in ppc64le).
Also, because gf_vect_mul_base is used for encoding, in gf_vect_mul_vsx, which is used in encoding functions like gf_vect_dot_prod_vsx, it must be able to be called for any size. Hence, the implementation is added inside the ppc64le files, without such restriction.

Fixes #263

…lementation

Follows the rest of the gf_vect_mul implementations for other architectures,
and checks for size alignment, stated in the documentation.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
@pablodelara
Copy link
Contributor Author

@gerrith3, could you review this PR, which is fixing the unit tests for PowerPC? Thanks!

gf_vect_mul_base is expected to work for all buffer sizes.
However, this function is checking for size alignment to 32 bytes,
to follow the other gf_vect_mul implementations.
Therefore, another implementation for this function is included
inside ppc64le folder to be used by the encoding functions.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
@pablodelara
Copy link
Contributor Author

Since there are no reviews and we have tested this fix works on a PPC container, this PR is merged.

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.

Error in functional tests for ppc64le
1 participant