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

SIGILL in neon_transpose8 on ARM 32bit? #66

Open
g40 opened this issue Sep 30, 2017 · 1 comment
Open

SIGILL in neon_transpose8 on ARM 32bit? #66

g40 opened this issue Sep 30, 2017 · 1 comment

Comments

@g40
Copy link

g40 commented Sep 30, 2017

Attempting to run a 512x512 2D test on a 32 bit ARM7 (AllWinner H3). The 1D transforms appear to work correctly.

Sadly I am no ARM assembler expert. Looking up the stack here: https://github.com/anthonix/ffts/blob/master/src/ffts_transpose.c#L48, there is something that looks like it should be used for 32 bit code but is commented out. (neon_transpose4(in, out, w, h);)

Any thoughts. Anyone else working on ARM32?

The vanila C implementation in ffts_transpose.c does work as a fallback

0x000214a6 in neon_transpose8 () at src/neon.s:686
686       vpush   {q4-q7}
(gdb) where
#0  0x000214a6 in neon_transpose8 () at src/neon.s:686
#1  0x0001eaf6 in ffts_transpose (in=0xb6bed020, out=0xb6c6e020, w=256, h=256)
    at src/ffts_transpose.c:54
#2  0x000199c2 in ffts_execute_nd (p=0x35008, in=0xb6cef020, out=0xb6c6e020)
    at src/ffts_nd.c:96
#3  0x00018226 in ffts_execute (p=0x35008, in=0xb6cef020, out=0xb6c6e020)
    at src/ffts.c:221
#4  0x00011f2c in try_2d (dimensions=65536) at basicfft.cpp:417
#5  0x0001206c in main (argc=1, argv=0xbefff7c4) at basicfft.cpp:447
@vdgs
Copy link

vdgs commented Apr 21, 2021

@g40 Did you solve it ?

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

No branches or pull requests

2 participants