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

Improve _mm_srai_epi32 to handle complex arguments #533

Merged
merged 1 commit into from
Jul 9, 2022

Conversation

Developer-Ecosystem-Engineering
Copy link
Contributor

Complex arguments are not always handled properly by _mm_srai_epi32.

Arguments like below will properly evaluate
input[i] = _mm_srai_epi32(input[i], new_sqrt2_bits - 1 + shift);

This also resolves 5 failing tests

[  FAILED  ] 5 tests, listed below:
[  FAILED  ] TX_ASM/InvTxfm2dAsmTest.sqr_txfm_match_test/0, where GetParam() = (0x102c7b198, 8)
[  FAILED  ] TX_ASM/InvTxfm2dAsmTest.sqr_txfm_match_test/1, where GetParam() = (0x102c7b198, 10)
[  FAILED  ] TX_ASM/InvTxfm2dAsmTest.lowbd_txfm_match_test/0, where GetParam() = (0x102c7b198, 8)
[  FAILED  ] TX_ASM/InvTxfm2dAddTest.svt_av1_inv_txfm_add/0, where GetParam() = (0x102c7d800, 8)
[  FAILED  ] SSE4_1/AV1SelfguidedFilterTest.CorrectnessTest/0, where GetParam() = (0x102cd4f20)

Complex arguments are not always handled properly by _mm_srai_epi32.

Arguments like below will properly evaluate
input[i] = _mm_srai_epi32(input[i], new_sqrt2_bits - 1 + shift);

This also resolves 5 failing tests

[  FAILED  ] 5 tests, listed below:
[  FAILED  ] TX_ASM/InvTxfm2dAsmTest.sqr_txfm_match_test/0, where GetParam() = (0x102c7b198, 8)
[  FAILED  ] TX_ASM/InvTxfm2dAsmTest.sqr_txfm_match_test/1, where GetParam() = (0x102c7b198, 10)
[  FAILED  ] TX_ASM/InvTxfm2dAsmTest.lowbd_txfm_match_test/0, where GetParam() = (0x102c7b198, 8)
[  FAILED  ] TX_ASM/InvTxfm2dAddTest.svt_av1_inv_txfm_add/0, where GetParam() = (0x102c7d800, 8)
[  FAILED  ] SSE4_1/AV1SelfguidedFilterTest.CorrectnessTest/0, where GetParam() = (0x102cd4f20)
@jserv jserv merged commit 1e609ff into DLTcollab:master Jul 9, 2022
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.

None yet

2 participants