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

there are issues with SIMD, lets fix them! #140

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

dromer
Copy link
Collaborator

@dromer dromer commented Nov 30, 2023

Mainly AVX seems to fail in the tests.

Example backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000555555559909 in __hv_store_f(float*, float __vector(8)) (bOut=0x55555557df50, bIn=...) at ./HvMath.h:64
64      _mm256_store_ps(bOut, bIn);
(gdb) bt
#0  0x0000555555559909 in __hv_store_f(float*, float __vector(8)) (bOut=0x55555557df50, bIn=...) at ./HvMath.h:64
#1  0x00005555555593fc in Heavy_heavy::process (this=0x5555555792c0, inputBuffers=0x0, outputBuffers=0x7fffffffd848, n=480) at Heavy_heavy.cpp:309
#2  0x00005555555599a4 in Heavy_heavy::processInline (this=0x5555555792c0, inputBuffers=0x0, outputBuffers=0x55555557df50, n4=480) at Heavy_heavy.cpp:328
#3  0x00005555555584ae in hv_processInline (c=0x5555555792c0, inputBuffers=0x0, outputBuffers=0x55555557df50, n=480) at HvHeavy.cpp:304
#4  0x000055555555b9d1 in main (argc=5, argv=0x7fffffffda18) at test_signal.c:57

Hopefully in order to fix #139 as well.

@dromer dromer marked this pull request as draft November 30, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Doing
Development

Successfully merging this pull request may close these issues.

Bug: simd of line~ broken
1 participant